[mythtv-users] Wake from USB

Mike Perkins mikep at randomtraveller.org.uk
Tue Apr 2 16:25:59 UTC 2013


On 02/04/13 16:59, Ole Nissen wrote:
> Hi,
>
> You need to turn on the power to the usb port as well, like:
> echo enabled > /sys/bus/usb/devices/usb3/power/wakeup'"
>
> Ofcourse change "usb3" to the port you use.
>
> I have made a udev rule for my dinovo mini keyboard like this:
> SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c71f"
> RUN+="/bin/sh -c 'echo enabled > /sys$env{DEVPATH}/../power/wakeup;echo
> enabled > /sys/bus/usb/devices/usb3/power/wakeup'"
>
> Hope this helps.
>
> Best Ole
>
>
> 2013/4/2 Mitchell Gore <mitchell.gore at gmail.com>
>
>> Okay i just checked the BIOS and its enabled.  Also here is some more info
>> on the computer:
>>
>> mitchell at livingroom:~$ cat /proc/acpi/wakeup
>> Device  S-state   Status   Sysfs node
>> P0P1      S4    *disabled  pci:0000:00:1e.0
>> P0P4      S4    *disabled  pci:0000:00:1c.0
>> P0P5      S4    *disabled  pci:0000:00:1c.1
>> P0P6      S4    *disabled  pci:0000:00:1c.2
>> P0P7      S4    *disabled
>> P0P8      S4    *disabled
>> P0P9      S4    *disabled
>> USB0      S3    *enabled   pci:0000:00:1d.0
>> USB1      S3    *enabled   pci:0000:00:1d.1
>> USB2      S3    *enabled   pci:0000:00:1d.2
>> USB3      S3    *enabled   pci:0000:00:1d.3
>> EUSB      S3    *enabled   pci:0000:00:1d.7
>>
>> mitchell at livingroom:~$ lsusb |grep eHome
>> Bus 003 Device 003: ID 045e:006d Microsoft Corp. eHome Remote Control
>> Keyboard keys
>>
>> mitchell at livingroom:~$ grep 006d /sys/bus/usb/devices/*/idProduct
>> /sys/bus/usb/devices/3-2/idProduct:006d
>>
>> mitchell at livingroom:~$ cat /sys/bus/usb/devices/3-2/power/wakeup
>> enabled
>>
>> One thing i have noticed is that when the PC is sleeping i the LED on the
>> remote is on all the time.  Normally the light is only on when IR signals
>> are received. I have also tried this with a keyboard as well.
>
If the LED on the remote is on when the PC is asleep I think you can take it he 
has power.

-- 

Mike Perkins



More information about the mythtv-users mailing list