Skip to content

Cannot work with current version of ReTRY HUB (CT-USB4HUBV2) #630

@pazeshun

Description

@pazeshun

I tried uhubctl against the current version of ReTRY HUB (CT-USB4HUBV2) because the previous version (CT-USB4HUB) is listed in the compatible hubs.
However, I could not switch off VBUS even though uhubctl said the port was powered off:

$ uhubctl
Current status for hub 3-5 [0424:2744 Microchip Tech USB2744 2247, USB 2.10, 5 ports]
  Port 1: 0103 power enable connect [2341:0058 Arduino LLC Arduino Nano Every 059D618F51514C4B38202020FF171A11]
  Port 2: 0100 power
  Port 3: 0100 power
  Port 4: 0100 power
  Port 5: 0503 power highspeed enable connect [0424:2740 Microchip Tech Hub Controller]
Current status for hub 2-2 [0424:5744 Microchip Tech USB5744 2247, USB 3.20, 4 ports]
  Port 1: 06a0 power Rx.Detect
  Port 2: 06a0 power Rx.Detect
  Port 3: 06a0 power Rx.Detect
  Port 4: 06a0 power Rx.Detect
$ uhubctl -a off -l 3-5 -p 1
Current status for hub 3-5 [0424:2744 Microchip Tech USB2744 2247, USB 2.10, 5 ports]
  Port 1: 0103 power enable connect [2341:0058 Arduino LLC Arduino Nano Every 059D618F51514C4B38202020FF171A11]
Sent power off request
New status for hub 3-5 [0424:2744 Microchip Tech USB2744 2247, USB 2.10, 5 ports]
  Port 1: 0000 off
$ uhubctl -a off -l 2-2 -p 1
No compatible smart hubs detected at location 2-2!
Run with -h to get usage info.
There were permission problems while accessing USB.
To fix this, run this tool as root using 'sudo uhubctl',
or add one or more udev rules like below
to file '/etc/udev/rules.d/52-usb.rules':
SUBSYSTEM=="usb", ATTR{idVendor}=="2001", MODE="0666"
then run 'sudo udevadm trigger --attr-match=subsystem=usb'
$ uhubctl
Current status for hub 3-5 [0424:2744 Microchip Tech USB2744 2247, USB 2.10, 5 ports]
  Port 1: 0000 off
  Port 2: 0100 power
  Port 3: 0100 power
  Port 4: 0100 power
  Port 5: 0503 power highspeed enable connect [0424:2740 Microchip Tech Hub Controller]
Current status for hub 2-2 [0424:5744 Microchip Tech USB5744 2247, USB 3.20, 4 ports]
  Port 1: 06a0 power Rx.Detect
  Port 2: 06a0 power Rx.Detect
  Port 3: 06a0 power Rx.Detect
  Port 4: 06a0 power Rx.Detect

My PC environment is:

  • OS version: Ubuntu 20.04.6
  • Kernel version: 5.15.0-139-generic
  • uhubctl version: 2.1.0-1

Just FYI:
I tried the official Windows application for per-port power switching on ReTRY HUB and it worked, so there should be a way of per-port power switching on Linux.
Unfortunately, I could not find that way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions