Remix.run Logo
▲ jsmith45 36 minutes ago

While this does largely work, there are a few complications.

The biggest one being power management, especially the cutting off of power to a specific port. If a host wants to cut off power to a 3.x device, it typically needs to know which 2.x port that device is connected to. The host internally can have some really wild mappings of 2.0 and 3.x hubs, controllers, etc, but the device tree or ACPI tables let it know exactly which ones are paired together for any port leaving the device. After that point it is assumed that the host can learn the topology from any hubs attached. The power management is tied to the 2.0 port. Unexpectedly splitting the topology could lead the host to instruct a hub to cut off power to the wrong port when trying to target a specific USB 3.x device.

Also, if a hub indicates that a device is drawing excessive current, and there is nothing communicating on the 2.0 lines, there is a risk of the wrong 3.x getting blamed by the host, possibly showing a warning popup to the user with the wrong device name, or similar.

This isn't to say this is always a problem, because it isn't but it is something to be aware of.

▲arcticbull 21 minutes ago | parent [-]

It's also just straight up not permitted per USB3.2, as USB3 devices are supposed to, per spec, be able to drop down to USB2 speeds. OS support varies, it might work, it might not.

FTA: > If you are building an inline USB-C tool where your MCU only needs a slow control channel and the host just needs fast passthrough to the downstream device, you might not need a USB 3 hub. USB-C gives you two independent buses in the same port. The OS knows they're both peripherals are assigned to the same logical connector.

This is bad advice in general because USB-C does not actually give you two independent busses in the same port.

▲fcjr 12 minutes ago | parent [-]

w/ the hub on the 2.0 lines, the usb3 device can drop down to 2 just fine

▲arcticbull 10 minutes ago | parent [-]

TI addressed this on their forum a while ago.

https://e2e.ti.com/support/interface-group/interface/f/inter...

Is it gonna work? Usually, but not properly, and it's not an approach I would recommend for any production devices.

It's also addressed in the spec. If you want to be non-compliant and hope for the best, it's an option for some small run stuff you test. For this application it's probably fine because you know how your host controller behaves but it's not a good approach in general.