GUI setting needed to disable or enable wake from suspend via mouse (or keyboard)

Bug #606756 reported by Glenn Coombs on 2010-07-17
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-power-manager (Ubuntu)
Undecided
Unassigned

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:

Glenn Coombs (glenn-coombs) wrote :
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. A new version of GNOME Power Manager is available on Maverick and we are wondering if this bug is still an issue for you with that version? Could you please test and comment back? Thanks in advance.

Changed in gnome-power-manager (Ubuntu):
status: New → Incomplete
Glenn Coombs (glenn-coombs) wrote :

Has anything been added to the new Power Manager version with respect to this bug ?

I have only installed Maverick inside VirtualBox so far but I didn't see any additional options inside the Power Manager application to enable/disable wakeup using the keyboard and/or mouse. I guess it is possible that they aren't visible when running inside a VM as opposed to running on real hardware.

I plan to do a proper install this weekend and will recheck and confirm, but at the moment I'm not seeing any change in this bug.

Jonathan Watt (jwatt) wrote :

The Power Manager window in 10.10 does not offer options to wake on USB, or as the original reporter (and I) would like, using finer grained device selection.

Changed in gnome-power-manager (Ubuntu):
status: Incomplete → Confirmed
John Park (johndouglaspark) wrote :

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

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers