Disable a USB device?

Andy Shevchenko andy at smile.org.ua
Tue Dec 18 09:09:03 UTC 2007


Hi Chris Adams!

 On Mon, Dec 17, 2007 at 07:26:00PM -0600, Chris Adams wrote next:

> Otherwise, USB wakes up 4 times per second for no particular reason (no
> other USB devices are attached).
I don't know exactly, but may be some like next helps?

[root at toaster special-english]# cat /sys/bus/usb/devices/usb1/power/wakeup
enabled

[root at toaster special-english]# echo "disabled" > /sys/bus/usb/devices/usb1/power/wakeup

[root at toaster special-english]# cat /sys/bus/usb/devices/usb1/power/wakeup
disabled

P.S. I think the sysfs may provide some interface for it.

-- 
With best regards,
Andy Shevchenko.      mailto: andy at smile.org.ua





More information about the fedora-devel-list mailing list