Need /proc/acpi/wakeup tweaks to enable mousepad and USB to wake up from suspend
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power-manager (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: acpi-support
I have a HP Pavillion dv1240us. I am running Ubuntu 7.04 (devel packages). I find that if I suspend my laptop by selecting System --> Quit --> Suspend, events from the Synaptics mouse and from the USB ports fail to wake the system. After tracking this down with the ACPI developers, I eventually determined that the necessary flags weren't set in /proc/acpi/wakeup. I would very much like to see updates to the various Ubuntu versions that caused the needed flags to be enabled by default.
I don't know if this bug should be assigned against acpi-support, powersaved, acpid or some other package.
On my machine, I get:
# cat /proc/acpi/wakeup
Device Sleep state Status
PCIB 5 disabled
LAN 5 disabled
PS2K 3 disabled
PSM1 3 disabled
USB0 3 disabled
USB1 3 disabled
USB2 3 disabled
USB7 3 disabled
If I run:
# echo PSM1 > /proc/acpi/wakeup
# echo USB0 > /proc/acpi/wakeup
# echo USB1 > /proc/acpi/wakeup
# echo USB2 > /proc/acpi/wakeup
# echo USB7 > /proc/acpi/wakeup
then, when I plug in a USB device, the system wakes up.
This also causes my Synaptics mousepad to wake up the machine if I touch the mousepad or click one of the buttons.
After running these commands, "cat /proc/acpi/wakeup" gives me:
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
Changed in acpi-support: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
This bug is hard to process because it's a policy issue (a question) that needs to be decided:
* Should USB insertion or Mouse movement cause wake-up on a suspended/ hibernated system?
If there are other ways of resuming the laptop (eg. opening the lid, pressing the power or Fn button), then this issue really a bug, but a need to answer the above question.
* * * * *
End of Policy issue, my own views:
Personally (this is my own view and may not be correct), is that USB wakeup by default would be a bad idea (a faulty USB device, or one that resets itself, or a USB device that is unplugged and replugged at the power-source would cause wakeup).
Mouse/keyboard, I'm not so sure about. Many people have 'cats'.