https://github.com/equk/usbreset
Reset USB Device in Linux CLI
https://github.com/equk/usbreset
Last synced: about 1 year ago
JSON representation
Reset USB Device in Linux CLI
- Host: GitHub
- URL: https://github.com/equk/usbreset
- Owner: equk
- License: mit
- Created: 2023-10-02T13:51:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-03T09:12:38.000Z (over 2 years ago)
- Last Synced: 2025-03-17T20:14:36.564Z (over 1 year ago)
- Language: C
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# usbreset
Reset USB Devices In Linux Using `` ``
More info: [Reset USB Device In Linux - equk's blog](https://equk.co.uk/2023/09/25/reset-usb-device-in-linux/)
> [!NOTE]
> This can also be useful for resetting a usb device after updating the firmware
## list usb devices
```
$ lsusb
Bus 001 Device 006: ID 045e:028e Microsoft Corp. Xbox360 Controller
```
## usbreset
exec program with root privilege
use ` ` from `lsusb` output
```
$ sudo usbreset 045e 028e
Checking USB Device Connected ...
Resetting USB Device [045e:028e]
USB Device reset [045e:028e]
```
# Contact
Website: https://equk.co.uk
Mastodon: [@equilibriumuk@hachyderm.io](https://hachyderm.io/@equilibriumuk)
# License
MIT License