ACPI on ASUS M6N (M6800N)

Phillip Neumann <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <1086372749.768.3.camel@book>
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
[email protected]

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.