Closed kirill9617 closed 1 year ago
This is not a VL817 chip issue, but rather hub manufacturer problem - most likely they did not wire things properly, or saved few cents on some circuitry.
Since this is noname hub and doesn't really work, there is no point in adding it to supported table.
Please check hubs in supported table, they should all work correctly. Few of them use Via chips too.
The problem was in VL817 firmware. After adding SPI flash with VL817_Q7_9033 flashed to it hub works as expected with USB3 upstream. Maybe it will help somebody else.
I have noname VL817 hub that I modified to support vbus control. But power switching works only if hub is connected to USB2 uptream only. For USB3 connection power off command is ignored.
Log with no devices connected:
sudo uhubctl -l 4-3 -p 2 -a off
Log with USB3 device connected (device was reseted, but stays powered on):
sudo uhubctl -l 4-3 -p 2 -a off
Log with USB2 device connected (device was logically disconnected, but stays powered):
sudo uhubctl -l 4-3 -p 2 -a off