The Pragmatic Addict

https://pragmaticaddict.com

1 posts

Tech

Subscribe via RSS

  1. Power Cycle USB Devices

    Background I have a USB zigbee controller that needed to be unplugged/replugged on a Raspbery Pi 4b. The problem was it was a 4 our drive to get there. After some poking around I found uhubctl which allows you to manage smart USB hubs. As luck would have it, most all Raspberry Pi support this! Installation On my Debian/RaspiOS it’s a simple command sudo apt-get install uhubctl See what hubs are supported sudo usbctl Current status for hub 2 [1d6b:0003 Linux 6.18.50+rpt-rpi-v8 xhci-hcd xHCI Host…

    0 ▲