USBUtils
Utilities to control the USB devices.
Installation
$ gem install usbutils
Usage
show command list
$ usbutils
Commands:
usbutils devices # list all usb devices
usbutils help [COMMAND] # Describe available commands or one specific command
usbutils reset <serial no> # reset device
show usb devices
$ sudo usbutils devices
serial=0000:00:06.0 product=OHCI Host Controller manufacturer=Linux 3.2.0-23-generic ohci_hcd
serial=01498A4D15005015 product=Galaxy Nexus manufacturer=samsung
reset(reconnect) usb device
$ sudo usbutils reset 01498A4D15005015
Contributing
- Fork it ( http://github.com/
/usbutils/fork ) - Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request