Bug 286129

Summary: Lid close not detected after resume
Product: [openSUSE] openSUSE 10.3 Reporter: James Ogley <riggwelter>
Component: Mobile DevicesAssignee: Holger Macht <hmacht>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Alpha 5   
Target Milestone: ---   
Hardware: i686   
OS: openSUSE 10.3   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: output of lshal

Description James Ogley 2007-06-20 21:23:10 UTC
The first time I close the lid of my laptop (Asus A6J) after booting, it detects it and suspends to disk like I want it to.

Subsequently, when I close the lid, nothing happens other than the following being written to /var/log/messages:

Jun 20 22:16:17 riggwelter powersaved[3692]: ERROR (handleHWEventRequest:202) Could not determine lid state
Comment 1 Holger Macht 2007-06-21 15:23:22 UTC
Ok, after having suspended the first time (with the lid close action), please attach lshal output. Thanks.
Comment 2 James Ogley 2007-06-21 20:56:36 UTC
Created attachment 147769 [details]
output of lshal
Comment 3 Holger Macht 2007-06-22 08:49:23 UTC
lshal says:

udi = '/org/freedesktop/Hal/devices/computer_logicaldev_input_0'
  button.has_state = true  (bool)
  button.state.value = true  (bool)
  button.type = 'lid'  (string)

So the system still thinks that the lid is closed.

James, can you also please give us the output of 'cat /proc/acpi/button/lid/*/state'?

Danny, any idea?
Comment 4 James Ogley 2007-06-22 11:47:44 UTC
ogley@riggwelter2:~> cat /proc/acpi/button/lid/*/state
state:      open
Comment 5 Holger Macht 2007-07-13 11:49:00 UTC

*** This bug has been marked as a duplicate of bug 288755 ***