Hello, On Oct 23, 2008, at 3:35 AM, Aymeric Vincent wrote:
Module Name: src Committed By: aymeric Date: Thu Oct 23 07:35:46 UTC 2008 Modified Files: src/sys/arch/macppc/dev: battery.c Log Message: pass the right sensor types so that the kernel doesn't panic() on my iBook G3 To generate a diff of this commit: cvs rdiff -r1.10 -r1.11 src/sys/arch/macppc/dev/battery.c
This is wrong. With legacy batteries we can't give a charge in Ah but a percentage, that's why the sensors had type integer. Also, no iBook should use this driver, they should all have smart batteries ( or does yours indeed have a legacy one? With ohare PMU? IIRC they were more or less based on 2nd generation G3 PowerBooks. )
have fun Michael