Reset USB port after device disconnect?!


Recommended Posts

I use one of my Cubietrucks to operate two IR-read/write heads to read out powermeters.

 

Sometimes some kind of error happends and the device get's disconnected (not physically, but from system):

dmesg output:

 

[434913.929842] ohci-platform 1c14400.usb: frame counter not updating; disabled
[434913.939546] ohci-platform 1c14400.usb: HC died; cleaning up
[434913.947863] usb 3-1: USB disconnect, device number 3
[434913.949632] cp210x ttyUSB0: failed set request 0x0 status: -19
[434913.959197] cp210x ttyUSB0: cp210x converter now disconnected from ttyUSB0
[434913.959273] cp210x 3-1:1.0: device disconnected

I can fix it by rebooting only, also unplugging/re-plugging the cable physically is not working.

I googled around and there are some ideas how to reset it, but nothing worked.

 

Is there maybe anything special for Cubietruck that I could do?

 

Any help would be great!

Link to post
Share on other sites
Armbian is a community driven open source project. Do you like to contribute your code?

Guest
This topic is now closed to further replies.