Re: smartbattery support

Christian Axelsson
2004-10-05T21:54:17Z

Pedro Venda wrote:
> i read some things also, but i disagree with christian. i think that
> smbus patch is not the way to go. don't get me wrong! i'm also just
> scratching the surface. for what i read, those patches put smbus bios
> support into the kernel.

yep

> 1. is this a "sensor" i2c driver? i mean, should we find help with the
> lmsensors team? there are some debugging tools for i2c developed by the
> lm-sensors people (i guess). this document
> (http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/doc/chips/SUMMARY)
> refers some smartbattery support, but i don't think it solves our problem.

I cant get the detect-thingies to see any i2c-bus and Im not aware of
any sensorchip in my laptop (but I would be happy to be proven wrong).

> 2. what exactly should the i2c driver do? should it just know the
> smartbattery address and ask generic questions made by userland
> programs? or should it do all the work and retrive charge rates and
> capacity information and such?

I think it should publish as much generic info (info thats avaible on
all smartbatteries) as possible into sysfs.

--
Regards,
Christian