Quantcast

How to reset USB?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

How to reset USB?

fantajista
Hi, all

USB devices connected to USB hub doesn't become powered on.
And, the following messages are shown eternally.
---------
hub 1-0:1.0: unable to enumerate USB device on port 1
musb_bus_suspend 2307: trying to suspend as a_host while active
usb 1-1: new full speed USB device number 58 using musb-hdrc
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new full speed USB device number 59 using musb-hdrc
usb 1-1: device descriptor read/64, error -71
usb 1-1: device descriptor read/64, error -71
usb 1-1: new full speed USB device number 60 using musb-hdrc
usb 1-1: device not accepting address 60, error -71
usb 1-1: new full speed USB device number 61 using musb-hdrc
usb 1-1: device not accepting address 61, error -71
----------

It's NOT happen every booting, but also occasionally the first time of boot in the day.
And after reboot, USB devices become powered on.

I tried to reset USB to control GPIO, but failed due to "Device is busy".

root@overo:/sys/class/gpio# echo 183 > /sys/class/gpio/export
root@overo:/sys/class/gpio# dmesg | tail
gpio_request: gpio-183 (sysfs) status -16
export_store: status -16

How do I reset USB and power on it ?

Thanks.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to reset USB?

fantajista
I could reset USB port by executing

root@overo:/sys/devices/platform/omap/musb-omap2430/musb-hdrc/usb1/1-1# echo -n 0 > bConfigurationValue
root@overo:/sys/devices/platform/omap/musb-omap2430/musb-hdrc/usb1/1-1# echo -n 1 > bConfigurationValue
Loading...