LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   How to add USB mouse entry in /proc/acpi/wakeup? (https://www.linuxquestions.org/questions/linux-hardware-18/how-to-add-usb-mouse-entry-in-proc-acpi-wakeup-4175440255/)

dariyoosh 12-06-2012 06:15 AM

How to add USB mouse entry in /proc/acpi/wakeup?
 
Hello everybody,

I would like to ask a question about /proc/acpi/wakeup file.

OS: Fedora Core 17 X86_64 (both KDE and Gnome installed on the system).

My problem is, that whenever I suspend my laptop under Linux I cannot resume by pressing the USB mouse button connected to the LAPTOP (an external USB mouse connected to the LAPTOP). Whereas the same is possible within Windows 7 (the computer is dual boot: Fedora Core 17 / Windows 7)

After a bit googling I found the following link:

http://lists.linux-foundation.org/pi...er/015551.html

where apparently someone else had had the same problem and according to what I read in that page it had been suggested to edit /proc/acpi/wakeup in order to add the missing waking up device.

Here is the content of that file on my computer:

Code:

$ cat  /proc/acpi/wakeup
Device        S-state          Status  Sysfs node
P0P1          S3        *disabled 
LID          S3        *enabled 
GLAN          S4        *disabled 
EHC1          S3        *enabled  pci:0000:00:1d.0
EHC2          S3        *enabled  pci:0000:00:1a.0
HDEF          S0        *disabled  pci:0000:00:1b.0
RP01          S4        *disabled  pci:0000:00:1c.0
PXSX          S4        *enabled  pci:0000:07:00.0
RP02          S3        *disabled  pci:0000:00:1c.1
PXSX          S4        *disabled  pci:0000:0d:00.0
RP03          S3        *disabled  pci:0000:00:1c.2
PXSX          S4        *disabled  pci:0000:13:00.0
RP04          S3        *disabled  pci:0000:00:1c.3
PXSX          S4        *enabled  pci:0000:19:00.0
RP05          S3        *disabled 
PXSX          S4        *disabled 
RP06          S3        *disabled 
PXSX          S4        *disabled 
RP07          S3        *disabled 
PXSX          S4        *disabled 
RP08          S3        *disabled 
PXSX          S4        *disabled 
PEG0          S4        *disabled  pci:0000:00:01.0
PEGP          S4        *disabled  pci:0000:01:00.0
PEGA          S4        *disabled 
PEG1          S4        *disabled 
PEG2          S4        *disabled 
PEG3          S4        *disabled 
PWRB          S4        *enabled 
$

So as I understand (according to that page) I need to add something for UHC1 to that file (apparently this is how USB devices are called, please correct me if I'm wrong).

The problem, is that I don't know the exact device name of my USB mouse (UHC1, UHC2, ... ?) and the values that I'm supposed to provide for S-state, Sysfs and node.

Could somebody kindly make some clarification?

Thanks in advance,
Dariyoosh

dariyoosh 12-06-2012 06:40 AM

The strange thing is that by using my KVM switch (that is, a same set of keyboard and USB mouse) conneted to my PC and laptop everything works pretty well under both windows and Linux !


All times are GMT -5. The time now is 11:38 AM.