Tool/software: Linux
Hello,
We are utilising a TUSB8041 hub in a new product design. There is an issue we are experiencing when the PWRCTL signals lines are toggled.
Basically after a Hub port power "off" and then "on" event (PWRCTL signals first made to go low and then high), any USB2 device plugged into the Hub is automatically redetected. However USB3 devices are not being detected. In order for us to detect the USB3 device, we have to physically unplug it and then plug it back it for it to be detected.
To turn the Hub power "off" and then back "on" we are using the commands below in the Linux Kernel:
usb_hub_set_port_power(hub2->hdev, hub2, port, true/false); // turn port power on/off for usb2 hub
usb_hub_set_port_power(hub3->hdev, hub3, port, true/false); // turn port power on/off for usb3 hub
Could you please shed some light on why a USB3 device is not being redetected after a power off/on event, but a USB2 device is being redetected automatically?
Thank you,
Nikhil