Follow

: if any other USB device is stuck you don't need to physically remove it to restart it, but you can use the cli:
`echo 1-5 | sudo tee /sys/bus/usb/drivers/usb/unbind; echo 1-5 | sudo tee /sys/bus/usb/drivers/usb/bind`

`1-5` is the usb bus. To find it out:

```
$ lsusb | grep <device> ~
Bus 001 Device 011: ID 1234:5678 <device>
$ grep 1234 /sys/bus/usb/devices/*/idVendor
/sys/bus/usb/devices/1-5/idVendor:1234
```

@ilpianista Nice. I have long wondered how to do that. Thanks!

Sign in to participate in the conversation
Functional Café

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!