how to reset usb port via software

Is there a way to reset a usb device on the beaglebone to simulate the new device plugin event?

I know it isn’t software, but then I’m a hardware guy J

Would I would do is make myself a usb cable with a switch in series with the red wire.

I going to follow this thread to see if there IS a software solution :wink:

I believe there is a command you can issue to reset the USB device. It on the google groups( beagelboard groups ) somewhere, and I do not recall the exact message sorry. However a search should turn something up.

If all else fails, just turn off the USB power.


Open a shell on the beaglebone and type “cat /dev/bus/usb/001/001 > /dev/null”[Enter] .

This should do the trick.