Can't connect to IMX219 - SDK no longer recoginze valid device

  1. Where did you get the camera module(s)?
    Other - www.botland.com.pl
  2. Model number of the product(s)?
    Buy Raspberry Pi NoIR Camera HD v2 8MPx - Botland - Robotic Shop
    USB3.0 shield plus (B0317) UC-593 Rev C
  3. What hardware/platform were you working on?
    Linux x86
  4. Instructions you have followed. (link/manual/etc.)
    https://github.com/ArduCAM/ArduCAM_USB_Camera_Shield
  5. Problems you were having?
    In some cases Arducam is not recoginzed correctly and can’t be used:
device num:4
index:   0	Serial:A-
index:   2	Serial:
L\ufffd-
index:   2	Serial:
index:   4	Serial:\ufffd
Cannot open camera.rtn_val = 65281

Expected output when bug doesn’t occur:

device num:4
index:   0	Serial:AU3S-2241-0089 <-- this is valid device with serial number and we can use it without issues
index:   2	Serial:20\ufffd-
index:   2	Serial:
index:   4	Serial:\ufffd
Serial: AU3S-2241-0089
  1. The dmesg log from your hardware?
(early initialization removed, because of post size limt)
[  +0.002316] ahci 0000:00:17.0: version 3.0
[  +0.005642] xhci_hcd 0000:00:14.0: xHCI Host Controller
[  +0.000341] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[  +0.000829] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[  +0.000628] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000001109810
[  +0.000038] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[  +0.001042] idma64 idma64.0: Found Intel integrated DMA 64-bit
[  +0.000812] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[  +0.000410] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000375] usb usb1: Product: xHCI Host Controller
[  +0.000413] usb usb1: Manufacturer: Linux 5.13.0-28-generic xhci-hcd
[  +0.000253] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input3
[  +0.000243] usb usb1: SerialNumber: 0000:00:14.0
[  +0.001574] hub 1-0:1.0: USB hub found
[  +0.000649] hub 1-0:1.0: 16 ports detected
[  +0.002647] xhci_hcd 0000:00:14.0: xHCI Host Controller
[  +0.000666] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[  +0.000658] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[  +0.000678] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[  +0.000659] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000098] i2c i2c-0: 2/2 memory slots populated (from DMI)
[  +0.000560] usb usb2: Product: xHCI Host Controller
[  +0.001105] usb usb2: Manufacturer: Linux 5.13.0-28-generic xhci-hcd
[  +0.000410] ahci 0000:00:17.0: AHCI 0001.0301 32 slots 3 ports 6 Gbps 0x7 impl SATA mode
[  +0.000322] usb usb2: SerialNumber: 0000:00:14.0
[  +0.000680] ahci 0000:00:17.0: flags: 64bit ncq sntf pm led clo only pio slum part ems deso sadm sds apst 
[  +0.000867] i2c i2c-0: Successfully instantiated SPD at 0x50
[  +0.000210] hub 2-0:1.0: USB hub found
[  +0.000022] hub 2-0:1.0: 10 ports detected
[  +0.019206] i915 0000:00:02.0: enabling device (0000 -> 0003)
[  +0.000950] checking generic (c0000000 258000) vs hw (dd000000 1000000)
[  +0.000002] checking generic (c0000000 258000) vs hw (b0000000 10000000)
[  +0.002202] scsi host0: ahci
[  +0.000697] scsi host1: ahci
[  +0.000562] scsi host2: ahci
[  +0.000405] ata1: SATA max UDMA/133 abar m2048@0xdf34b000 port 0xdf34b100 irq 126
[  +0.000401] ata2: SATA max UDMA/133 abar m2048@0xdf34b000 port 0xdf34b180 irq 126
[  +0.000377] ata3: SATA max UDMA/133 abar m2048@0xdf34b000 port 0xdf34b200 irq 126
[  +0.005498] pps pps0: new PPS source ptp0
[  +0.000398] igb 0000:02:00.0: added PHC on eth0
[  +0.000370] igb 0000:02:00.0: Intel(R) Gigabit Ethernet Network Connection
[  +0.000352] igb 0000:02:00.0: eth0: (PCIe:2.5Gb/s:Width x1) c4:00:ad:e1:f2:e2
[  +0.000350] igb 0000:02:00.0: eth0: PBA No: FFFFFF-0FF
[  +0.000340] igb 0000:02:00.0: Using MSI-X interrupts. 2 rx queue(s), 2 tx queue(s)
[  +0.001084] igb 0000:02:00.0 enp2s0: renamed from eth0
[  +0.049325] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_04.bin (v1.4)
[  +0.073620] e1000e 0000:00:1f.6 0000:00:1f.6 (uninitialized): registered PHC clock
[  +0.173699] usb 1-3: new high-speed USB device number 2 using xhci_hcd
[  +0.012007] ata1: SATA link up 6.0 Gbps (SStatus 133 SControl 300)
[  +0.000477] ata2: SATA link down (SStatus 4 SControl 300)
[  +0.004318] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[  +0.000003] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[  +0.000462] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[  +0.000690] ata1.00: supports DRM functions and may not be fully accessible
[  +0.000471] ata3: SATA link down (SStatus 4 SControl 300)
[  +0.000941] ata1.00: disabling queued TRIM support
[  +0.000001] ata1.00: ATA-11: Samsung SSD 870 EVO 1TB, SVT02B6Q, max UDMA/133
[  +0.000463] ata1.00: 1953525168 sectors, multi 1: LBA48 NCQ (depth 32), AA
[  +0.000990] i915 0000:00:02.0: [drm] failed to retrieve link info, disabling eDP
[  +0.001683] ata1.00: ACPI cmd ef/10:06:00:00:00:00 (SET FEATURES) succeeded
[  +0.000003] ata1.00: ACPI cmd f5/00:00:00:00:00:00 (SECURITY FREEZE LOCK) filtered out
[  +0.000369] ata1.00: ACPI cmd b1/c1:00:00:00:00:00 (DEVICE CONFIGURATION OVERLAY) filtered out
[  +0.000597] ata1.00: supports DRM functions and may not be fully accessible
[  +0.000802] ata1.00: disabling queued TRIM support
[  +0.001735] ata1.00: configured for UDMA/133
[  +0.036205] nvidia: loading out-of-tree module taints kernel.
[  +0.000229] scsi 0:0:0:0: Direct-Access     ATA      Samsung SSD 870  2B6Q PQ: 0 ANSI: 5
[  +0.000183] nvidia: module license 'NVIDIA' taints kernel.
[  +0.000510] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  +0.000012] ata1.00: Enabling discard_zeroes_data
[  +0.000032] sd 0:0:0:0: [sda] 1953525168 512-byte logical blocks: (1.00 TB/932 GiB)
[  +0.000006] sd 0:0:0:0: [sda] Write Protect is off
[  +0.000001] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[  +0.000009] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  +0.000311] Disabling lock debugging due to kernel taint
[  +0.012507] tsc: Refined TSC clocksource calibration: 3599.998 MHz
[  +0.000487] clocksource: tsc: mask: 0xffffffffffffffff max_cycles: 0x33e451ab1a6, max_idle_ns: 440795278720 ns
[  +0.000887] clocksource: Switched to clocksource tsc
[  +0.006227] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[  +0.000580] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[  +0.000167] e1000e 0000:00:1f.6 eth0: (PCI Express:2.5GT/s:Width x1) c4:00:ad:e1:f2:e1
[  +0.002248] e1000e 0000:00:1f.6 eth0: Intel(R) PRO/1000 Network Connection
[  +0.000679] e1000e 0000:00:1f.6 eth0: MAC: 12, PHY: 12, PBA No: FFFFFF-0FF
[  +0.002376] e1000e 0000:00:1f.6 eno1: renamed from eth0
[  +0.006768] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[  +0.002595] nvidia-nvlink: Nvlink Core is being initialized, major device number 235

