Phil Reid <preid@xxxxxxxxxxxxxxxxx>: > You should probably be using the sbs-battery driver for interfacing to the chip. I was not aware there is already a dedicated driver. That will simplify my task a lot. > I believe those message are only relevant to a sbs charger. The one I'm really concerned about is the remaining-capacity alarm. That, of cource, may be presented even if there's an inboard charger. Is there by any chance an alarm node in syfs that a read will block on until one of these alarms is raised? I'm writing in Go, so using that would be trivial exercise. (I'd RTFM, but searches are not revealing any...) > Do you have a sbs compliant charger interfacing to this device? I don't have a physical device at all yet. I'm *expecting* to interface to a smart battery supporting an inboard charger, with a four-wire interface consisting of DC in/out and an SMBUS pair. The backstory is some friends and I are attempting to design an open-source/open-hardware UPS because we're deeply unhappy with what the incumbent vendors are pushing. We already have a logical design for the high-power plane; it comes down to the one BMS interface, five sensors, and four relays or triacs. The EE on our team is starting on a breadboard implementation now. Presently I'm writing code that can mock all those BMS and sensor readings from a synthetic logfile so I can verify the control software that I''ll write next. The goal is to have the transaction logic all tested when the breadboard version is complete. 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. -- <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.