[mythtv-users] Wake from USB

Mitchell Gore mitchell.gore at gmail.com
Tue Apr 2 20:03:24 UTC 2013


ill take a look when i get home again.  I tried this article and it didnt
work either:
http://bernaerts.dyndns.org/linux/220-ubuntu-resume-usb-hid

Can anyone else confirm if the LED is on 100% of the time when the PC is
sleeping?



On Tue, Apr 2, 2013 at 1:33 PM, Ole Nissen <mail at olenissen.com> wrote:

> Im pretty sure that the usb number is equal to the bus number when you do
> a lsusb.
>
> for my example:
> Bus 003 Device 005: ID 046d:c71f Logitech, Inc. diNovo Mini Wireless
> Keyboard
>
> Bus=003 => usb3.
>
> I will agree that it could look like that there is power already if the
> led is on. To be sure that its enabled just cat it:
> cat /sys/bus/usb/devices/usb3/power/wakeup
>
> Hope it helps.
>
> Best
>
>
>
> 2013/4/2 Mitchell Gore <mitchell.gore at gmail.com>
>
>>
>>
>>
>> On Tue, Apr 2, 2013 at 10:59 AM, Ole Nissen <mail at olenissen.com> 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
>>>
>>> How do i know the usb number?
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users at mythtv.org
>> http://www.mythtv.org/mailman/listinfo/mythtv-users
>>
>>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130402/bb0da2b0/attachment.html>


More information about the mythtv-users mailing list