[  +0.001216] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[  +0.007938] ata1.00: Enabling discard_zeroes_data
[  +0.001704]  sda: sda1 sda2
[  +0.042606] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  520.61.05  Thu Sep 29 05:30:25 UTC 2022
[  +0.000040] usb 1-3: New USB device found, idVendor=04b4, idProduct=6506, bcdDevice=50.00
[  +0.001398] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  +0.001292] hub 1-3:1.0: USB hub found
[  +0.000475] hub 1-3:1.0: 4 ports detected
[  +0.024488] ata1.00: Enabling discard_zeroes_data
[  +0.032553] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  520.61.05  Thu Sep 29 05:29:37 UTC 2022
[  +0.002356] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[  +0.000438] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1
[  +0.001455] sd 0:0:0:0: [sda] supports TCG Opal
[  +0.000432] sd 0:0:0:0: [sda] Attached SCSI disk
[  +0.012907] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[  +0.012649] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
[  +0.037347] usb 2-3: new SuperSpeed USB device number 2 using xhci_hcd
[  +0.020552] usb 2-3: New USB device found, idVendor=04b4, idProduct=6504, bcdDevice=50.00
[  +0.001343] usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  +0.002549] hub 2-3:1.0: USB hub found
[  +0.001344] hub 2-3:1.0: 4 ports detected
[  +0.121935] usb 1-4: new high-speed USB device number 3 using xhci_hcd
[  +0.154733] usb 1-4: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=23.11
[  +0.000603] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000583] usb 1-4: Product: USB2.1 Hub
[  +0.000504] usb 1-4: Manufacturer: GenesysLogic
[  +0.001959] hub 1-4:1.0: USB hub found
[  +0.000787] hub 1-4:1.0: 2 ports detected
[  +0.072817] raid6: avx2x4   gen() 728288 MB/s
[  +0.047998] raid6: avx2x4   xor() 329113 MB/s
[  +0.000191] usb 2-4: new SuperSpeed USB device number 3 using xhci_hcd
[  +0.022783] usb 2-4: New USB device found, idVendor=05e3, idProduct=0620, bcdDevice=23.11
[  +0.000391] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000383] usb 2-4: Product: USB3.2 Hub
[  +0.000404] usb 2-4: Manufacturer: GenesysLogic
[  +0.002777] hub 2-4:1.0: USB hub found
[  +0.000717] hub 2-4:1.0: 2 ports detected
[  +0.020353] raid6: avx2x2   gen() 711981 MB/s
[  +0.048002] raid6: avx2x2   xor() 435125 MB/s
[  +0.004008] usb 1-3.2: new high-speed USB device number 4 using xhci_hcd
[  +0.043994] raid6: avx2x1   gen() 619076 MB/s
[  +0.048010] raid6: avx2x1   xor() 345571 MB/s
[  +0.008620] usb 1-3.2: New USB device found, idVendor=04b4, idProduct=1003, bcdDevice= 0.00
[  +0.000347] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0.000345] usb 1-3.2: Product: PERCIPIO DEVICEEE  
[  +0.000335] usb 1-3.2: Manufacturer: PERCIPIO
[  +0.000323] usb 1-3.2: SerialNumber: 207000134827
[  +0.038026] raid6: sse2x4   gen() 289802 MB/s
[  +0.040313] usb 2-3.1: new SuperSpeed USB device number 4 using xhci_hcd
[  +0.007680] raid6: sse2x4   xor() 169007 MB/s
[  +0.048010] raid6: sse2x2   gen() 303737 MB/s
[  +0.047999] raid6: sse2x2   xor() 184314 MB/s
[  +0.043999] usb 1-11: new full-speed USB device number 5 using xhci_hcd
[  +0.003990] raid6: sse2x1   gen() 253967 MB/s
[  +0.022950] usb 2-3.1: New USB device found, idVendor=1689, idProduct=2304, bcdDevice= 1.06
[  +0.000328] usb 2-3.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[  +0.000322] usb 2-3.1: Product: USB Camera
[  +0.000321] usb 2-3.1: Manufacturer: Generic
[  +0.000349] usb 2-3.1: SerialNumber: 200901010001
[  +0.023735] raid6: sse2x1   xor() 128433 MB/s
[  +0.000319] raid6: using algorithm avx2x4 gen() 32189 MB/s
[  +0.000306] raid6: .... xor() 329113 MB/s, rmw enabled
[  +0.000307] raid6: using avx2x2 recovery algorithm
[  +0.000993] xor: automatically using best checksumming function   avx       
[  +0.001043] async_tx: api initialized (async)
[  +0.038878] Btrfs loaded, crc32c=crc32c-intel, zoned=yes
[  +0.043842] EXT4-fs (sda2): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
[  +0.011972] usb 1-11: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01
[  +0.000683] usb 1-11: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  +0.105624] usb 1-4.1: new high-speed USB device number 6 using xhci_hcd
[  +0.042335] systemd[1]: Inserted module 'autofs4'
[  +0.033069] systemd[1]: systemd 245.4-4ubuntu3.15 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[  +0.020967] systemd[1]: Detected architecture x86-64.
[  +0.033340] systemd[1]: Set hostname to <dvt10-9>.
[  +0.036303] usb 1-4.1: New USB device found, idVendor=2bc5, idProduct=050b, bcdDevice= 1.00
[  +0.000403] usb 1-4.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[  +0.000399] usb 1-4.1: Product: USB 2.0 Camera
[  +0.000394] usb 1-4.1: Manufacturer: Sonix Technology Co., Ltd.
[  +0.000397] usb 1-4.1: SerialNumber: AQCD5220069
[  +0.036458] usb 1-3.3: new full-speed USB device number 7 using xhci_hcd
[  +0.000401] usb 1-3.3: New USB device found, idVendor=2886, idProduct=0018, bcdDevice= 2.00
[  +0.000447] usb 1-3.3: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[  +0.000002] usb 1-3.3: Product: ReSpeaker 4 Mic Array (UAC1.0)
[  +0.000000] usb 1-3.3: Manufacturer: SEEED
[  +0.001042] EXT4-fs (sda2): re-mounted. Opts: (null). Quota mode: none.
[  +0.004492] usb 2-4.2: new SuperSpeed USB device number 5 using xhci_hcd
[  +0.000888] FS-Cache: Netfs 'nfs' registered for caching
[  +0.003219] systemd-journald[430]: Received client request to flush runtime journal.
[  +0.020262] usb 2-4.2: New USB device found, idVendor=2bc5, idProduct=060b, bcdDevice= 0.01
[  +0.000684] usb 2-4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000501] usb 2-4.2: Product: ORBBEC Depth Sensor
[  +0.000503] usb 2-4.2: Manufacturer: Orbbec(R)
[  +0.077903] usb 2-3.4: new SuperSpeed USB device number 6 using xhci_hcd
[  +0.020480] usb 2-3.4: LPM exit latency is zeroed, disabling LPM.
[  +0.000958] usb 2-3.4: New USB device found, idVendor=04b4, idProduct=03f2, bcdDevice= 0.00
[  +0.000489] usb 2-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000406] usb 2-3.4: Product: FX3
[  +0.000398] usb 2-3.4: Manufacturer: Arducam
[  +0.007668] NFS: Registering the id_resolver key type
[  +0.000782] Key type id_resolver registered
[  +0.000450] Key type id_legacy registered
[  +0.034593] nvidia_uvm: module uses symbols from proprietary module nvidia, inheriting taint.
[  +0.003492] nvidia-uvm: Loaded the UVM driver, major device number 511.
[  +0.000095] mc: Linux media interface: v0.10
[  +0.014973] usbcore: registered new interface driver snd-usb-audio
[  +0.103636] mei_me 0000:00:16.0: enabling device (0004 -> 0006)
[  +0.006174] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[  +0.000198] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[  +0.000535] snd_hda_intel 0000:01:00.1: Disabling MSI
[  +0.000005] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
[  +0.024301] Bluetooth: Core ver 2.22
[  +0.000015] NET: Registered protocol family 31
[  +0.012321] usb 2-3.1: Found UVC 1.00 device USB Camera (1689:2304)
[  +0.004674] Bridge firewalling registered
[  +0.000019] IPv6: ADDRCONF(NETDEV_CHANGE): br-f9884795b2d8: link becomes ready
[  +0.307780] traps: light-locker[2365] trap int3 ip:7f15bd12e295 sp:7fffde87e1b0 error:0 in libglib-2.0.so.0.6400.6[7f15bd0f2000+84000]
[  +0.041461] traps: light-locker[2407] trap int3 ip:7f25c268d295 sp:7ffe84aeec90 error:0 in libglib-2.0.so.0.6400.6[7f25c2651000+84000]
[Dec12 06:08] usb 1-3.2: usbfs: process 34693 (nodelet) did not claim interface 0 before use
[  +5.559259] TCP: request_sock_TCP: Possible SYN flooding on port 35869. Sending cookies.  Check SNMP counters.
[Dec12 06:09] usb 1-3.2: USB disconnect, device number 4
[  +0.240933] usb 1-3.2: new high-speed USB device number 8 using xhci_hcd
[  +0.100338] usb 1-3.2: New USB device found, idVendor=04b4, idProduct=1003, bcdDevice= 0.00
[  +0.000007] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0.000003] usb 1-3.2: Product: PERCIPIO DEVICEEE  
[  +0.000002] usb 1-3.2: Manufacturer: PERCIPIO
[  +0.000001] usb 1-3.2: SerialNumber: 207000134827
[  +0.291795] [UFW BLOCK] IN=wlp3s0 OUT= MAC=f8:9e:94:9c:4f:4b:20:a6:cd:cb:4d:6e:08:00 SRC=192.168.5.84 DST=192.168.5.210 LEN=165 TOS=0x00 PREC=0x00 TTL=64 ID=1485 DF PROTO=UDP SPT=161 DPT=58007 LEN=145 
[Dec12 07:54] xhci_hcd 0000:00:14.0: remove, state 1
[  +0.000017] usb usb2: USB disconnect, device number 1
[  +0.000005] usb 2-3: USB disconnect, device number 2
[  +0.000004] usb 2-3.1: USB disconnect, device number 4
[  +0.044599] usb 2-3.4: USB disconnect, device number 6
[  +0.001193] usb 2-4: USB disconnect, device number 3
[  +0.000010] usb 2-4.2: USB disconnect, device number 5
[  +0.002124] xhci_hcd 0000:00:14.0: USB bus 2 deregistered
[  +0.000122] xhci_hcd 0000:00:14.0: remove, state 1
[  +0.000013] usb usb1: USB disconnect, device number 1
[  +0.000006] usb 1-3: USB disconnect, device number 2
[  +0.000005] usb 1-3.2: USB disconnect, device number 8
[  +0.000623] usb 1-3.3: USB disconnect, device number 7
[  +0.002301] usb 1-4: USB disconnect, device number 3
[  +0.000009] usb 1-4.1: USB disconnect, device number 6
[  +0.065014] usb 1-11: USB disconnect, device number 5
[  +0.002165] xhci_hcd 0000:00:14.0: USB bus 1 deregistered
[  +0.023638] [UFW BLOCK] IN=wlp3s0 OUT= MAC=f8:9e:94:9c:4f:4b:20:a6:cd:cb:4d:6e:08:00 SRC=192.168.5.84 DST=192.168.5.210 LEN=165 TOS=0x00 PREC=0x00 TTL=64 ID=24364 DF PROTO=UDP SPT=161 DPT=45801 LEN=145 
[  +0.997615] xhci_hcd 0000:00:14.0: xHCI Host Controller
[  +0.000019] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 1
[  +0.001145] xhci_hcd 0000:00:14.0: hcc params 0x200077c1 hci version 0x100 quirks 0x0000000001109810
[  +0.000086] [UFW BLOCK] IN=wlp3s0 OUT= MAC=f8:9e:94:9c:4f:4b:20:a6:cd:cb:4d:6e:08:00 SRC=192.168.5.84 DST=192.168.5.210 LEN=165 TOS=0x00 PREC=0x00 TTL=64 ID=25832 DF PROTO=UDP SPT=161 DPT=45801 LEN=145 
[  +0.000854] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.13
[  +0.000008] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000005] usb usb1: Product: xHCI Host Controller
[  +0.000003] usb usb1: Manufacturer: Linux 5.13.0-28-generic xhci-hcd
[  +0.000004] usb usb1: SerialNumber: 0000:00:14.0
[  +0.000293] hub 1-0:1.0: USB hub found
[  +0.000044] hub 1-0:1.0: 16 ports detected
[  +0.001936] xhci_hcd 0000:00:14.0: xHCI Host Controller
[  +0.000004] xhci_hcd 0000:00:14.0: new USB bus registered, assigned bus number 2
[  +0.000001] xhci_hcd 0000:00:14.0: Host supports USB 3.0 SuperSpeed
[  +0.000030] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.13
[  +0.000002] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  +0.000001] usb usb2: Product: xHCI Host Controller
[  +0.000001] usb usb2: Manufacturer: Linux 5.13.0-28-generic xhci-hcd
[  +0.000001] usb usb2: SerialNumber: 0000:00:14.0
[  +0.000126] hub 2-0:1.0: USB hub found
[  +0.000039] hub 2-0:1.0: 10 ports detected
[  +0.335640] usb 1-3: new high-speed USB device number 2 using xhci_hcd
[  +0.148299] usb 1-3: New USB device found, idVendor=04b4, idProduct=6506, bcdDevice=50.00
[  +0.000012] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  +0.001188] hub 1-3:1.0: USB hub found
[  +0.000051] hub 1-3:1.0: 4 ports detected
[  +0.126476] usb 2-3: new SuperSpeed USB device number 2 using xhci_hcd
[  +0.024210] usb 2-3: New USB device found, idVendor=04b4, idProduct=6504, bcdDevice=50.00
[  +0.000012] usb 2-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  +0.001364] hub 2-3:1.0: USB hub found
[  +0.000033] hub 2-3:1.0: 4 ports detected
[  +0.126330] usb 1-4: new high-speed USB device number 3 using xhci_hcd
[  +0.151209] usb 1-4: New USB device found, idVendor=05e3, idProduct=0610, bcdDevice=23.11
[  +0.000011] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000005] usb 1-4: Product: USB2.1 Hub
[  +0.000003] usb 1-4: Manufacturer: GenesysLogic
[  +0.003696] hub 1-4:1.0: USB hub found
[  +0.000305] hub 1-4:1.0: 2 ports detected
[  +0.121004] usb 2-4: new SuperSpeed USB device number 3 using xhci_hcd
[  +0.022450] usb 2-4: New USB device found, idVendor=05e3, idProduct=0620, bcdDevice=23.11
[  +0.000010] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000005] usb 2-4: Product: USB3.2 Hub
[  +0.000003] usb 2-4: Manufacturer: GenesysLogic
[  +0.004580] hub 2-4:1.0: USB hub found
[  +0.000346] hub 2-4:1.0: 2 ports detected
[  +0.076368] usb 1-3.2: new high-speed USB device number 4 using xhci_hcd
[  +0.104966] usb 1-3.2: New USB device found, idVendor=04b4, idProduct=1003, bcdDevice= 0.00
[  +0.000013] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0.000005] usb 1-3.2: Product: PERCIPIO DEVICEEE  
[  +0.000004] usb 1-3.2: Manufacturer: PERCIPIO
[  +0.000004] usb 1-3.2: SerialNumber: 207000134827
[  +0.079442] usb 2-3.1: new SuperSpeed USB device number 4 using xhci_hcd
[  +0.147625] usb 1-11: new full-speed USB device number 5 using xhci_hcd
[  +0.027967] usb 2-3.1: New USB device found, idVendor=1689, idProduct=2304, bcdDevice= 1.06
[  +0.000013] usb 2-3.1: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[  +0.000005] usb 2-3.1: Product: USB Camera
[  +0.000004] usb 2-3.1: Manufacturer: Generic
[  +0.000003] usb 2-3.1: SerialNumber: 200901010001
[  +0.017864] usb 2-3.1: Found UVC 1.00 device USB Camera (1689:2304)
[  +0.103944] usb 1-11: New USB device found, idVendor=8087, idProduct=0029, bcdDevice= 0.01
[  +0.000014] usb 1-11: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[  +0.102343] usb 1-4.1: new high-speed USB device number 6 using xhci_hcd
[  +0.023557] Bluetooth: hci0: Firmware revision 0.0 build 121 week 36 2020
[  +0.001995] input: USB Camera: KingSen 8M camera as /devices/pci0000:00/0000:00:14.0/usb2/2-3/2-3.1/2-3.1:1.0/input/input22
[  +0.059975] Bluetooth: hci0: MSFT filter_enable is already on
[  +0.088212] usb 1-4.1: New USB device found, idVendor=2bc5, idProduct=050b, bcdDevice= 1.00
[  +0.000003] usb 1-4.1: New USB device strings: Mfr=2, Product=1, SerialNumber=3
[  +0.000002] usb 1-4.1: Product: USB 2.0 Camera
[  +0.000001] usb 1-4.1: Manufacturer: Sonix Technology Co., Ltd.
[  +0.000001] usb 1-4.1: SerialNumber: AQCD5220069
[  +0.011090] usb 1-4.1: Found UVC 1.00 device USB 2.0 Camera (2bc5:050b)
[  +0.014220] input: USB 2.0 Camera: USB Camera as /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.1/1-4.1:1.0/input/input23
[  +0.012723] usb 1-3.3: new full-speed USB device number 7 using xhci_hcd
[  +0.105408] usb 1-3.3: New USB device found, idVendor=2886, idProduct=0018, bcdDevice= 2.00
[  +0.000003] usb 1-3.3: New USB device strings: Mfr=1, Product=3, SerialNumber=0
[  +0.000001] usb 1-3.3: Product: ReSpeaker 4 Mic Array (UAC1.0)
[  +0.000001] usb 1-3.3: Manufacturer: SEEED
[  +0.078925] usb 2-4.2: new SuperSpeed USB device number 5 using xhci_hcd
[  +0.020063] usb 2-4.2: New USB device found, idVendor=2bc5, idProduct=060b, bcdDevice= 0.01
[  +0.000005] usb 2-4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000002] usb 2-4.2: Product: ORBBEC Depth Sensor
[  +0.000002] usb 2-4.2: Manufacturer: Orbbec(R)
[  +0.083657] usb 2-3.4: new SuperSpeed USB device number 6 using xhci_hcd
[  +0.020401] usb 2-3.4: LPM exit latency is zeroed, disabling LPM.
[  +0.000543] usb 2-3.4: New USB device found, idVendor=04b4, idProduct=03f2, bcdDevice= 0.00
[  +0.000002] usb 2-3.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000001] usb 2-3.4: Product: FX3
[  +0.000001] usb 2-3.4: Manufacturer: Arducam
[Dec12 07:55] [UFW BLOCK] IN=wlp3s0 OUT= MAC=01:00:5e:00:00:fb:52:44:e2:4a:b3:39:08:00 SRC=192.168.5.115 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=23742 PROTO=2 
[Dec12 07:56] usb 1-3.2: usbfs: process 40146 (nodelet) did not claim interface 0 before use
[ +18.131900] nodelet[40063]: segfault at 7f0ab3fff9d0 ip 00007f0b65413aab sp 00007ffffd859ac0 error 4 in libpthread-2.31.so[7f0b65410000+11000]
[  +0.000026] Code: 0f 1e fa 41 57 41 56 41 55 41 54 55 53 48 83 ec 68 64 48 8b 04 25 28 00 00 00 48 89 44 24 58 31 c0 48 85 ff 0f 84 cd 01 00 00 <8b> 87 d0 02 00 00 49 89 ff 85 c0 0f 88 bc 01 00 00 48 39 bf 28 06
[  +0.135168] [UFW BLOCK] IN=wlp3s0 OUT= MAC=01:00:5e:00:00:fb:52:44:e2:4a:b3:39:08:00 SRC=192.168.5.115 DST=224.0.0.251 LEN=32 TOS=0x00 PREC=0x00 TTL=1 ID=37286 PROTO=2 
[  +5.604602] usb 1-3.2: usbfs: process 51454 (nodelet) did not claim interface 0 before use
[  +6.773748] TCP: request_sock_TCP: Possible SYN flooding on port 43147. Sending cookies.  Check SNMP counters.
[  +1.375988] TCP: request_sock_TCP: Possible SYN flooding on port 45315. Sending cookies.  Check SNMP counters.
[Dec12 07:59] TCP: request_sock_TCP: Possible SYN flooding on port 46793. Sending cookies.  Check SNMP counters.
[  +6.753962] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 6 ep 2 , HC probably busted
[  +0.000373] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 6 ep 2 , HC probably busted
[  +0.000375] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 6 ep 2 , HC probably busted
[  +0.000375] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 6 ep 2 , HC probably busted
[  +0.000375] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 6 ep 2 , HC probably busted
[  +0.000375] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 6 ep 2 , HC probably busted
[  +0.000375] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 6 ep 2 , HC probably busted
[  +0.000375] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 6 ep 2 , HC probably busted
[  +0.000374] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 198 for slot 6 ep 2 , HC probably busted
[  +0.000138] xhci_hcd 0000:00:14.0: WARN waiting for error on ep to be cleared
[  +0.000001] uvcvideo 2-3.1:1.1: Failed to resubmit video URB (-22).
[  +0.798893] TCP: request_sock_TCP: Possible SYN flooding on port 36415. Sending cookies.  Check SNMP counters.
[ +14.351165] usb 1-3.2: USB disconnect, device number 4
[  +0.232865] usb 1-3.2: new high-speed USB device number 8 using xhci_hcd
[  +0.104538] usb 1-3.2: New USB device found, idVendor=04b4, idProduct=1003, bcdDevice= 0.00
[  +0.000003] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  +0.000002] usb 1-3.2: Product: PERCIPIO DEVICEEE  
[  +0.000001] usb 1-3.2: Manufacturer: PERCIPIO
[  +0.000000] usb 1-3.2: SerialNumber: 207000134827
[  +0.273252] [UFW BLOCK] IN=wlp3s0 OUT= MAC=f8:9e:94:9c:4f:4b:20:a6:cd:cb:4d:6e:08:00 SRC=192.168.5.84 DST=192.168.5.210 LEN=165 TOS=0x00 PREC=0x00 TTL=64 ID=20391 DF PROTO=UDP SPT=161 DPT=37229 LEN=145 
[  +1.004630] [UFW BLOCK] IN=wlp3s0 OUT= MAC=f8:9e:94:9c:4f:4b:20:a6:cd:cb:4d:6e:08:00 SRC=192.168.5.84 DST=192.168.5.210 LEN=165 TOS=0x00 PREC=0x00 TTL=64 ID=36396 DF PROTO=UDP SPT=161 DPT=37229 LEN=145 
  1. Troubleshooting attempts you’ve made?
    Reboot/power cycle helps to recover from this. Sometimes restarting USB controller helps:
