https://github.com/aep/usb-mining-watchdog-china
reverse engineering of the crappy chinese usb mining watchdog thing
https://github.com/aep/usb-mining-watchdog-china
Last synced: about 1 year ago
JSON representation
reverse engineering of the crappy chinese usb mining watchdog thing
- Host: GitHub
- URL: https://github.com/aep/usb-mining-watchdog-china
- Owner: aep
- Created: 2018-01-01T14:43:05.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-01T14:49:38.000Z (over 8 years ago)
- Last Synced: 2025-04-10T17:55:00.229Z (about 1 year ago)
- Language: Rust
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
china usb mining watchog
=====================
if you got one of these :

here is the reverse engineered "protocol":
```
9600 baud
init sequence: 0x00 0x80 0x81
keep alive: 0x00 0x01
where 0x01 is 10 seconds timeout. higher number is longer timeout
reset now: 0x00 0xff
```
to use my code:
```
git clone git@github.com:aep/usb-mining-watchdog-china.git wd
cd wd
cargo install
~/.cargo/bin/miningwd /dev/ttyUSB0
```
every "ping" output should make the led blink.
kill the program to initiate the timeout reset sequence