RE: ACPI battery issue - Dell Inspiron 4150 - 2.6.1-rc1-mm2

Yu, Luming
2004-01-13T03:31:13Z

> > # cp /proc/acpi/dsdt /tmp/dsdt.dat
> > # iasl -d dsdt.dat
>
> OK, after hunting down iasl, I've attached the output from
> it. Hopefully
> you can figure out where the "unknown"s come from:
>
> [~]2 cat /proc/acpi/battery/BAT1/state
> present: yes
> capacity state: ok
> charging state: unknown

Hmm, according to ACPI spec 2.0b 11.2.2.2 _BST ,
the charging bit and the discharging bit are mutually
exclusive and must not both set at the same time.

Currently ACPI coulde will return unknown if _BST
return value break above rule.

Could you verify whether this is a BIOS bug that
just as AML method expected, return wrong value,
Or acpi interpreter mis-executed AML code.

> present rate: unknown

ACPI spec defined 0xFFFFFFFF as Unknown rate.
So it seems to be reasonable to display "unknown".
If you suspect this is issue, you can just verify it
from _BST method.

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html