mvp / uhubctl

uhubctl - USB hub per-port power control
Other
2.23k stars 232 forks source link

CH334H usb 2.0 hub ( 1a86:8091 QinHeng Electronics ) support #493

Closed nikitos1550 closed 1 year ago

nikitos1550 commented 1 year ago

Hello! Does this hub ( 1a86:8091 QinHeng Electronics http://wch-ic.com/products/CH334.html ) supported?

nikitos1550 commented 1 year ago

I tried force mode

nikita1550@nikita1550-nix ~/g/t/t/uhubctl> sudo ./uhubctl -f -l 1-1 -p 2 -a 0
Current status for hub 1-1 [1a86:8091 USB HUB, USB 2.00, 4 ports, ganged]
  Port 2: 0000 off
Sent power off request
New status for hub 1-1 [1a86:8091 USB HUB, USB 2.00, 4 ports, ganged]
  Port 2: 0000 off
nikita1550@nikita1550-nix:/home/nikita1550/gohw/tmp3/tmp/uhubctl$ 
nikita1550@nikita1550-nix ~/g/t/t/uhubctl> sudo ./uhubctl -f -l 1-1 -p 2 -a 1
Current status for hub 1-1 [1a86:8091 USB HUB, USB 2.00, 4 ports, ganged]
  Port 2: 0000 off
Sent power on request
New status for hub 1-1 [1a86:8091 USB HUB, USB 2.00, 4 ports, ganged]
  Port 2: 0100 power

I use self made hub pcba. So seems in terms of software it is ok, just schematics need to be updated.

mvp commented 1 year ago

Sorry, we do not consider hubs that require -f as compatible. Also, it you made this hub yourself, that is not something average person can buy.

DeqingSun commented 1 year ago

@nikitos1550 Thanks for sharing the info. I was looking for a chip to build a hub that support this feature. I saw CH335 which claim supporting individual port control but the FAE has not confirmed if the power can be controller by software.

Would you mind sharing the output of sudo lsusb -v?