GUI setting needed to disable or enable wake from suspend via mouse (or keyboard)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-power-manager (Ubuntu) |
Confirmed
|
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/
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
ProcVersionSign
Uname: Linux 2.6.32-23-generic i686
Architecture: i386
Date: Sat Jul 17 21:11:30 2010
GnomeSessionIdl
GnomeSessionInh
GnomeSessionSus
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcCmdLine: BOOT_IMAGE=
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.
dmi.board.
dmi.board.name: DH57JG
dmi.board.vendor: Intel Corporation
dmi.board.version: AAE70930-302
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCor
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.