BAT1/state shows wrong capacity and THRM/temperature is wrong too
Hello
I have a strange ACPI proglem.
I own a Gericom SilverSeraph laptop on which I run a self-modified Debian 3.0 and kernel 2.6.10.
When I do a
cat /proc/acpi/battery/BAT1/state
I always get a battery state of 51% (if you calculate it). After cat'ing the file 4 times, the values is correct on from the 5th cat.
Even stranger, a
cat /proc/acpi/thermal_zone/THRM/temperature
after a reboot tells me a temperature of 45 C. It always says 45 C. But if I cat the battery state 5 times of more (which makes the battery output correct), the temperature value is correct too.
The problem shows up in WinXP (I use a dual boot config) too. If i open the battery-dialog immediately after bootup, I can see the status bar showing a capacity of 51%. The difference to Linux is, that Win seems to query the battery status in regular time intervals which causes the battery status to show correct values after a few seconds. I don't know how to verify the temp-problem in Win.
I should mention, that early 2.6 kernels didn't show this "cat me five time" beahviour, I don't know why. I should mention too that some 2.6 kernel version warned me about a buggy ACPI implemention (... please nag you manufacturer to correct it ...; I don't remember accurately) which seems to have gone away with later kernels (Don't ask with which, I can't remember.).
Because of this facts I think it might be a hardware/ACPI implemention problem.
Should it be blacklisted?
Should a workaround be made (query the batt stat some times kernel-internally on bootup)?
If you need more information, please let me know.
Hope this helps you (and maybe me).
BTW: Please CC me, as I'm not in the list.
Wiesner
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click