Hi Toradex-Team & community,
I’ve currently come issues connecting USB 3 devices to a Verdin IMX8M-P with a custom carrier board. The devices are always recognized as USB 2 devices.
During the development we made sure to follow the layout requirements and used most of the schematics from the Verdin Development board - including the exact same USB hub. The only difference to the development board is, that we do not use the PCAL6416A port extender. Therefore we’ve removed the related I2C device definition from the device tree.
lsusb shows that three The Imaging Source Europe GmbH DMM 37UX568-ML devices are connected as expected but only as USB 2. Meanwhile dmesg doesn’t provide any hint of an error.
We’re looking forward to hear your thoughts and recommendations.
torizon@verdin-imx8mp-15676772:~$ lsusb
Bus 002 Device 002: ID 0424:5744 Microchip Technology, Inc. (formerly SMSC) Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 0424:2740 Microchip Technology, Inc. (formerly SMSC) Hub Controller
Bus 001 Device 006: ID 199e:9497 The Imaging Source Europe GmbH DMM 37UX568-ML
Bus 001 Device 005: ID 199e:9497 The Imaging Source Europe GmbH DMM 37UX568-ML
Bus 001 Device 003: ID 064f:2af9 WIBU-Systems AG CmStick (HID, article no. 1001-xx-xxx)
Bus 001 Device 007: ID 199e:9497 The Imaging Source Europe GmbH DMM 37UX568-ML
Bus 001 Device 002: ID 0424:2744 Microchip Technology, Inc. (formerly SMSC) Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
torizon@verdin-imx8mp-15676772:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 5000M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci-hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
|__ Port 1: Dev 7, If 4, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 7, If 2, Class=Miscellaneous Device, Driver=, 480M
|__ Port 1: Dev 7, If 0, Class=Miscellaneous Device, Driver=, 480M
|__ Port 1: Dev 7, If 3, Class=Video, Driver=uvcvideo, 480M
|__ Port 1: Dev 7, If 1, Class=Miscellaneous Device, Driver=, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbfs, 12M
|__ Port 3: Dev 5, If 3, Class=Video, Driver=uvcvideo, 480M
|__ Port 3: Dev 5, If 1, Class=Miscellaneous Device, Driver=, 480M
|__ Port 3: Dev 5, If 4, Class=Video, Driver=uvcvideo, 480M
|__ Port 3: Dev 5, If 2, Class=Miscellaneous Device, Driver=, 480M
|__ Port 3: Dev 5, If 0, Class=Miscellaneous Device, Driver=, 480M
|__ Port 4: Dev 6, If 4, Class=Video, Driver=uvcvideo, 480M
|__ Port 4: Dev 6, If 2, Class=Miscellaneous Device, Driver=, 480M
|__ Port 4: Dev 6, If 0, Class=Miscellaneous Device, Driver=, 480M
|__ Port 4: Dev 6, If 3, Class=Video, Driver=uvcvideo, 480M
|__ Port 4: Dev 6, If 1, Class=Miscellaneous Device, Driver=, 480M
|__ Port 5: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 480M
torizon@verdin-imx8mp-15676772:~$ dmesg | grep usb
[ 0.122039] usbcore: registered new interface driver usbfs
[ 0.122086] usbcore: registered new interface driver hub
[ 0.122118] usbcore: registered new device driver usb
[ 0.380422] usbcore: registered new interface driver uas
[ 0.380473] usbcore: registered new interface driver usb-storage
[ 0.380551] usbcore: registered new interface driver usbserial_generic
[ 0.380573] usbserial: USB Serial support registered for generic
[ 0.380910] usbcore: registered new device driver onboard-usb-hub
[ 0.427620] usbcore: registered new interface driver usbhid
[ 0.427623] usbhid: USB HID core driver
[ 0.438387] usbcore: registered new interface driver snd-usb-audio
[ 0.562279] imx8mq-usb-phy 381f0040.usb-phy: supply vbus not found, using dummy regulator
[ 0.648483] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 0.936785] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[ 1.287056] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[ 2.146763] usb 1-1.2: new full-speed USB device number 3 using xhci-hcd
[ 2.344920] hid-generic 0003:064F:2AF9.0001: hiddev96,hidraw0: USB HID v1.11 Device [WIBU-SYSTEMS AG CodeMeter-Stick] on usb-xhci-hcd.1.auto-1.2/input0
[ 2.456840] usb 1-1.5: new high-speed USB device number 4 using xhci-hcd
[ 7.336783] usb 1-1.3: new high-speed USB device number 5 using xhci-hcd
[ 8.173060] usb 1-1.3: Found UVC 1.10 device DMM 37UX568-ML (199e:9497)
[ 8.261733] usbcore: registered new interface driver uvcvideo
[ 8.446773] usb 1-1.4: new high-speed USB device number 6 using xhci-hcd
[ 9.242391] usb 1-1.4: Found UVC 1.10 device DMM 37UX568-ML (199e:9497)
[ 9.627061] usb 1-1.1: new high-speed USB device number 7 using xhci-hcd
[ 10.445162] usb 1-1.1: Found UVC 1.10 device DMM 37UX568-ML (199e:9497)