Re: Re: first shoot for smartbattery
From: Mathias Weyland <hidden>
Date: 2005-01-03 14:55:24
Bruno Ducrot wrote:
I think I found was wrong. Please refetch, or (at your option) replace i2c-acpi-ec.ec with http://www.poupinou.org/acpi/smartbatt/smartbatt/i2c-acpi-ec/i2c-acpi-ec.c then redo the sh compile.sh Sorry, it was a stupid bug(tm) requiring that I buy a brown bag...
Ok, I don't understand the joke with the brown bag, but.... wooohoo! It looks like something is working! Wich ac plugged in: corcovado:/usr/src/smartbatt# ./smartbattery 1 current: 0 mA remain: 2027 mA or mWh time to empty: 65535 minutes time to full: 65535 minutes temperature: 28.7 C voltage: 16767 mV And after I plugged it out: corcovado:/usr/src/smartbatt# ./smartbattery 1 current: 64499 mA remain: 2026 mA or mWh time to empty: 117 minutes time to full: 117 minutes temperature: 28.7 C voltage: 16428 mV You definitley are my hero! Thank you very much. I'll instantly call my girlfriend.
Something wrong also with rmmod i2c-acpi-ec :( so you have to reboot in order to be able to 'insmod i2c-acpi-ec.ko' again (I'm sure the brown bag will still be helpfull also...).
Well yes, and when I run smartbattery several times, I don't always get exactley the same values: corcovado:/usr/src/smartbatt# ./smartbattery 1 current: 64108 mA remain: 1885 mA or mWh time to empty: 79 minutes time to full: 79 minutes temperature: 30.1 C voltage: 15950 mV corcovado:/usr/src/smartbatt# ./smartbattery 1 current: 64159 mA remain: 1885 mA or mWh time to empty: 82 minutes time to full: 82 minutes temperature: 30.1 C voltage: 15926 mV And it would be nice if that could be read through a /sys file. I think it's time for me to contribute something: I'll fix the 65535 error and try to make the information available through a /sys interface. Thank you very very much for all the work you made. Best Regards Mathias ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt