You are not logged in.

#1 2015-11-11 17:19:28

pmatts
Member
Registered: 2015-02-23
Posts: 25

Waking from suspend with USB device

The information given at https://wiki.archlinux.org/index.php/Ud … USB_device is not enough to enable me to write my own rule.

I want to make my infra red remote wake up the system from suspend.

I have found my idVendor and idProduct via lsusb and edited the example given in the wiki thus:

ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0x0471", ATTRS{idProduct}=="0x0815", ATTR{power/wakeup}="enabled", ATTR{driver/usb7/power/wakeup}="enabled"

But what is this "driver/usb7/power/wakeup" stuff?  How do i find mine? Can anyone elaborate on this? Where and what is the driver directory?

Offline

#2 2015-11-12 03:45:04

alienated_humour
Member
From: NYC
Registered: 2011-07-28
Posts: 23

Re: Waking from suspend with USB device

pmatts wrote:

I have found my idVendor and idProduct via lsusb and edited the example given in the wiki thus:

ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0x0471", ATTRS{idProduct}=="0x0815", ATTR{power/wakeup}="enabled", ATTR{driver/usb7/power/wakeup}="enabled"

But what is this "driver/usb7/power/wakeup" stuff?  How do i find mine? Can anyone elaborate on this? Where and what is the driver directory?

The "driver/usb7/power/wakeup" is because, as the wiki shows, the example USB device is on Bus 007 which correlates to driver/usb7.

Offline

#3 2015-11-12 21:48:08

pmatts
Member
Registered: 2015-02-23
Posts: 25

Re: Waking from suspend with USB device

Thankyou for the explanation.

I am unable to test if it works due to my remote receiver powering down on suspend. I think its a hardware issue that can't be hacked.

Offline

Board footer

Powered by FluxBB