ACPI on ASUS M6N (M6800N)

Phillip Neumann phillip at chile.com
Fri Jun 4 22:14:05 GMT 2004


Hello.

Im trying to make ACPI work, more specifically i need to know what is
the battery status.

in the man of apm i can read this:
"    -l      Display the remaining battery percentage.  If your laptop
does not support this function, 255 is displayed.
"

thats exactly what i get...

hw.acpi reports the battery as -1.


in the console, i get the folowing messages:


kernel: SearchNode 0xc6942de0 StartNode 0xc6942de0
ReturnNode 0
kernel: ACPI-1287: *** Error: Method execution
failed [\_SB_.ECAV] (Node 0xc6942de0), AE_NOT_FOUND
kernel: ACPI-1287: *** Error: Method execution
failed [\_SB_.BATS] (Node 0xc6942da0), AE_NOT_FOUND
kernel: ACPI-1287: *** Error: Method execution
failed [\_SB_.BAT0._STA] (Node 0xc6947180), AE_NOT_FOUND



how do i fix this?


ive try to play with the dsdt table, but im quite lost...


ive acpidump the table and change "Windows" to "FreeBSD".
then, when i try to compile the asl with iasl, i get a bunch of errors.
example:
your.asl  2807:                                 \_SB.PCI0.SBRG.EC0.STC5
(0x20)
Error    1022 -                                 Object does not exist ^ 
(\_SB.PCI0.SBRG.EC0.STC5)
.
.
.
.
.
ASL Input:  your.asl - 5431 lines, 180177 bytes, 2026 keywords
Compilation complete. 173 Errors, 0 Warnings, 0 Remarks, 509
Optimizations


this means the the dsdt table is quite broken isnit?


anyway, ive compile it, and make freebsd use it at boot time (to see
what happends..).
i get this (on boot):

ACPI: DSDT was overridden.
    ACPI-0375: *** Info: Table [DSDT] replaced by host OS
    ACPI-0354: *** Error: Looking up [SMBS] in namespace,
AE_ALREADY_EXISTS
    ACPI-1287: *** Error: , AE_ALREADY_EXISTS
    ACPI-0204: *** Error: AcpiLoadTables: Could not load namespace:
AE_ALREADY_EXISTS
    ACPI-0213: *** Error: AcpiLoadTables: Could not load tables:
AE_ALREADY_EXISTS
ACPI: table load failed: AE_ALREADY_EXISTS



any comments are welcome...


thanks in advance,
-- 

------------------------
Phillip Neumann
phillip at chile.com



More information about the freebsd-mobile mailing list