Hi!
I have tested the kit with 2 cameras again. These are the log messages I get.
Inserting camera 1:
[ 76.889972] usb 2-1: new SuperSpeed USB device number 3 using xhci_hcd
[ 76.913131] usb 2-1: Parent hub missing LPM exit latency info. Power management will be impacted.
[ 76.918371] usb 2-1: New USB device found, idVendor=2676, idProduct=ba02
[ 76.918481] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 76.918817] usb 2-1: Product: acA1300-200um
[ 76.918908] usb 2-1: Manufacturer: Basler
[ 76.918991] usb 2-1: SerialNumber: 21927838
Removing camera 1:
[ 113.211289] usb 2-1: USB disconnect, device number 3
Inserting camera 1,2:
[ 145.745723] usb 2-1: new SuperSpeed USB device number 4 using xhci_hcd
[ 145.768347] usb 2-1: Parent hub missing LPM exit latency info. Power management will be impacted.
[ 145.773184] usb 2-1: New USB device found, idVendor=2676, idProduct=ba02
[ 145.773296] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 145.773384] usb 2-1: Product: acA1300-200um
[ 145.773465] usb 2-1: Manufacturer: Basler
[ 145.773540] usb 2-1: SerialNumber: 21927838
[ 152.342443] usb 2-2: new SuperSpeed USB device number 5 using xhci_hcd
[ 152.364396] usb 2-2: Parent hub missing LPM exit latency info. Power management will be impacted.
[ 152.368501] usb 2-2: New USB device found, idVendor=2676, idProduct=ba02
[ 152.368614] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 152.368708] usb 2-2: Product: acA1300-200um
[ 152.368787] usb 2-2: Manufacturer: Basler
[ 152.368865] usb 2-2: SerialNumber: 21927840
Executing the program multiple times:
[ 218.120761] Warning: Grab_MultipleCa: PID 2218: Using deprecated CP15 barrier instruction
[ 218.484020] warning: `Grab_MultipleCa' uses 32-bit capabilities (legacy support in use)
[ 274.973610] Warning: Grab_MultipleCa: PID 2265: Using deprecated CP15 barrier instruction
[ 276.173416] Warning: Grab_MultipleCa: PID 2274: Using deprecated CP15 barrier instruction
[ 277.381178] Warning: Grab_MultipleCa: PID 2283: Using deprecated CP15 barrier instruction
[ 278.460816] Warning: Grab_MultipleCa: PID 2292: Using deprecated CP15 barrier instruction
[ 279.683402] Warning: Grab_MultipleCa: PID 2301: Using deprecated CP15 barrier instruction
[ 280.901609] Warning: Grab_MultipleCa: PID 2310: Using deprecated CP15 barrier instruction
[ 282.131217] Warning: Grab_MultipleCa: PID 2319: Using deprecated CP15 barrier instruction
[ 283.135978] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 283.136231] xhci_hcd 0000:01:00.0: WARN Event TRB for slot 6 ep 2 with no TDs queued?
[ 283.331148] Warning: Grab_MultipleCa: PID 2328: Using deprecated CP15 barrier instruction
[ 284.553554] Warning: Grab_MultipleCa: PID 2337: Using deprecated CP15 barrier instruction
[ 285.802104] Warning: Grab_MultipleCa: PID 2346: Using deprecated CP15 barrier instruction
[ 287.042466] Warning: Grab_MultipleCa: PID 2355: Using deprecated CP15 barrier instruction
[ 288.336083] Warning: Grab_MultipleCa: PID 2364: Using deprecated CP15 barrier instruction
[ 289.623044] Warning: Grab_MultipleCa: PID 2373: Using deprecated CP15 barrier instruction
[ 290.841261] Warning: Grab_MultipleCa: PID 2382: Using deprecated CP15 barrier instruction
[ 291.898524] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 291.899578] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 291.899800] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 291.900631] xhci_hcd 0000:01:00.0: ERROR Unknown event condition, HC probably busted
[ 291.900784] xhci_hcd 0000:01:00.0: ERROR Unknown event condition, HC probably busted
[ 291.900947] xhci_hcd 0000:01:00.0: ERROR Unknown event condition, HC probably busted
[ 291.901113] xhci_hcd 0000:01:00.0: ERROR Unknown event condition, HC probably busted
[ 291.901280] xhci_hcd 0000:01:00.0: ERROR Transfer event TRB DMA ptr not part of current TD
[ 291.909552] xhci_hcd 0000:01:00.0: WARN Successful completion on short TX
[ 291.921469] Grab_MultipleCa[2382]: unhandled level 3 translation fault (11) at 0x0000000c, esr 0x92000007
[ 291.921477] pgd = ffffffc0d3c6c000
[ 291.924881] [0000000c] *pgd=0000000151c6e003, *pmd=0000000152eef003, *pte=0000000000000000
[ 291.933230]
[ 291.933238] CPU: 2 PID: 2382 Comm: Grab_MultipleCa Not tainted 3.10.96+ #1
[ 291.933243] task: ffffffc0e42d1300 ti: ffffffc0d20a8000 task.ti: ffffffc0d20a8000
[ 291.933251] PC is at 0xf67aa3dc
[ 291.933255] LR is at 0xf67c6b30
[ 291.933259] pc : [<00000000f67aa3dc>] lr : [<00000000f67c6b30>] pstate: a00d0010
[ 291.933263] sp : 00000000ffc57810
[ 291.933266] x12: 0000000000000000
[ 291.933271] x11: 0000000000000001 x10: 0000000000000001
[ 291.933278] x9 : 0000000000000314 x8 : 00000000f680f000
[ 291.933284] x7 : 00000000ffc578fc x6 : 00000000e2000008
[ 291.933290] x5 : 00000000001fd7e4 x4 : 00000000001a7f08
[ 291.933297] x3 : 0000000000000000 x2 : 0000000000000001
[ 291.933303] x1 : 0000000000000000 x0 : 00000000e2000102
[ 291.933309]
[ 291.933318] Library at 0xf67aa3dc: 0xf6793000 /opt/pylon5/lib/libuxapi-5.0.1.so
[ 291.940619] Library at 0xf67c6b30: 0xf6793000 /opt/pylon5/lib/libuxapi-5.0.1.so
[ 291.947938] vdso base = 0xf757e000
[ 291.969016] Warning: Grab_MultipleCa: PID 2391: Using deprecated CP15 barrier instruction
[ 293.241971] Warning: Grab_MultipleCa: PID 2401: Using deprecated CP15 barrier instruction
[ 294.460103] Warning: Grab_MultipleCa: PID 2410: Using deprecated CP15 barrier instruction
[ 295.679521] Warning: Grab_MultipleCa: PID 2419: Using deprecated CP15 barrier instruction
[ 296.970025] Warning: Grab_MultipleCa: PID 2428: Using deprecated CP15 barrier instruction
[ 297.986077] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 297.986292] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 297.986397] xhci_hcd 0000:01:00.0: WARN Successful completion on short TX
[ 297.987292] xhci_hcd 0000:01:00.0: WARN Event TRB for slot 6 ep 2 with no TDs queued?
[ 297.987578] xhci_hcd 0000:01:00.0: WARN Event TRB for slot 6 ep 2 with no TDs queued?
[ 298.190852] Warning: Grab_MultipleCa: PID 2437: Using deprecated CP15 barrier instruction
[ 299.461588] Warning: Grab_MultipleCa: PID 2446: Using deprecated CP15 barrier instruction
[ 300.701441] Warning: Grab_MultipleCa: PID 2455: Using deprecated CP15 barrier instruction
[ 301.979318] Warning: Grab_MultipleCa: PID 2464: Using deprecated CP15 barrier instruction
[ 303.010343] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 303.014905] xhci_hcd 0000:01:00.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 303.025907] xhci_hcd 0000:01:00.0: WARN Event TRB for slot 6 ep 2 with no TDs queued?
Removing camera 1,2:
[ 393.153021] usb 2-2: USB disconnect, device number 5
[ 413.472538] usb 2-1: USB disconnect, device number 4
This time the output of the program was a LIBUSB TIMEOUT message:
Unable to ensure stalled pipe 0, status=0xe2100007 LIBUSB_ERROR_TIMEOUT
Unable to ensure stalled pipe 0, status=0xe2100007 LIBUSB_ERROR_TIMEOUT
Unable to ensure stalled pipe 0, status=0xe2100007 LIBUSB_ERROR_TIMEOUT
: Failed to stall pipe. (0xe2100007)
An exception occurred.
PrepareGrab failed for device '2676:ba02:2:2:5'. Error: 'UX Status: Libusb error: LIBUSB_ERROR_TIMEOUT.'
After that, I have executed the whole process again from the beginning. This time a LIBUSB NO_DEVICE error was the output of the program:
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Unable to reset pipe 0, status=0xe2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Unable to reset pipe 0, status=0xe2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Unable to reset pipe 0, status=0xe2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed. Resetting pipe.
Unable to stall pipe 0, status=0xe2100004 LIBUSB_ERROR_NO_DEVICE
Failed to stall control channel pipe 1, status=0xE2100004
Unable to reset pipe 0, status=0xe2100004
Failed to reset control channel pipe 1, status=0xE2100004
Unable to transmit data, this may occur due to removal of a device, status=LIBUSB_ERROR_NO_DEVICE, bytes read=0.
: Sending read mem command failed.
: Failed to read SI Control value. (0xe2000009)
CompleteXfers: Instance = 3: Unexpected timeout while waiting for aborted requests.
ABORT PIPE DOES NOT WORK. MUST RECOVER FROM BAD SETUP. CYCLING PORT TO RECOVER.
CompleteXfers: Instance = 3: Unexpected timeout while waiting for aborted requests.
ABORT PIPE DOES NOT WORK. MUST RECOVER FROM BAD SETUP. CYCLING PORT TO RECOVER.
And for this second case, the only difference in dmesg is that the two cameras disconnects/disappears automatically after the error message shows up:
[ 221.380962] xhci_hcd 0000:01:00.0: xHCI host not responding to stop endpoint command.
[ 221.381062] xhci_hcd 0000:01:00.0: Assuming host is dying, halting host.
[ 221.386245] xhci_hcd 0000:01:00.0: HC died; cleaning up
[ 221.392606] usb 2-1: USB disconnect, device number 3
[ 221.399515] usb 2-2: USB disconnect, device number 4
I hope it’s not a hardware problem as you mentioned before. Maybe an other option is that the 32bit Pylon software is not stable on Jetston TX1. (I have tested only the 64bit version Pylon on Ubuntu Host PC)
Anyway, I am testing the board connecting one camera to the PCI extension card and one to the on-board USB port, and I have no error messages like the above yet. Furthermore, If I connect the 2 cameras to a USB-HUB which is connected to the on-board USB port, I get no errors either. So it seems to be a PCI-related problem…
Any help and comment would be appreciated! Thanks!