Comment 17 for bug 233920

Revision history for this message
Damjan Georgievski (gdamjan) wrote :

> First time i close the LID, notebook go to sleep and wake up on open lid.
> After that, nothing happen if i close again the LID.

This looks to me as a [the] problem with the kernels "button" ACPI driver. If not reloaded on suspend/resume it will stop emiting events.

I always "rmmod button" on suspend, and then "modprobe button" after resume.

If this is really the issue can be confirmed by:
 - booting in single user mode
 - cat /proc/acpi/event
 - close/open the lid, event's should show up
 - suspend (echo mem > /sys/power/state)
 - resume (press the power button)
 - cat /proc/acpi/event is still running, if not, run it again.
 - close/open the lid, event's will not show up