wiki/ news/ 2012-03-06 - Using Linux 3.3-rc sbs-battery driver on the new FC

First, find the right I2C bus. Look for "SMBus I801 adapter at 0400":

head -v /sys/bus/i2c/devices/i2c-*/name

On the kernel Josh built, which is loading the i915 driver, the bus we want is i2c-14.

Then we can tell the kernel where the SBS battery chip is, from userspace:

echo sbs-battery 0xb > /sys/bus/i2c/devices/i2c-14/new_device

(We'll want to turn the above two steps into a udev rule to ensure we always configure it on the right bus.)

And, if the bus hasn't gotten physically disconnected (which only happened once) and the BQ3060 will actually power itself and talk to us (more on that below), then the driver appears to work!

If you're trying to hook this thing up so it actually works (!) you should: