librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Connectivity issues with depth stream

Open TheMikeyR opened this issue 8 years ago • 12 comments


Required Info
Camera Model D415
Firmware Version 05.08.15.00
Operating System & Version Linux (Ubuntu 16.04.4)
Kernel Version (Linux Only) 4.4.0-119-generic
Platform PC
SDK Version v2.10.3
Language C++

Issue Description

I'm running the rs-capture example without any modifications. I've tested with two D415, one with original cable and one with original cable + 5m deltaco active usb3.0 extender.

When I plug in the device I get 2-3 depth frames and then it chrashes, the rgb stream works fine and will continue but depth freeze. If I replug the cable without closing the program it will stream just fine on both devices.

It seems to me, to get consistent depth stream frame I have to start program, let it freeze (takes 2-3 frames), then take out the USB and replug it. I have patched my drivers with your realsense script (I can get the hardware clock). I have the same issue on a non-supported kernel 4.14.

It also seems if I get it to work, if I stop the script and start it again, it will hang after a couple of frames. The weird thing is that the RGB stream works fine.

here is udevadm monitor:

KERNEL[1063.399955] remove   /2-6:1.3/media2 (media)
UDEV  [1063.400620] remove   /2-6:1.3/media2 (media)
KERNEL[1063.421059] remove   /2-6:1.0/input/input27/event12 (input)
UDEV  [1063.423801] remove   /2-6:1.0/input/input27/event12 (input)
KERNEL[1063.449770] remove   /2-6:1.0/input/input27 (input)
KERNEL[1063.450377] remove   /2-6:1.0/media1 (media)
UDEV  [1063.451816] remove   /2-6:1.0/input/input27 (input)
UDEV  [1063.451910] remove   /2-6:1.0/media1 (media)
KERNEL[1063.451976] remove   /2-6:1.3/media4 (media)
UDEV  [1063.452645] remove   /2-6:1.3/media4 (media)
KERNEL[1063.488923] remove   /2-6:1.0/input/input26/event19 (input)
UDEV  [1063.491394] remove   /2-6:1.0/input/input26/event19 (input)
KERNEL[1063.509821] remove   /2-6:1.0/input/input26 (input)
KERNEL[1063.510483] remove   /2-6:1.0/media3 (media)
UDEV  [1063.511586] remove   /2-6:1.0/input/input26 (input)
UDEV  [1063.512752] remove   /2-6:1.0/media3 (media)
KERNEL[1096.576612] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video7 (video4linux)
KERNEL[1096.576739] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video8 (video4linux)
UDEV  [1096.579390] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video7 (video4linux)
UDEV  [1096.581201] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video8 (video4linux)
KERNEL[1096.600575] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input28/event20 (input)
UDEV  [1096.602924] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input28/event20 (input)
KERNEL[1096.616312] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input28 (input)
KERNEL[1096.616401] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/media5 (media)
KERNEL[1096.616482] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
KERNEL[1096.616559] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
KERNEL[1096.616636] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
KERNEL[1096.616796] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video9 (video4linux)
UDEV  [1096.617398] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input28 (input)
UDEV  [1096.617431] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/media5 (media)
KERNEL[1096.617452] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/media6 (media)
KERNEL[1096.617477] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
KERNEL[1096.617519] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1096.617756] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
UDEV  [1096.618127] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
UDEV  [1096.618182] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/media6 (media)
UDEV  [1096.618385] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
UDEV  [1096.618411] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1096.618449] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video9 (video4linux)
KERNEL[1096.618753] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
UDEV  [1096.618947] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
UDEV  [1096.621857] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
KERNEL[1101.833491] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
KERNEL[1101.835229] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
KERNEL[1101.835545] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/media1 (media)
KERNEL[1101.837225] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video1 (video4linux)
KERNEL[1101.838876] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video2 (video4linux)
KERNEL[1101.839038] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input29 (input)
KERNEL[1101.839250] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input29/event12 (input)
KERNEL[1101.839459] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
KERNEL[1101.839565] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
KERNEL[1101.839785] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
KERNEL[1101.839864] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/media2 (media)
KERNEL[1101.841595] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video3 (video4linux)
KERNEL[1101.841739] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1101.867237] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
UDEV  [1101.869471] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
UDEV  [1101.871269] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
UDEV  [1101.872157] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/media1 (media)
UDEV  [1101.873539] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
UDEV  [1101.873695] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input29 (input)
UDEV  [1101.873853] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1101.874228] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video1 (video4linux)
UDEV  [1101.874494] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
UDEV  [1101.875063] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video2 (video4linux)
UDEV  [1101.875479] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/media2 (media)
UDEV  [1101.876493] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video3 (video4linux)
UDEV  [1101.918315] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input29/event12 (input)
KERNEL[1112.716750] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video1 (video4linux)
KERNEL[1112.716905] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video2 (video4linux)
KERNEL[1112.717009] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
KERNEL[1112.717273] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
KERNEL[1112.717364] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
KERNEL[1112.717429] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video3 (video4linux)
KERNEL[1112.717501] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
KERNEL[1112.717685] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
KERNEL[1112.719027] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
UDEV  [1112.719960] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video2 (video4linux)
UDEV  [1112.721054] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video1 (video4linux)
UDEV  [1112.721201] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
UDEV  [1112.721447] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
UDEV  [1112.721983] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1112.722202] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video3 (video4linux)
UDEV  [1112.722977] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
UDEV  [1112.723252] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
UDEV  [1112.730221] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
KERNEL[1117.361785] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
KERNEL[1117.363315] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
KERNEL[1117.363636] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/media3 (media)
KERNEL[1117.365135] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/video4linux/video4 (video4linux)
KERNEL[1117.366736] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/video4linux/video5 (video4linux)
KERNEL[1117.366833] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input30 (input)
KERNEL[1117.366972] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input30/event19 (input)
KERNEL[1117.367270] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1 (usb)
KERNEL[1117.367474] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2 (usb)
KERNEL[1117.367566] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.3 (usb)
UDEV  [1117.406615] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
UDEV  [1117.409358] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
UDEV  [1117.411239] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1 (usb)
UDEV  [1117.411493] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.3 (usb)
UDEV  [1117.411622] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2 (usb)
UDEV  [1117.411925] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/media3 (media)
UDEV  [1117.413194] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input30 (input)
UDEV  [1117.413285] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/video4linux/video4 (video4linux)
UDEV  [1117.413838] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/video4linux/video5 (video4linux)
UDEV  [1117.462367] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/input/input30/event19 (input)
KERNEL[1126.643745] remove   /2-6:1.3/media2 (media)
UDEV  [1126.645496] remove   /2-6:1.3/media2 (media)
KERNEL[1126.665044] remove   /2-6:1.0/input/input29/event12 (input)
UDEV  [1126.667317] remove   /2-6:1.0/input/input29/event12 (input)
KERNEL[1126.681820] remove   /2-6:1.0/input/input29 (input)
KERNEL[1126.682428] remove   /2-6:1.0/media1 (media)
UDEV  [1126.683874] remove   /2-6:1.0/input/input29 (input)
UDEV  [1126.684000] remove   /2-6:1.0/media1 (media)
KERNEL[1147.965268] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/video4linux/video4 (video4linux)
KERNEL[1147.965332] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/video4linux/video5 (video4linux)
KERNEL[1147.965401] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
KERNEL[1147.965592] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1 (usb)
KERNEL[1147.965669] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2 (usb)
KERNEL[1147.965732] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.3 (usb)
KERNEL[1147.967023] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
UDEV  [1147.967836] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/video4linux/video4 (video4linux)
UDEV  [1147.968076] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0/video4linux/video5 (video4linux)
UDEV  [1147.969014] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.2 (usb)
UDEV  [1147.969124] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
UDEV  [1147.969928] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.1 (usb)
UDEV  [1147.970836] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.3 (usb)
UDEV  [1147.977439] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
KERNEL[1151.706080] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
KERNEL[1151.707952] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
UDEV  [1151.720311] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6 (usb)
UDEV  [1151.721343] add      /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6:1.0 (usb)
KERNEL[1151.828658] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
KERNEL[1151.830392] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
UDEV  [1151.843819] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
UDEV  [1151.846602] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
KERNEL[1152.305877] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2 (usb)
KERNEL[1152.307420] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0 (usb)
KERNEL[1152.307678] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/media1 (media)
KERNEL[1152.309266] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/video4linux/video1 (video4linux)
KERNEL[1152.310746] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/video4linux/video2 (video4linux)
KERNEL[1152.310831] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/input/input31 (input)
KERNEL[1152.310919] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/input/input31/event12 (input)
KERNEL[1152.311199] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.1 (usb)
KERNEL[1152.311388] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.2 (usb)
KERNEL[1152.311604] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.3 (usb)
KERNEL[1152.311664] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.3/media2 (media)
KERNEL[1152.313187] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.3/video4linux/video3 (video4linux)
KERNEL[1152.313392] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.4 (usb)
UDEV  [1152.341721] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2 (usb)
UDEV  [1152.345747] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0 (usb)
UDEV  [1152.346744] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.1 (usb)
UDEV  [1152.347049] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.2 (usb)
UDEV  [1152.348324] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/media1 (media)
UDEV  [1152.348558] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.4 (usb)
UDEV  [1152.348622] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.3 (usb)
UDEV  [1152.349283] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/input/input31 (input)
UDEV  [1152.349707] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.3/media2 (media)
UDEV  [1152.350245] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/video4linux/video1 (video4linux)
UDEV  [1152.350318] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/video4linux/video2 (video4linux)
UDEV  [1152.352187] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.3/video4linux/video3 (video4linux)
UDEV  [1152.406131] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2:1.0/input/input31/event12 (input)
KERNEL[1259.712587] remove   /1-6:1.0/input/input30/event19 (input)
UDEV  [1259.713405] remove   /1-6:1.0/input/input30/event19 (input)
KERNEL[1259.724616] remove   /1-6:1.0/input/input30 (input)
KERNEL[1259.724764] remove   /1-6:1.0/media3 (media)
UDEV  [1259.725224] remove   /1-6:1.0/input/input30 (input)
UDEV  [1259.725307] remove   /1-6:1.0/media3 (media)
KERNEL[1264.007885] add      /kernel/slab/nf_conntrack_4 (slab)
UDEV  [1264.009504] add      /kernel/slab/nf_conntrack_4 (slab)
KERNEL[1264.040597] add      /kernel/slab/nf_conntrack_5 (slab)
UDEV  [1264.041204] add      /kernel/slab/nf_conntrack_5 (slab)

TheMikeyR avatar Apr 12 '18 12:04 TheMikeyR

[Realsense Customer Engineering Team Comment] From the log you provide, it seems the device is detected as either USB2 device rather than USB3 device that provide sufficient bandwidth. it could the USB signal quality is not good enough that the PC (host) enumerate the device as USB2 device. you can check if the device is enumerate as USB3 device when issue is not there if that is the case you can change cable or use shorter cable to see if it can help.

I've tried several of the included cables, and my own, and an active extender all same results.

Works fine in intel realsense viewer, it's only in the examples, where e.g. rs-capture, it gets two first frames, freeze, then crash because no frame within 5 seconds. If I replug the cable before it crash, it restores itself and shows video feed without any problems. For some reason I need to plug it in, start program, wait for freeze, plug it out and in again. Really annoying to develop with.

Also tried with kernel 4.14.13-041413-generic without any changes.

I've tried all my ports in both laptop (lenovo thinkpad p51) and the dock, all ports are usb3. Also tried an usb3 hub, which I use for jetosn. Still no changes in the process.

Here is add, remove to replug udevadm monitor

KERNEL[1700.393687] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
KERNEL[1700.395420] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
KERNEL[1700.397462] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video1 (video4linux)
KERNEL[1700.399125] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video2 (video4linux)
KERNEL[1700.399213] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/media13 (media)
KERNEL[1700.399418] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input28 (input)
KERNEL[1700.399497] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input28/event27 (input)
KERNEL[1700.399728] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
KERNEL[1700.399915] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
KERNEL[1700.400059] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
KERNEL[1700.401929] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video3 (video4linux)
KERNEL[1700.401993] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/media14 (media)
KERNEL[1700.402230] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1700.428138] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
UDEV  [1700.428630] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
UDEV  [1700.428915] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
UDEV  [1700.429090] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
UDEV  [1700.430322] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
UDEV  [1700.430467] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1700.430767] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/media13 (media)
UDEV  [1700.430911] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input28 (input)
UDEV  [1700.431474] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/media14 (media)
UDEV  [1700.431696] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video1 (video4linux)
UDEV  [1700.431927] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video2 (video4linux)
UDEV  [1700.432858] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video3 (video4linux)
UDEV  [1700.527695] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input28/event27 (input)
KERNEL[1711.304680] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video1 (video4linux)
KERNEL[1711.304764] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video2 (video4linux)
KERNEL[1711.304841] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
KERNEL[1711.305079] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
KERNEL[1711.305178] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
KERNEL[1711.305253] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video3 (video4linux)
KERNEL[1711.305318] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
KERNEL[1711.305478] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
KERNEL[1711.306753] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
UDEV  [1711.307442] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video1 (video4linux)
UDEV  [1711.308846] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video2 (video4linux)
UDEV  [1711.309175] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
UDEV  [1711.309432] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
UDEV  [1711.310150] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1711.310192] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video3 (video4linux)
UDEV  [1711.310217] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
UDEV  [1711.310239] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
UDEV  [1711.312719] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
KERNEL[1712.865281] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
KERNEL[1712.866760] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
KERNEL[1712.868656] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video4 (video4linux)
KERNEL[1712.870255] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video5 (video4linux)
KERNEL[1712.870316] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/media15 (media)
KERNEL[1712.870414] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input29 (input)
KERNEL[1712.870490] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input29/event28 (input)
KERNEL[1712.870751] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
KERNEL[1712.870847] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
KERNEL[1712.871056] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
KERNEL[1712.872766] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video6 (video4linux)
KERNEL[1712.872833] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/media16 (media)
KERNEL[1712.873013] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1712.898390] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
UDEV  [1712.901386] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
UDEV  [1712.903098] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
UDEV  [1712.903373] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
UDEV  [1712.903872] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
UDEV  [1712.903909] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1712.904746] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/media16 (media)
UDEV  [1712.904999] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/media15 (media)
UDEV  [1712.905178] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input29 (input)
UDEV  [1712.905385] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video4 (video4linux)
UDEV  [1712.906187] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video6 (video4linux)
UDEV  [1712.906285] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video5 (video4linux)
UDEV  [1712.975461] add      /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/input/input29/event28 (input)

Long list of me trying all ports available:

KERNEL[1928.371033] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5 (usb)
KERNEL[1928.372935] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0 (usb)
UDEV  [1928.386647] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5 (usb)
UDEV  [1928.389142] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0 (usb)
KERNEL[1928.652323] add      /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[1928.654488] add      /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV  [1928.694029] add      /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV  [1928.696441] add      /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[1932.332638] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video4 (video4linux)
KERNEL[1932.332889] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video5 (video4linux)
KERNEL[1932.332970] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
KERNEL[1932.333167] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
KERNEL[1932.333252] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
KERNEL[1932.333465] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video6 (video4linux)
KERNEL[1932.333551] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
KERNEL[1932.333627] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1932.335029] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video4 (video4linux)
KERNEL[1932.335164] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
UDEV  [1932.335882] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0/video4linux/video5 (video4linux)
UDEV  [1932.337042] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.1 (usb)
UDEV  [1932.337145] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.2 (usb)
UDEV  [1932.337229] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.4 (usb)
UDEV  [1932.337618] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3/video4linux/video6 (video4linux)
UDEV  [1932.337742] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.0 (usb)
UDEV  [1932.337998] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6:1.3 (usb)
UDEV  [1932.340513] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-6 (usb)
KERNEL[1936.165272] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4 (usb)
KERNEL[1936.166619] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0 (usb)
KERNEL[1936.168382] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/video4linux/video1 (video4linux)
KERNEL[1936.169735] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/video4linux/video2 (video4linux)
KERNEL[1936.169821] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/media17 (media)
KERNEL[1936.170015] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/input/input30 (input)
KERNEL[1936.170076] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/input/input30/event29 (input)
KERNEL[1936.170244] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.1 (usb)
KERNEL[1936.170424] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.2 (usb)
KERNEL[1936.170603] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.3 (usb)
KERNEL[1936.172063] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.3/video4linux/video3 (video4linux)
KERNEL[1936.172164] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.3/media18 (media)
KERNEL[1936.172360] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.4 (usb)
UDEV  [1936.198983] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4 (usb)
UDEV  [1936.200472] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0 (usb)
UDEV  [1936.200709] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.1 (usb)
UDEV  [1936.200867] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.2 (usb)
UDEV  [1936.201671] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.4 (usb)
UDEV  [1936.201743] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.3 (usb)
UDEV  [1936.202877] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.3/media18 (media)
UDEV  [1936.202901] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/media17 (media)
UDEV  [1936.203703] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/video4linux/video1 (video4linux)
UDEV  [1936.204039] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/video4linux/video2 (video4linux)
UDEV  [1936.204103] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/input/input30 (input)
UDEV  [1936.204203] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.3/video4linux/video3 (video4linux)
UDEV  [1936.299817] add      /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/input/input30/event29 (input)
KERNEL[1949.449007] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/video4linux/video1 (video4linux)
KERNEL[1949.449286] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/video4linux/video2 (video4linux)
KERNEL[1949.449384] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0 (usb)
KERNEL[1949.449551] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.1 (usb)
KERNEL[1949.449674] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.2 (usb)
KERNEL[1949.449798] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.3/video4linux/video3 (video4linux)
KERNEL[1949.449878] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.3 (usb)
KERNEL[1949.449987] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.4 (usb)
UDEV  [1949.451851] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/video4linux/video1 (video4linux)
UDEV  [1949.453222] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.1 (usb)
UDEV  [1949.453545] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.2 (usb)
UDEV  [1949.453760] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0/video4linux/video2 (video4linux)
KERNEL[1949.453887] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4 (usb)
UDEV  [1949.454657] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.4 (usb)
UDEV  [1949.454731] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.3/video4linux/video3 (video4linux)
UDEV  [1949.454812] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.0 (usb)
UDEV  [1949.455023] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4/2-5.4:1.3 (usb)
UDEV  [1949.458372] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5.4 (usb)
KERNEL[1951.095513] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
KERNEL[1951.096967] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
UDEV  [1951.097711] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0 (usb)
UDEV  [1951.106112] remove   /devices/pci0000:00/0000:00:14.0/usb1/1-5 (usb)
KERNEL[1951.220536] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0 (usb)
KERNEL[1951.221844] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5 (usb)
UDEV  [1951.222653] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5/2-5:1.0 (usb)
UDEV  [1951.230864] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-5 (usb)
KERNEL[1966.348769] change   /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4.2/1-4.4.2:1.2/0003:046D:C52B.0003/0003:046D:4002.0008/power_supply/hidpp_battery_0 (power_supply)
UDEV  [1966.351496] change   /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4.2/1-4.4.2:1.2/0003:046D:C52B.0003/0003:046D:4002.0008/power_supply/hidpp_battery_0 (power_supply)
KERNEL[1967.376936] change   /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4.2/1-4.4.2:1.2/0003:046D:C52B.0003/0003:046D:4002.0008/power_supply/hidpp_battery_0 (power_supply)
UDEV  [1967.380983] change   /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4.2/1-4.4.2:1.2/0003:046D:C52B.0003/0003:046D:4002.0008/power_supply/hidpp_battery_0 (power_supply)
KERNEL[1973.081340] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2 (usb)
KERNEL[1973.083200] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0 (usb)
KERNEL[1973.085835] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/video4linux/video1 (video4linux)
KERNEL[1973.088382] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/video4linux/video2 (video4linux)
KERNEL[1973.088546] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/media19 (media)
KERNEL[1973.088618] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/input/input31 (input)
KERNEL[1973.088819] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/input/input31/event30 (input)
KERNEL[1973.089080] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.1 (usb)
KERNEL[1973.089317] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.2 (usb)
KERNEL[1973.089521] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.3 (usb)
KERNEL[1973.092034] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.3/video4linux/video3 (video4linux)
KERNEL[1973.092160] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.3/media20 (media)
KERNEL[1973.092398] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.4 (usb)
UDEV  [1973.118086] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2 (usb)
UDEV  [1973.121310] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0 (usb)
UDEV  [1973.122607] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.1 (usb)
UDEV  [1973.122923] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.2 (usb)
UDEV  [1973.123746] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.3 (usb)
UDEV  [1973.123793] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.4 (usb)
UDEV  [1973.125058] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.3/media20 (media)
UDEV  [1973.125084] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/media19 (media)
UDEV  [1973.125569] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/input/input31 (input)
UDEV  [1973.126159] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.3/video4linux/video3 (video4linux)
UDEV  [1973.126220] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/video4linux/video1 (video4linux)
UDEV  [1973.126276] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/video4linux/video2 (video4linux)
UDEV  [1973.223810] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/input/input31/event30 (input)
KERNEL[1990.264625] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/video4linux/video1 (video4linux)
KERNEL[1990.264840] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/video4linux/video2 (video4linux)
KERNEL[1990.264921] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0 (usb)
KERNEL[1990.265023] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.1 (usb)
KERNEL[1990.265118] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.2 (usb)
KERNEL[1990.265254] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.3/video4linux/video3 (video4linux)
KERNEL[1990.265324] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.3 (usb)
KERNEL[1990.265465] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.4 (usb)
KERNEL[1990.266739] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2 (usb)
UDEV  [1990.267180] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/video4linux/video1 (video4linux)
UDEV  [1990.267747] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0/video4linux/video2 (video4linux)
UDEV  [1990.268083] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.1 (usb)
UDEV  [1990.268982] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.2 (usb)
UDEV  [1990.269075] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.4 (usb)
UDEV  [1990.269287] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.0 (usb)
UDEV  [1990.269795] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.3/video4linux/video3 (video4linux)
UDEV  [1990.270126] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2/2-4.2:1.3 (usb)
UDEV  [1990.272517] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.2 (usb)
KERNEL[2011.316927] change   /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4.2/1-4.4.2:1.2/0003:046D:C52B.0003/0003:046D:4002.0008/power_supply/hidpp_battery_0 (power_supply)
UDEV  [2011.319999] change   /devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4.4/1-4.4.2/1-4.4.2:1.2/0003:046D:C52B.0003/0003:046D:4002.0008/power_supply/hidpp_battery_0 (power_supply)
KERNEL[2012.337530] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3 (usb)
KERNEL[2012.339287] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0 (usb)
KERNEL[2012.342143] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/video4linux/video1 (video4linux)
KERNEL[2012.344656] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/video4linux/video2 (video4linux)
KERNEL[2012.344713] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/media21 (media)
KERNEL[2012.344934] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/input/input32 (input)
KERNEL[2012.345025] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/input/input32/event31 (input)
KERNEL[2012.345360] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.1 (usb)
KERNEL[2012.345579] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.2 (usb)
KERNEL[2012.345807] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.3 (usb)
KERNEL[2012.348528] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.3/video4linux/video3 (video4linux)
KERNEL[2012.348609] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.3/media22 (media)
KERNEL[2012.348943] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.4 (usb)
UDEV  [2012.375918] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3 (usb)
UDEV  [2012.380366] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0 (usb)
UDEV  [2012.380485] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.1 (usb)
UDEV  [2012.381327] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.2 (usb)
UDEV  [2012.381755] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.4 (usb)
UDEV  [2012.382080] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.3 (usb)
UDEV  [2012.383157] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.3/media22 (media)
UDEV  [2012.383185] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/media21 (media)
UDEV  [2012.383606] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/video4linux/video1 (video4linux)
UDEV  [2012.383738] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/video4linux/video2 (video4linux)
UDEV  [2012.383800] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/input/input32 (input)
UDEV  [2012.385352] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.3/video4linux/video3 (video4linux)
UDEV  [2012.479501] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/input/input32/event31 (input)
KERNEL[2025.364883] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/video4linux/video1 (video4linux)
KERNEL[2025.365149] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/video4linux/video2 (video4linux)
KERNEL[2025.365236] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0 (usb)
KERNEL[2025.365430] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.1 (usb)
KERNEL[2025.365507] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.2 (usb)
KERNEL[2025.365681] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.3/video4linux/video3 (video4linux)
KERNEL[2025.365758] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.3 (usb)
KERNEL[2025.365812] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.4 (usb)
KERNEL[2025.367100] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3 (usb)
UDEV  [2025.367960] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/video4linux/video1 (video4linux)
UDEV  [2025.368712] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0/video4linux/video2 (video4linux)
UDEV  [2025.368861] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.1 (usb)
UDEV  [2025.369357] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.2 (usb)
UDEV  [2025.369779] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.4 (usb)
UDEV  [2025.370665] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.3/video4linux/video3 (video4linux)
UDEV  [2025.370744] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.0 (usb)
UDEV  [2025.370948] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3/2-4.3:1.3 (usb)
UDEV  [2025.374956] remove   /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.3 (usb)
KERNEL[2028.449390] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3 (usb)
KERNEL[2028.450967] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0 (usb)
KERNEL[2028.453621] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0/video4linux/video1 (video4linux)
KERNEL[2028.455879] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0/video4linux/video2 (video4linux)
KERNEL[2028.455935] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0/media23 (media)
KERNEL[2028.456053] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0/input/input33 (input)
KERNEL[2028.456162] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0/input/input33/event256 (input)
KERNEL[2028.456402] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.1 (usb)
KERNEL[2028.456608] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.2 (usb)
KERNEL[2028.456833] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.3 (usb)
KERNEL[2028.459057] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.3/video4linux/video3 (video4linux)
KERNEL[2028.459155] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.3/media24 (media)
KERNEL[2028.459355] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.4 (usb)
UDEV  [2028.483833] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3 (usb)
UDEV  [2028.488228] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0 (usb)
UDEV  [2028.488830] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.1 (usb)
UDEV  [2028.489074] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.2 (usb)
UDEV  [2028.489254] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.3 (usb)
UDEV  [2028.489327] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.4 (usb)
UDEV  [2028.490782] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0/media23 (media)
UDEV  [2028.490808] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.3/media24 (media)
UDEV  [2028.491229] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0/input/input33 (input)
UDEV  [2028.491825] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0/video4linux/video2 (video4linux)
UDEV  [2028.491999] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.3/video4linux/video3 (video4linux)
UDEV  [2028.492292] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0/video4linux/video1 (video4linux)
UDEV  [2028.542865] add      /devices/pci0000:00/0000:00:14.0/usb2/2-4/2-4.4/2-4.4.3/2-4.4.3:1.0/input/input33/event256 (input)

TheMikeyR avatar Apr 18 '18 07:04 TheMikeyR

More debug info

 ~  sudo lsusb -vvv |grep -i -B5 -A5 bcdUSB


Bus 002 Device 004: ID 8086:0ad3 Intel Corp. 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass          239 Miscellaneous Device
  bDeviceSubClass         2 ?
  bDeviceProtocol         1 Interface Association
  bMaxPacketSize0         9
  idVendor           0x8086 Intel Corp.
FIXME: alloc bigger buffer for device capability descriptors
--

Bus 002 Device 003: ID 17ef:305b Lenovo 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3 
  bMaxPacketSize0         9
  idVendor           0x17ef Lenovo
--

Bus 002 Device 002: ID 17ef:305a Lenovo 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3 
  bMaxPacketSize0         9
  idVendor           0x17ef Lenovo
--

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         3 
  bMaxPacketSize0         9
  idVendor           0x1d6b Linux Foundation
--

TheMikeyR avatar Apr 18 '18 07:04 TheMikeyR

[Realsense Customer Engineering Team Comment] @TheMikeyR please see if the similar ticket can help on your issue https://github.com/IntelRealSense/librealsense/issues/1391 if Dxxx is enumerated as USB2 device (even the PC port is USB3), bandwidth is smaller than USB3 that will cause streaming issue you can use lsusb- t to check the enumerated device speed USB1/2/3 12M/480M/5G

--Quote from #1391# There is a hardware issue with the type-C connector on the camera module that may be causing your problem. Can you please confirm that the issue still occurs if you reverse the orientation of the plug. Also try plugging the connector in quickly and/or plugging in the camera side and then the host side last. There is a controller on the board that switches a MUX to route the SS signals from the connector to the ASIC and it is slow to switch; the USB2 signals always connect first and if the ASIC doesn't see the USB3 signals soon enough, it starts in USB2 mode. Let me know if this makes a difference. There is a hardware revision that should be released soon.

Seems to be registered in USB3 mode according to lsusb -t it says 5000M when I connect the camera.

I've tried to reverse the orientation of the USB-C connector without any success, still same issue. (RGB stream works fine, but depth stream hangs until I replug while the program is still running). Intel realsense viewer works just fine, activating and disabling stream on the run.

Without camera

 ~  lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
    |__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 6, If 0, Class=Hub, Driver=hub/3p, 12M
                |__ Port 3: Dev 11, If 2, Class=Audio, Driver=snd-usb-audio, 12M
                |__ Port 3: Dev 11, If 0, Class=Audio, Driver=snd-usb-audio, 12M
                |__ Port 3: Dev 11, If 3, Class=Human Interface Device, Driver=usbhid, 12M
                |__ Port 3: Dev 11, If 1, Class=Audio, Driver=snd-usb-audio, 12M
                |__ Port 2: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M
                |__ Port 2: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 8, If 2, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 8: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 8: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 9: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 11: Dev 7, If 0, Class=Chip/SmartCard, Driver=, 12M
    |__ Port 13: Dev 10, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 14: Dev 12, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 14: Dev 12, If 0, Class=Wireless, Driver=btusb, 12M

with camera

 ~  lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 5000M
    |__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
    |__ Port 6: Dev 4, If 0, Class=Video, Driver=uvcvideo, 5000M
    |__ Port 6: Dev 4, If 1, Class=Video, Driver=uvcvideo, 5000M
    |__ Port 6: Dev 4, If 2, Class=Video, Driver=uvcvideo, 5000M
    |__ Port 6: Dev 4, If 3, Class=Video, Driver=uvcvideo, 5000M
    |__ Port 6: Dev 4, If 4, Class=Video, Driver=uvcvideo, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/16p, 480M
    |__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 1: Dev 6, If 0, Class=Hub, Driver=hub/3p, 12M
                |__ Port 3: Dev 11, If 2, Class=Audio, Driver=snd-usb-audio, 12M
                |__ Port 3: Dev 11, If 0, Class=Audio, Driver=snd-usb-audio, 12M
                |__ Port 3: Dev 11, If 3, Class=Human Interface Device, Driver=usbhid, 12M
                |__ Port 3: Dev 11, If 1, Class=Audio, Driver=snd-usb-audio, 12M
                |__ Port 2: Dev 9, If 1, Class=Human Interface Device, Driver=usbhid, 12M
                |__ Port 2: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 8, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 8, If 2, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 8: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
    |__ Port 8: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 9: Dev 5, If 0, Class=Vendor Specific Class, Driver=, 12M
    |__ Port 11: Dev 7, If 0, Class=Chip/SmartCard, Driver=, 12M
    |__ Port 13: Dev 10, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
    |__ Port 14: Dev 12, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 14: Dev 12, If 0, Class=Wireless, Driver=btusb, 12M

TheMikeyR avatar Apr 18 '18 08:04 TheMikeyR

[Realsense Customer Engineering Team Comment] Hi @TheMikeyR Could you try the same rs-capture app on another PC with same Ubuntu config? We have newer FW (v 5.9.2) which provide more robust streaming capability https://downloadcenter.intel.com/download/27522/Latest-Firmware-for-Intel-RealSense-D400-Product-Family, you can see if it can help on your case. by the way, the issue only happen with rs-capture but not realsense-viewer, correct and only D415 is plugged, correct?

The issue happens with all examples, but only c++ example, the python wrapper example works just fine. It's really odd, I've also tried the development branch without any luck.

It doesn't happened with realsense-viewer and it is only d415 plugged in that port (I've also have usb mouse and keyboard plugged in another port).

I would like to get it to work with c++ since python wrapper are missing stuff such as filters.

I can test it on another ubuntu 16.04 on Friday. Meanwhile I will try the jetson tx2 and see if it works on that platform.

TheMikeyR avatar Apr 18 '18 10:04 TheMikeyR

It works fine with the examples on jetson tx2, so I guess it has something to do with my laptop. I've changed several kernels without any change in result, do you know what could potential be wrong ?

TheMikeyR avatar Apr 18 '18 10:04 TheMikeyR

[Realsense Customer Engineering Team Comment] @TheMikeyR had you tried with another desktop? by the way, we have new Firmware that provide more robust streaming please check below link about how to upgrade the FW https://downloadcenter.intel.com/download/27408/?v=t

I've upgraded firmware to Version: 5.9.9.2, and the issue still persist only with the c++, when using python it works just fine.

gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)

as mentioned in the previous comment, when using the Jetson TX2 board there are no issues with C++, so i suspect my own pc to have some sort of issues, just clueless on what could cause the issue.

TheMikeyR avatar May 14 '18 11:05 TheMikeyR

[Realsense Customer Engineering Team Comment] Is this still an issue? If not, ticket will be closed in 5 days.

@RealSense-Customer-Engineering thanks for reminding me of the issue, I've been using a different platform. I've just made the test again and it is no longer an issue on my laptop running. I have no clue how the issue have been solved since I didn't update the SDK for a while (I had 2.11.1), and have also tested it on camera with old FW and new FW.

So I can happily say my issue has been fixed.

TheMikeyR avatar Jun 22 '18 06:06 TheMikeyR