echo -n "0000:00:14.0" | sudo tee /sys/bus/pci/drivers/xhci_hcd/unbind; sleep 1; echo -n "0000:00:14.0" | sudo tee /sys/bus/pci/drivers/xhci_hcd/bind
  1. What help do you need?
    I would like to know the reason for this inconsistent behavior from SDK. Some debug hints or suggested solutions are also welcome.

Hi edul,
Sorry for the late reply. :flushed:
Our chief engineer said that he faced the same problem before. Do you have another USB 3.0 cable line and camera shield board available?
The area I mark in the screenshot below may be loose. If you do not have an extra one, I can contact the sales department to arrange for a replacement.
image

Hi Dion,

Thanks for suggestions. I will check if replacing USB 3.0 cable or camera shield board will help.

The area I mark in the screenshot below may be loose.

Do you think re-soldering this connector is possible and could potentially help?

Hi,

If it truly has a loose problem, we suggest that we do this rather than the customer…

Hi Dion,

I encountered similar problem.
Few times camera start correctly, then it couldn’t stream data correctly and return USB_CAMERA_USB_TIMEOUT_ERROR all the time.
After few more attempts it fails to start with USB_CAMERA_USB_CREATE_ERROR and return some garbage instead serial numbers.

Is there any other reason than faulty USB connector that could cause such issues? Can this be somehow connected to insufficient power delivered via USB to dev shield?

There may be two reasons about your problem.

  1. The USB bandwidth is limited, please check if your PC has connected several USB devices.
  2. You can change another USB 3.0 cable and test it again.