https://bugzilla.novell.com/show_bug.cgi?id=682173 https://bugzilla.novell.com/show_bug.cgi?id=682173#c0 Summary: HAL does not update the AC adapter state Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: lashkevi@landau.ac.ru QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=421061) --> (http://bugzilla.novell.com/attachment.cgi?id=421061) A workaround of the bug User-Agent: Mozilla/5.0 (X11; Linux i686; rv:2.0b12) Gecko/20110222 Firefox/4.0b12 The HAL does not update the AC adapter state leading to no reaction to plugging/unplugging the AC adapter, though the contents of the files "/proc/acpi/ac_adapter/ADP0/state" and "/sys/class/power_supply/ADP0" changes properly. As a workaround I start the attached script, which check the adapter state every 3 seconds and update the HAL variables, in the "boot.local" file. My computer: Toshiba Satellite L300-11E. The bug started from OpenSUSE 10.3 and still persistent in 11.4. By the way, I use KDE 3.5, though it has nothing to do with PowerDevil etc. It indeed the HAL problem, which is checked by means of "lshal". Reproducible: Always Steps to Reproduce: 1. Turn on the computer with battery inserted. 2. Plug/Unplug the AC connector and see that neither the active scheme nor the adapter state information changes. 3. Check the contents of the files "/proc/acpi/ac_adapter/ADP0/state" and "/sys/class/power_supply/ADP0" and make sure that they are updated properly. 4. Check the "udi = '/org/freedesktop/Hal/devices/computer_power_supply_ac_adapter_ADP0'" by means of "lshal" and make sure that the value of the variable " ac_adapter.present" does not change. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.