Comment 8 for bug 20218

Revision history for this message
Miles Lane (miles-lane) wrote :

First off, Jeremy, your system sounds like it is waking up when you open the lid. You just need to enter your password for the screensaver so that you can see your desktop again.

But, back to the topic of getting resume to work on these machines:
I have a HP dv1240us. When I boot, my /proc/acpi/wakeup shows
that everything is disabled. However, if I run:

  469 echo PSM1 >/proc/acpi/wakeup
  470 echo USB0 >/proc/acpi/wakeup
  471 echo USB1 >/proc/acpi/wakeup
  472 echo USB2 >/proc/acpi/wakeup
  473 echo USB7 >/proc/acpi/wakeup

Then, I get:

# cat /proc/acpi/wakeup
Device Sleep state Status
PCIB 5 disabled
 LAN 5 disabled
PS2K 3 enabled
PSM1 3 enabled
USB0 3 enabled
USB1 3 enabled
USB2 3 enabled
USB7 3 enabled

This is what I would like to see us have set by default (without me having to poke value changes into /proc/acpi/wakeup.
Can we have some changes to the initscripts so this works right?

Thanks