Sample Header Ad - 728x90

Are onboard hubs detected as USB root hubs or external devices?

0 votes
1 answer
88 views
I have connected an onboard hub to my microprocessor. The onboard hub is USB2514B and the microprocessor is a STM32MP1. I can specify the the connection to the onboard hub by using OHCI (Open Host Controller Interface), but then I will get the error messages. usb 1-1.4: device descriptor read/64, error -62 usb 1-1-port4: unable to enumerate USB device This means that OHCI (USB 1.1) cannot communicate with USB2514B, which requires USB 2.0 specification. But if I connect my onboard hub by using EHCI (Enhanced Host Controller Interface), which is USB 2.0. Then in Linux I will not get any errors about any device description. My lsusb looks like this: >> lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub **Question:** Does this mean that this 1d6b:0002 is the USB2514B hub, or does it mean that it's the internal USB of the processor? I'm looking for a way to confirm if I have connection to my USB2514B or if lsusb only shows my internal USB connection from the processor. NOTE: This onboard USB hub does not require any external communication interfaces such as SMDbus, I2C or other. Only plain USB connection + linux device tree configuration. &usbh_ehci{ status = "okay"; /* USER CODE BEGIN usbh_ehci */ phys = ; #address-cells = ; #size-cells = ; /* onboard HUB */ hub@1 { compatible = "usb424,2514"; reg = ; vdd-supply = ; }; /* USER CODE END usbh_ehci */ }; &usbh_ohci{ status = "disabled"; }; Useful sources: * https://wiki.st.com/stm32mpu/wiki/USB_overview * https://wiki.st.com/stm32mpu/wiki/USBH_device_tree_configuration
Asked by euraad (219 rep)
Nov 16, 2024, 12:46 AM
Last activity: Nov 16, 2024, 10:33 AM