Skip to content

lpg2709/usb-reset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usb-reset

Linux system utility for usb port reset.

Dependencies

Install

After clone the project:

cd usb-reset
sudo make install

Usage

In this version enter the following command after installation

sudo usb-reset

Script

To use usb-reset in scripts, it is possible to pass the bus and the port as arguments, both being mandatory.

sudo ./usb-reset -b 1 -p 2

For more information:

usb-reset --help

TODO

  • Add Code standardization
  • Add test cases
  • Make program more consistent in use

License

MIT

Releases

No releases published

Packages

No packages published