usbreset(1)
โจ usbreset โ the glow-up your sad little USB device needed โจ
okay so bestie, this is usbreset, a utility from the Linux USB Utilities crew, and it's here to do exactly one thing: send a USB port reset to a USB device. that's the whole vibe. no cap.
๐ธ SYNOPSIS ๐ธ
usbreset [ device ]
like... give it a device and it resets it. or don't. we'll get to that ๐
๐ DESCRIPTION ๐
usbreset is a utility that performs resets on USB devices. it's particularly useful when a USB device is being unresponsive or acting erratic โ you know the type, main character energy but for all the wrong reasons ๐ญ. when your device is ghosting you, this is how you make it reply.
the USB device you wanna reset can be specified in one of three formats โ well, technically four ways are listed, and we are NOT gatekeeping any of them:
VVVV:PPPPโ reset by vendor and product IDs. the classic. the moment.BBB/DDDโ reset by bus and device number. bus first, device second, slash between. slay.SN:SERIALโ reset by serial number. prefixSN:included, don't forget it ๐- Product โ reset by product name. yes, literally just the name. iconic.
and when you run it with no arguments at all? it gives you usage information and a list of connected USB devices, including their:
- vendor and product IDs
- bus and device numbers
- product names
so it's lowkey a lil' vibes check on everything plugged in ๐ฆ
โญ RETURN VALUE โญ
if the device you asked for isn't found, you get a non-zero exit code. that's it, that's the whole rule. no device, no success, periodt.
๐ฅ 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 with serial number ABCDEF0:
usbreset SN:ABCDEF0
reset device named USB2.0 Hub:
usbreset "USB2.0 Hub"
note the quotes on that last one bestie โ "USB2.0 Hub" has a space in it, and the shell will absolutely split that on you if you don't wrap it. protect the name ๐
๐ SEE ALSO ๐
lsusb(8) โ go look at your devices before you go resetting them, iykyk ๐ซถ
๐ AUTHOR ๐
Alan Stern <stern@rowland.harvard.edu> โ the legend, the blueprint, the moment ๐
okay and for the cute sign-off: this whole thing comes to you from usbutils, dated 04 January 2024. that's the source, that's the version, that's the date, we stan a documented release ๐โจ bye bestie, go reset something ๐ฆ
๐ฆ where this page comes from
- fedora 44: usbutils 019-2.fc44 ยท GPL-2.0-or-later
- ubuntu resolute: usbutils 1:019-1 ยท GPL-2.0-only OR GPL-3.0-only
- ubuntu stonking: usbutils 1:019-1 ยท GPL-2.0-only OR GPL-3.0-only
- ๐ the page's license: GPL-2.0-only
- Copyright (c) 2023 Aurelien Jarno <aurelien@aurel32.net>
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms