Controlling USB HUB ports using uhubctl

Listing controllable ports

uhubctl

Yields output

Current status for hub 7-1.7 [0424:9514, USB 2.00, 5 ports, ppps]
  Port 1: 0503 power highspeed enable connect [0424:ec00]
  Port 2: 0503 power highspeed enable connect [0403:6001 FTDI USB <-> Serial]
  Port 3: 0100 power
  Port 4: 0100 power
  Port 5: 0100 power

Disabling specific port

# -l 7-1 is location
# -p 7.1 is port
# This will disable   Port 2: 0503 power highspeed enable connect [0403:6001 FTDI USB <-> Serial]
uhubctl -a off -l  7-1  -p 7.1

Enabling specific port

uhubctl -a on -l  7-1  -p 7.1

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *