An example to unbind/bind a USB device on Linux

# cd /sys/bus/usb/drivers/usb
# echo -n '2-1.6' > unbind; echo -n '2-1.6' > bind
The above 2-1.6 is a bus number. It changes by environment. You can find the device corresponding to the bus number as below.
# cat 2-1.6/manufacturer
RATOC Systems,Inc.
# cat 2-1.6/product
RAL-2496UT1 USB-Transport

No comments:

Post a Comment