Sample Header Ad - 728x90

How do I debug USB device and determine what is causing errors?

0 votes
0 answers
54 views
I have two Ubuntu 22.04 systems. One is Intel the other Arm. I have them configured the same to interface to a QHYCCD camera. The device works flawlessly under Intel but is a mess under Arm. When attaching the device (USB3) the Intel systems recognizes it as a USB2 Cypress Westbridge device and a udev rule switches it to a USB3 QHYCCD camera. This occurs on both Intel and Arm. On the Arm system for some reason it then drops back from a USB3 device to a USB2 device which renders it useless. The dmesg output from both systems follows : Arm system: [ 3493.365288] usb 1-1.4: Product: WestBridge [ 3493.365290] usb 1-1.4: Manufacturer: Cypress [ 3493.365291] usb 1-1.4: SerialNumber: 0000000004BE [ 3493.365668] usb 1-1.4: Unsupported device [ 3493.507773] usb 1-1.4: USB disconnect, device number 37 [ 3493.664483] usb 2-1.4: new SuperSpeed USB device number 5 using xhci-hcd [ 3493.684946] usb 2-1.4: LPM exit latency is zeroed, disabling LPM. [ 3493.685658] usb 2-1.4: New USB device found, idVendor=1618, idProduct=0716 [ 3493.685661] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3493.685663] usb 2-1.4: Product: QHY715U3G20-20230106 [ 3493.685664] usb 2-1.4: Manufacturer: QHYCCD [ 3493.689205] usb 2-1.4: Unsupported device [ 3508.131437] usb 2-1.4: USB disconnect, device number 5 [ 3509.371808] usb 1-1.4: new high-speed USB device number 38 using xhci-hcd [ 3510.907742] usb 1-1.4: new high-speed USB device number 39 using xhci-hcd [ 3511.683398] usb 1-1.4: New USB device found, idVendor=1618, idProduct=0716 [ 3511.683401] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 3511.683403] usb 1-1.4: Product: QHY715U3G20-20230106 [ 3511.683405] usb 1-1.4: Manufacturer: QHYCCD [ 3511.683912] usb 1-1.4: Unsupported device On the Arm system Bus 2 is USB3 and Bus 1 is USB2. Intel System: [ 672.660287] usb 3-2: new high-speed USB device number 15 using xhci_hcd [ 672.789453] usb 3-2: New USB device found, idVendor=1618, idProduct=0715, bcdDevice= 1.00 [ 672.789477] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 672.789485] usb 3-2: Product: WestBridge [ 672.789491] usb 3-2: Manufacturer: Cypress [ 672.789495] usb 3-2: SerialNumber: 0000000004BE [ 673.543763] usb 3-2: USB disconnect, device number 15 [ 673.806497] usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd [ 673.820635] usb 4-2: LPM exit latency is zeroed, disabling LPM. [ 673.822660] usb 4-2: New USB device found, idVendor=1618, idProduct=0716, bcdDevice= 0.00 [ 673.822681] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 673.822689] usb 4-2: Product: QHY715U3G20-20230106 [ 673.822694] usb 4-2: Manufacturer: QHYCCD On the Intel system bus 4 is USB3 and bus 3 is USB2. On the Arm system there is an error "Unsupported device" reported (multiple times) and I am trying to determine where this is coming from or if this is red herring. Do I have a missing kernel driver? How do I approach this issue? Update (further info as requested) Here is a list of all the system I have tested this on: Raspberry PI5 Distributor ID: Ubuntu Description: Raspberry PI OS 64 bit Release: Codename: Bookworm Kernel: Raspberry PI5 Distributor ID: Ubuntu Description: Armbian 25.2.4 noble Release: 24.04 Codename: noble Kernel: 6.12.22-current-bcm2711 Odroid N2 Distributor ID: Ubuntu Description: Ubuntu 22.04.5 LTS Release: 22.04 Codename: jammy Kernel: 4.9.337-38 Odroid N2 Distributor ID: Ubuntu Description: Ubuntu 24.04.2 LTS Release: 24.04 Codename: noble Kernel: 6.6.77-130 Odroid N2 Distributor ID: Ubuntu Description: Ubuntu 22.04.5 LTS Release: 22.04 Codename: jammy Kernel: 6.12.22-current-meson64 Intel HP Laptop Distributor ID: Ubuntu Description: Ubuntu 22.04.5 LTS Release: 22.04 Codename: jammy Kernel: 6.8.0-59-generic The only systems the QHYCCD camera works properly on is the Intel laptop and the Raspberry PI with the official PI OS 64 bit.
Asked by WallyZ (111 rep)
May 15, 2025, 05:18 AM
Last activity: May 19, 2025, 01:25 AM