New User? Register here - Existing Users: Username: Password: [Advanced Login]

 

 

Current Poll

Your preferred Interactive shell?









( 1381 votes ~ 15 comments )

 

Weblog entry #8 for emeitner

Resetting a USB device
Posted by emeitner on Sun 21 Mar 2010 at 00:53
Tags: none.
I wanted to reset a USB device without manually unplugging and replugging it so that I could see if the newly compiled modules would load OK. Someone suggested:
echo suspend >/sys/bus/usb/devices/5-2/power/level
echo auto >/sys/bus/usb/devices/5-2/power/level
This did not work for me. This did:
echo 0 > /sys/bus/usb/devices/5-2/authorized
echo 1 > /sys/bus/usb/devices/5-2/authorized

 

 

 

Flattr