2012-04-19, 20:10
I had similar problems and manage to fix it (eventually...). I will explain how i did this and hope it will help you fix your problem.
To be sure you are using the correct path in rc.local run then command 'lsusb' and write down the 2nd ID number of your device.
For example, if the output of lsusb is:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 004 Device 002: ID 1784:0008 TopSeed Technology Corp. eHome Infrared Transceiver
Bus 004 Device 003: ID 046d:c518 Logitech, Inc. MX610 Laser Cordless Mouse
You write down the 2nd ID number in the line of your transceiver. 0008 in this case (I made the number bold).
Now use that number in the next command:
The result looks something like this:
Of course your path can be different from the above example. Write this path down and use the cat command to see if wakeup is indeed enabled.
Don't forget to add this path to your rc.local file. In my example the result is "4-2", so just to be sure i added USB4 too. If your result is "3-2" then add USB3 etc. Also add USB1. I read somewhere that this helps "waking up the USB bus" or something. Don't know exactly how or why
So using the above examples, i would add the following lines to rc.local:
Also make sure rc.local is executable.
Now reboot and try it out. Good luck!
To be sure you are using the correct path in rc.local run then command 'lsusb' and write down the 2nd ID number of your device.
For example, if the output of lsusb is:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 413c:2003 Dell Computer Corp. Keyboard
Bus 004 Device 002: ID 1784:0008 TopSeed Technology Corp. eHome Infrared Transceiver
Bus 004 Device 003: ID 046d:c518 Logitech, Inc. MX610 Laser Cordless Mouse
You write down the 2nd ID number in the line of your transceiver. 0008 in this case (I made the number bold).
Now use that number in the next command:
Code:
grep 0008 /sys/bus/usb/devices/*/idProduct
The result looks something like this:
Code:
/sys/bus/usb/devices/4-2/idProduct:0008
Of course your path can be different from the above example. Write this path down and use the cat command to see if wakeup is indeed enabled.
Don't forget to add this path to your rc.local file. In my example the result is "4-2", so just to be sure i added USB4 too. If your result is "3-2" then add USB3 etc. Also add USB1. I read somewhere that this helps "waking up the USB bus" or something. Don't know exactly how or why
So using the above examples, i would add the following lines to rc.local:
Code:
echo USB1 > /proc/acpi/wakeup
echo USB4 > /proc/acpi/wakeup
echo enabled > /sys/bus/usb/devices/4-2/power/wakeup
Also make sure rc.local is executable.
Code:
sudo chmod +x /etc/rc.local
Now reboot and try it out. Good luck!