Re: Test for broadcasts from SMBUS/I2C devices?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Phil Reid <preid@xxxxxxxxxxxxxxxxx>:
> >We don't actually have a target battery chosen yet.  We're looking for
> >one that can carry a 300W load for 15 minutes, has an inboard
> >charger, supports SBS-1.1 and is *not* lithium-ion, because explosion
> >hazards suck.
> >
> >We've had our eye on LiFePO but haven't found a COTS battery pack with
> >all these features together. Suggestions welcomed.
> >
> Not looked at the device to closely. But I think you'll need a i2c controller running
> as a slave to listen to those broadcast alarm messages.
> Switch modes is possible on some i2c host controllers / some not.
> 
> Unless it uses something like SMBus Host notify protocol which some controllers support.
> Which I couldn't see a mention of.
> 
> Otherwise your back to polling. Which would be more compliant with a wider range of
>  SBS compliant batteries.

Sounds to me like polling the nodes under /sys/class/power_supply is the way to go.

Thanks, you were very helpful.
-- 
		<a href="http://www.catb.org/~esr/";>Eric S. Raymond</a>

My work is funded by the Internet Civil Engineering Institute: https://icei.org
Please visit their site and donate: the civilization you save might be your own.





[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux