smartbattery support

Pedro Venda
2004-10-05T21:00:29Z

hi everyone,

i decided to change the subject so that the thread could more easily be
followed by others.

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.

i feel that the i2c approach would be much more productive. now i have
some doubts...

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.
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?

enough questions for now.

again, don't take me wrong. it is possible that i am thinking in a
totally wrong direction.

regards,
pedro venda.