On Fri, 15 Jan 2021 11:36:00 +0100 "Simon Matter" simon.matter@invoca.ch wrote:
Fedora 33, usbutils-012-5.fc33.x86_64. [~]$ usbreset bash: usbreset: command not found
BR, Bob
Okay, here we go:
$ wget https://github.com/gregkh/usbutils/raw/master/usbreset.c --2021-01-15 11:33:30-- https://github.com/gregkh/usbutils/raw/master/usbreset.c Resolving proxy (proxy)... 192.168.1.10 Connecting to proxy (proxy)|192.168.1.10|:8080... connected. Proxy request sent, awaiting response... 302 Found Location: https://raw.githubusercontent.com/gregkh/usbutils/master/usbreset.c [following] --2021-01-15 11:33:30-- https://raw.githubusercontent.com/gregkh/usbutils/master/usbreset.c Connecting to proxy (proxy)|192.168.1.10|:8080... connected. Proxy request sent, awaiting response... 200 OK Length: 4084 (4.0K) [text/plain] Saving to: ‘usbreset.c’
100%[======================================>] 4,084 --.-K/s in 0s
2021-01-15 11:33:30 (51.0 MB/s) - ‘usbreset.c’ saved [4084/4084]
$ gcc -o usbreset usbreset.c $ ./usbreset Usage: usbreset PPPP:VVVV - reset by product and vendor id usbreset BBB/DDD - reset by bus and device number usbreset "Product" - reset by product name
Devices: Number 001/002 ID 04d9:1400 Number 006/002 ID 090c:1000 Flash Drive FIT
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos
Great, it works. Still i wonder why this is not included in RH. BR, Bob