![]() Sudo python reset_usb.py path /dev/bus/usb/XXX/YYY # Reset USB device using path /dev/bus/usb/XXX/YYY Sudo python reset_usb.py list # List all USB devices Usage: python reset_usb.py help # Show this help Save the script below as reset_usb.py or clone this repo. I've created a Python script that simplifies the whole process based on answers here. If (fd and ids as found by running the lsusb command: $ sudo. Save the following as usbreset.c /* usbreset - send a USB port reset to a USB device */įprintf(stderr, "Usage: usbreset device-filename\n")
0 Comments
Leave a Reply. |