View previous topic :: View next topic |
Author |
Message |
cfgauss l33t
Joined: 18 May 2005 Posts: 726 Location: USA
|
Posted: Fri Mar 17, 2006 3:15 pm Post subject: ACPI won't read battery |
|
|
I have an Acer Aspire 5004WLMi laptop and I can't get ACPI to read the battery. Here's what ACPI is compiled into the kernel:
Code: | # grep -i acpi .config
CONFIG_X86_64_ACPI_NUMA=y
# ACPI (Advanced Configuration and Power Interface) Support
CONFIG_ACPI=y
CONFIG_ACPI_SLEEP=y
CONFIG_ACPI_SLEEP_PROC_FS=y
CONFIG_ACPI_SLEEP_PROC_SLEEP=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
# CONFIG_ACPI_VIDEO is not set
CONFIG_ACPI_HOTKEY=m
CONFIG_ACPI_FAN=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
CONFIG_ACPI_THERMAL=y
CONFIG_ACPI_NUMA=y
# CONFIG_ACPI_ASUS is not set
# CONFIG_ACPI_IBM is not set
CONFIG_ACPI_TOSHIBA=y
CONFIG_ACPI_BLACKLIST_YEAR=2001
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_EC=y
CONFIG_ACPI_POWER=y
CONFIG_ACPI_SYSTEM=y
CONFIG_ACPI_CONTAINER=y
CONFIG_X86_POWERNOW_K8_ACPI=y
CONFIG_X86_ACPI_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ_PROC_INTF=y
# CONFIG_SERIAL_8250_ACPI is not set
|
Immediately after booting, dmesg shows a problem:
Code: | # dmesg | grep -i acpi
...
ACPI: Subsystem revision 20050902
ACPI-0339: *** Error: Looking up [Z007] in namespace, AE_NOT_FOUND
...
ACPI: Battery Slot [BAT1] (battery absent)
...
|
Since I booted with the ac adapter connected the "battery absent" message might be OK. When I try to look at the battery's status, ACPI produces another error:
Code: | # cat /proc/acpi/battery/BAT1/state
present: yes
ERROR: Unable to read battery status
# dmesg
...
ACPI-0339: *** Error: Looking up [Z007] in namespace, AE_NOT_FOUND
search_node ffff81003be95440 start_node ffff81003be95440 return_node 0000000000000000
ACPI-0508: *** Error: Method execution failed [\_SB_.BAT1._BST] (Node ffff81003be95240), AE_NOT_FOUND
|
I assume this means that ACPI doesn't work with my BIOS. If not, can I get APM working? I installed apmd but get the following error:
Code: | # /etc/init.d/apmd start
* APM support has not been compiled into the kernel
|
I can't find what I should compile for APM support. I can only find support for ACPI in 2.6.15-r7.
Is my ACPI hopeless? Is there a way to substitute APM? Thanks for any suggestions. |
|
Back to top |
|
|
otake-tux n00b
Joined: 08 Nov 2005 Posts: 21
|
Posted: Sat Mar 18, 2006 4:57 am Post subject: |
|
|
I have the exact same laptop with the exact same problem. Ubuntu cant read the battery either. If I find out anything I will let you know. I'm trying.
Did you get the wireless working? |
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 726 Location: USA
|
Posted: Sat Mar 18, 2006 5:20 am Post subject: |
|
|
otake-tux wrote: |
Did you get the wireless working? |
Yes. First, Gentoo installed ndsiwrapper. Then I read the card list at the ndiswrapper Wiki and found the same lspci as the Acer's Broadcom card. One of them led to a Windows 64-bit driver which worked.
I hope this helps. |
|
Back to top |
|
|
otake-tux n00b
Joined: 08 Nov 2005 Posts: 21
|
|
Back to top |
|
|
cfgauss l33t
Joined: 18 May 2005 Posts: 726 Location: USA
|
Posted: Sat Mar 18, 2006 3:19 pm Post subject: |
|
|
And this post appears to be a very complete guide on how to fix ACPI under Linux. |
|
Back to top |
|
|
otake-tux n00b
Joined: 08 Nov 2005 Posts: 21
|
Posted: Mon Mar 20, 2006 9:44 pm Post subject: |
|
|
Tried that dsdt thing. My dsdt has errors, 8 to be exact. Someone allready fixed it so I downloaded his from sourceforge. I followed all the steps in the guide and chose the initrd method at the end. This produced a kernel panic. I'm just about ready to give up on this. Please let me know if you have success. |
|
Back to top |
|
|
otake-tux n00b
Joined: 08 Nov 2005 Posts: 21
|
Posted: Tue Mar 21, 2006 2:18 am Post subject: |
|
|
Tried it again. Got no kernel panic but it did not solve anything. Back to square 0. |
|
Back to top |
|
|
Pithlit l33t
Joined: 27 Dec 2003 Posts: 887 Location: fuhen
|
Posted: Tue Mar 21, 2006 5:04 pm Post subject: |
|
|
Compile the dsdt table into the kernel. Why bother with some alternative hacks when you can just include the thing? Code: | $ cat /usr/src/linux/.config | grep DSDT
CONFIG_ACPI_CUSTOM_DSDT=y
CONFIG_ACPI_CUSTOM_DSDT_FILE="/usr/src/linux-2.6.15-gentoo-r1/include/acpi/dsdt_table.h" |
Follow the guide to find out how. *edit* teh wiki _________________ If someone solves a problem for you say thanks... and put [SOLVED] in the title! |
|
Back to top |
|
|
|