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:
- Set the power supply's Vout to 19V
- Set the power supply's current limit to ~ 500 mA (assuming you've set the BQ24725 current output to 256 mA, which is what we did earlier)
- You may have to turn on the BQ3060 if it's gone into power off since the batteries may have discharged to death - temporarily short 4P to Pack + to do that. Also, check the each of the battery voltages on the pack.