← Back to team overview

registry team mailing list archive

[Bug 33072] Re: Pulling AC plug suspends computer

 

Launchpad has imported 3 comments from the remote bug at
http://bugs.freedesktop.org/show_bug.cgi?id=6542.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2006-04-10T00:01:30+00:00 Lowe-brown wrote:

After a fresh hald start, acpi and hal agree on the lid state of my
laptop

[root@trillian lowe]# lshal -l | grep button.state
  button.state.value = false  (bool)
[root@trillian lowe]# cat /proc/acpi/button/lid/LID/state
state:      open

However, after hibernating (by closing the lid) and resuming, they disagree
[root@trillian lowe]# lshal -l | grep button.state
  button.state.value = true  (bool)
[root@trillian lowe]# cat /proc/acpi/button/lid/LID/state
state:      open

I am using hal version 0.5.7 plus the patch for hal-system-power-hibernate that
rescans the button on resume. So rescanning isn't setting the correct state.

Restarting hald on resume returns the values to normal.

This is related to gnome-power-manager bug
http://bugzilla.gnome.org/show_bug.cgi?id=334220

Reply at: https://bugs.launchpad.net/hal/+bug/33072/comments/20

------------------------------------------------------------------------
On 2006-04-17T17:52:34+00:00 Thomas M Steenholdt wrote:

I'm seing the exact same thing on my system and I know of a few other systems
that are hit by this bug as well (i don't know of any system that's not).

3rd party tools, like gnome-power-manager, that relies on this information from
hal can't help making bad decicions. So, whenever i unplug AC from my laptop to
move to another desk, my system is suspended because it thinks the lid is shut.

Reply at: https://bugs.launchpad.net/hal/+bug/33072/comments/23

------------------------------------------------------------------------
On 2006-06-05T03:21:27+00:00 Richard Hughes wrote:

2006-04-24  Richard Hughes <richard@xxxxxxxxxxx>

	* tools/hal-system-power-hibernate, tools/hal-system-power-suspend:
	Add --print-reply to dbus-send else the Rescan does not work.
	This should fix a whole load of bugs related to ACPI values on resume.

Reply at: https://bugs.launchpad.net/hal/+bug/33072/comments/36


** Changed in: hal
   Importance: Unknown => High

** Bug watch added: GNOME Bug Tracker #334220
   https://bugzilla.gnome.org/show_bug.cgi?id=334220

-- 
Pulling AC plug suspends computer
https://bugs.launchpad.net/bugs/33072
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Fedora.