Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrf345/usb-resetter
Simple GUI USB resetting tool
https://github.com/mrf345/usb-resetter
gui pyside python pyusb reset resetting usb usb-resetter
Last synced: about 1 month ago
JSON representation
Simple GUI USB resetting tool
- Host: GitHub
- URL: https://github.com/mrf345/usb-resetter
- Owner: mrf345
- License: mpl-2.0
- Created: 2017-10-26T11:19:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-05T07:18:44.000Z (almost 7 years ago)
- Last Synced: 2024-11-10T06:38:40.571Z (3 months ago)
- Topics: gui, pyside, python, pyusb, reset, resetting, usb, usb-resetter
- Language: Python
- Homepage: https://sourceforge.net/projects/usb-resetter/
- Size: 198 KB
- Stars: 2
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
USB resetting is the closest equivalent to physically unplugging and re-plugging a USB device. you might ask , How is that useful ? In my case, it helps with accessing my slightly damaged old USB external hard drive after a mount in unix-like OSes without any i/o issues. There must be more, that it can help with. So try it to know.
## Setup:
#### - From the source:
> `git clone https://github.com/mrf345/usb-resetter.git`
> `cd usb-resetter`
> `pip2.7 install -r requirements.txt`
> `python2.7 run.py`#### - With executable:
> - You can get an executable that's suitable to your OS from :
> https://sourceforge.net/projects/usb-resetter/## OS support:
#### - Windows:
> This tool is based on PyUsb, an open source python library that requires some extra USB drivers to allow us to interact with USB devices. One of those drives is libusb, there's an old but still working perfectly window version of it on :
> https://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/1.2.6.0/libusb-win32-devel-filter-1.2.6.0.exe/download#### - MacOS:
> Since MacOS is actually a unix-like OS, the bundled libusb driver seems to work perfectly. Only issue that might accrue here, is not knowing exactly which device you want to reset, due to the short descriptors and unintended vague categories. So you can make use of the command `system_profiler SPUSBDataType` in terminal to get the idvendor, idproduct. Which are used to identify the devices in usb-resetter.#### - GNU/Linux:
> Has no issue in running the bundled libusb drive, and using `lsusb` command to get the exact idvendor and idproduct, in case you confused the device. Another thing, some might consider it an issue, is the need for `sudo` since interacting with USB devices requires a higher permissions.## CLI:
> You can find a command-line version here: https://github.com/mrf345/usb-resetter-cli