https://bugzilla.kernel.org/show_bug.cgi?id=24002
Summary: No battery status in /proc/acpi Product: ACPI Version: 2.5 Kernel Version: 2.6.36 Platform: All OS/Version: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Power-Battery AssignedTo: acpi_power-batt...@kernel-bugs.osdl.org ReportedBy: d...@acad.umass.edu Regression: No Created an attachment (id=38512) --> (https://bugzilla.kernel.org/attachment.cgi?id=38512) boot.msg Forgive me if this has been addressed. I am not finding any current solutions to the problem. On a generic laptop with a MS-171F motherboard, BAT1 is detected on boot: <6>[ 7.147120] ACPI: Battery Slot [BAT1] (battery present) <6>[ 7.161354] ACPI: AC Adapter [ADP1] (on-line) but /proc/acpi/battery/info and proc/acpi/battery/state have no data: cat /proc/acpi/battery/BAT1/state cat: /proc/acpi/battery/BAT1/state: No such device ACPI logs the following to /var/log/messages every few minutes: Nov 28 09:55:32 xxx kernel: [840329.315595] ACPI Exception: AE_BAD_PARAMETER, Returned by Handler for [EmbeddedControl] (201007\ 02/evregion-474) Nov 28 09:55:32 xxx kernel: [840329.315605] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SBRG.EC__.BAT1\ .UPBI] (Node ffff88011bafc268), AE_BAD_PARAMETER Nov 28 09:55:32 xxx kernel: [840329.315616] ACPI Error (psparse-0537): Method parse/execution failed [\_SB_.PCI0.SBRG.EC__.BAT1\ ._BIF] (Node ffff88011bafc308), AE_BAD_PARAMETER Nov 28 09:55:32 xxx kernel: [840329.315626] ACPI Exception: AE_BAD_PARAMETER, Evaluating _BIF (20100702/battery-404) There is only one battery in the laptop and the kernel finds it as BAT1 not BAT0. The battery works fine and, in the past, linux has correctly detected the status. I have not been able to successfully build older kernels older than 2.6.34 with OpenSuse 11.3 (too hard to untangle whatever the distribution is doing), but I know that the problems existed with with OpenSuse 11.1 (2.6.27 kernel), went away with 11.2 (2.6.31 kernel), and are back with 11.3 (2.6.34 and later kernels). The battery works fine but obviously there is no graceful shut down when it runs down since there is no report of battery power in /proc/acpi -- Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla