I understand that this is quite old but thought I'd share a really handy script which provides a granular wake from suspend device selection GUI. The script and instructions can be found here and it would be wonderful if this could be implemented into Ubuntu.
http://bernaerts.dyndns.org/linux/74-ubuntu/220-ubuntu-resume-usb-hid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-power-manager in Ubuntu. https://bugs.launchpad.net/bugs/606756 Title: GUI setting needed to disable or enable wake from suspend via mouse (or keyboard) Status in “gnome-power-manager” package in Ubuntu: Confirmed Bug description: Binary package hint: gnome-power-manager When I suspend my computer I want to be able to wake it up again by pressing a key on the keyboard. By default this isn't possible. Having added the following line to my /etc/rc.local script: echo UHC1 > /proc/acpi/wakeup I can successfully wake the machine up using the keyboard. Unfortunately the above line enables any USB device to perform the wakeup, including the mouse. This is a problem because the mouse seems to be hypersensitive and often wakes the machine up immediately after suspending it (just walking by the desk is enough to trigger it). To disable the mouse from waking the computer up I figured out that I need to run the following command: echo disabled > /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/power/wakeup So, problem solved for me. Until I plug the mouse into a different USB port and the file I need above changes :-( But this sort of hacking is pretty user hostile, especially when it is so easy to do under Windows - just go to the Power Management tab of the appropriate device and tick or untick the "Enable this device to wakeup the computer" checkbox. The gnome-power-manager should have something similar so that there is a GUI available where ordinary users can enable or disable the required functionality. They should be able to enable or disable both the keyboard and mouse separately. If either of them are enabled then the appropriate line should be written to the /proc/acpi/wakeup file automatically (and persist over a reboot). Ditto for writing to the power/wakeup file. It would also be nice to add any other devices capable of waking the machine up like the ethernet or wifi interfaces. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: gnome-power-manager 2.30.0-0ubuntu1 ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5 Uname: Linux 2.6.32-23-generic i686 Architecture: i386 Date: Sat Jul 17 21:11:30 2010 GnomeSessionIdleInhibited: No GnomeSessionInhibitors: None GnomeSessionSuspendInhibited: No InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429) ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-23-generic root=UUID=5e18bdd6-ca72-41b4-a570-b292f680951d ro quiet splash ProcEnviron: PATH=(custom, user) LANG=en_GB.utf8 SHELL=/bin/tcsh SourcePackage: gnome-power-manager UdevDb: Error: [Errno 2] No such file or directory dmi.bios.date: 05/18/2010 dmi.bios.vendor: Intel Corp. dmi.bios.version: JGIBX10J.86A.0537.2010.0518.0132 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: DH57JG dmi.board.vendor: Intel Corporation dmi.board.version: AAE70930-302 dmi.chassis.type: 2 dmi.modalias: dmi:bvnIntelCorp.:bvrJGIBX10J.86A.0537.2010.0518.0132:bd05/18/2010:svn:pn:pvr:rvnIntelCorporation:rnDH57JG:rvrAAE70930-302:cvn:ct2:cvr: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-power-manager/+bug/606756/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

