usbreset - Man Page
send a USB port reset to a USB device
Synopsis
usbreset [ device ]
Description
usbreset is a utility that performs resets on USB devices. It is particularly useful situations where a USB device is unresponsive or exhibits erratic behavior. The USB device to be reset can be specified in one of three formats:
- PPPP:VVVV
Reset by product and vendor IDs
- BBB/DDD
Reset by bus and device number
- Product
Reset by product name
When run without any arguments, usbreset provides usage information and a list of connected USB devices, including their product and vendor IDs, bus and device numbers, and product names.
Return Value
If the specified device is not found, a non-zero exit code is returned.
Examples
- Reset device with vendor ID 1234 and product ID 5678:
usbreset 1234:5678
- Reset device 002 on bus 001:
usbreset 001:002
- Reset device named USB2.0 Hub:
usbreset "USB2.0 Hub"
See Also
Author
Alan Stern <stern@rowland.harvard.edu>
Info
04 January 2024 usbutils Linux USB Utilities