http://bugzilla.kernel.org/show_bug.cgi?id=13091
Summary: No ac_adapter ACAD events on AC plug-in on HP dv6xxx Product: ACPI Version: 2.5 Kernel Version: 2.6.29.1 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: seven.iss...@gmail.com Regression: No Created an attachment (id=20999) --> (http://bugzilla.kernel.org/attachment.cgi?id=20999) dmesg output Distribution: ArchLinux Hardware Environment: HP dv6540el (BIOS vers.: F.09) Summary: Hal/DeviceKit cannot recognize AC/DC unplugging due to *not* generated ACPI event. This implies battery is always reported on-charge and, for example, gnome-power-manager does not start updating statistics as remaining charge. When AC adapter is plugged, it's correctly reported on /sys and /proc: $ cat /sys/class/power_supply/ACAD/online 1 $ cat /proc/acpi/ac_adapter/ACAD/state state: on-line $ cat /sys/firmware/acpi/interrupts/gpe17 4280 enabled On unpluggin' just ACPI battery event is generated: $ acpi_listen battery BAT0 00000080 00000001 So Hal/DeviceKit could not recognize AC adapter unplug event and do not update AC state. AC is still reported online (by Hal/DevKit) even if /sys and /proc are coherent to hardware: $ cat /sys/class/power_supply/ACAD/online 0 $ cat /proc/acpi/ac_adapter/ACAD/state state: off-line $ cat /sys/firmware/acpi/interrupts/gpe17 4365 enabled Plugging-in AC adapter again, various ACPI events are generated, among them ac_adapter ACAD one: $ acpi_listen battery BAT0 00000081 00000001 ac_adapter ACAD 00000080 00000001 battery BAT0 00000080 00000001 battery BAT0 00000080 00000001 So Hal/DeviceKit can recognize plug event, only. -- Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ acpi-bugzilla mailing list acpi-bugzilla@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla