You are not logged in.

#1 2020-02-21 13:05:44

r0l1
Member
Registered: 2018-07-13
Posts: 2

USB 3 device disconnects on access - works with USB hub

A USB 3 industrial camera connected via USB disconnects always if the device is opened/accessed. As soon as I add an additional USB 3.0 hub in-between, then everything works as expected...

I disabled the USB power management, but this did not solve the issue:

echo -1 > /sys/bus/usb/devices/2-1/power/autosuspend

dmesg output:

[ 2317.210534] usb 2-1: new SuperSpeed Gen 1 USB device number 7 using xhci_hcd
[ 2317.241153] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 2317.241167] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2317.241179] usb 2-1: Product: XXXX
[ 2317.241190] usb 2-1: Manufacturer: XXXX
[ 2317.241199] usb 2-1: SerialNumber: XXXX
[ 2337.620405] usb 2-1: USB disconnect, device number 7
[ 2337.620807] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 2337.970485] usb 2-1: new SuperSpeed Gen 1 USB device number 8 using xhci_hcd
[ 2338.011305] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 2338.011321] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2338.011333] usb 2-1: Product: XXXX
[ 2338.011344] usb 2-1: Manufacturer: XXXX
[ 2338.011355] usb 2-1: SerialNumber: XXXX
[ 2338.017752] usb 2-1: Enable of device-initiated U1 failed.
[ 2338.021188] usb 2-1: Set SEL for device-initiated U2 failed.
[ 2338.230445] usb 2-1: USB disconnect, device number 8
[ 2338.580512] usb 2-1: new SuperSpeed Gen 1 USB device number 9 using xhci_hcd
[ 2338.611216] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 2338.611233] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2338.611245] usb 2-1: Product: XXXX
[ 2338.611257] usb 2-1: Manufacturer: XXXX
[ 2338.611267] usb 2-1: SerialNumber: XXXX
[ 2338.617869] usb 2-1: Enable of device-initiated U2 failed.
[ 2338.830416] usb 2-1: USB disconnect, device number 9
[ 2339.180492] usb 2-1: new SuperSpeed Gen 1 USB device number 10 using xhci_hcd
[ 2339.211243] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 2339.211259] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2339.211271] usb 2-1: Product: XXXX
[ 2339.211283] usb 2-1: Manufacturer: XXXX
[ 2339.211292] usb 2-1: SerialNumber: XXXX
[ 2344.650476] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 2344.650568] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2344.651050] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2344.651107] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2344.651161] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2344.681597] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2344.681625] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2344.681651] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2344.830400] usb 2-1: USB disconnect, device number 10
[ 2345.180523] usb 2-1: new SuperSpeed Gen 1 USB device number 11 using xhci_hcd
[ 2345.211355] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 2345.211371] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2345.211385] usb 2-1: Product: XXXX
[ 2345.211396] usb 2-1: Manufacturer: XXXX
[ 2345.211405] usb 2-1: SerialNumber: XXXX
[ 2348.890398] usb 2-1: USB disconnect, device number 11
[ 2349.240493] usb 2-1: new SuperSpeed Gen 1 USB device number 12 using xhci_hcd
[ 2349.271359] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 2349.271374] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2349.271384] usb 2-1: Product: XXXX
[ 2349.271395] usb 2-1: Manufacturer: XXXX
[ 2349.271404] usb 2-1: SerialNumber: XXXX
[ 2351.065347] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2351.065384] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2351.065418] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2351.250424] usb 2-1: USB disconnect, device number 12
[ 2351.600502] usb 2-1: new SuperSpeed Gen 1 USB device number 13 using xhci_hcd
[ 2351.631203] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 2351.631219] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2351.631231] usb 2-1: Product: XXXX
[ 2351.631242] usb 2-1: Manufacturer: XXXX
[ 2351.631251] usb 2-1: SerialNumber: XXXX
[ 2363.007332] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2363.007386] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2363.007435] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2363.038748] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2363.038776] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2363.038801] usb 2-1: usbfs: usb_submit_urb returned -19
[ 2363.200410] usb 2-1: USB disconnect, device number 13
[ 2363.560491] usb 2-1: new SuperSpeed Gen 1 USB device number 14 using xhci_hcd
[ 2363.591304] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 2363.591322] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2363.591334] usb 2-1: Product: XXXX
[ 2363.591345] usb 2-1: Manufacturer: XXXX
[ 2363.591354] usb 2-1: SerialNumber: XXXX
[ 2367.520389] usb 2-1: USB disconnect, device number 14
[ 2367.880497] usb 2-1: new SuperSpeed Gen 1 USB device number 15 using xhci_hcd
[ 2367.911235] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 2367.911249] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2367.911261] usb 2-1: Product: XXXX
[ 2367.911272] usb 2-1: Manufacturer: XXXX
[ 2367.911282] usb 2-1: SerialNumber: XXXX
[ 2372.720418] usb 2-1: USB disconnect, device number 15
[ 2373.070491] usb 2-1: new SuperSpeed Gen 1 USB device number 16 using xhci_hcd
[ 2373.101191] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 2373.101205] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 2373.101218] usb 2-1: Product: XXXX
[ 2373.101229] usb 2-1: Manufacturer: XXXX
[ 2373.101239] usb 2-1: SerialNumber: XXXX
[ 2442.962595] usb 1-7.4.2: USB disconnect, device number 8
[ 2445.522488] usb 1-7.4.4: USB disconnect, device number 9
[ 2498.514371] usb 1-7.4: USB disconnect, device number 6
[ 3468.025403] usb 2-1: USB disconnect, device number 16
[ 3475.930551] usb 2-1: new SuperSpeed Gen 1 USB device number 17 using xhci_hcd
[ 3475.961275] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 3475.961293] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 3475.961305] usb 2-1: Product: XXXX
[ 3475.961315] usb 2-1: Manufacturer: XXXX
[ 3475.961325] usb 2-1: SerialNumber: XXXX
[ 3603.320451] usb 2-1: USB disconnect, device number 17
[ 3603.320858] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 3603.680595] usb 2-1: new SuperSpeed Gen 1 USB device number 18 using xhci_hcd
[ 3603.711207] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 3603.711224] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 3603.711236] usb 2-1: Product: XXXX
[ 3603.711246] usb 2-1: Manufacturer: XXXX
[ 3603.711256] usb 2-1: SerialNumber: XXXX
[ 3608.260445] usb 2-1: USB disconnect, device number 18
[ 3608.610536] usb 2-1: new SuperSpeed Gen 1 USB device number 19 using xhci_hcd
[ 3608.641195] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 3608.641209] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 3608.641221] usb 2-1: Product: XXXX
[ 3608.641232] usb 2-1: Manufacturer: XXXX
[ 3608.641243] usb 2-1: SerialNumber: XXXX
[ 3612.930447] usb 2-1: USB disconnect, device number 19
[ 3612.930888] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed due to incorrect slot or ep state.
[ 3613.280575] usb 2-1: new SuperSpeed Gen 1 USB device number 20 using xhci_hcd
[ 3613.311181] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 3613.311197] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 3613.311210] usb 2-1: Product: XXXX
[ 3613.311221] usb 2-1: Manufacturer: XXXX
[ 3613.311230] usb 2-1: SerialNumber: XXXX
[ 3613.317376] usb 2-1: Set SEL for device-initiated U2 failed.
[ 3613.520431] usb 2-1: USB disconnect, device number 20
[ 3613.890620] usb 2-1: new SuperSpeed Gen 1 USB device number 21 using xhci_hcd
[ 3613.931384] usb 2-1: New USB device found, idVendor=xxxx, idProduct=0001, bcdDevice= 1.00
[ 3613.931400] usb 2-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 3613.931412] usb 2-1: Product: XXXX
[ 3613.931423] usb 2-1: Manufacturer: XXXX
[ 3613.931432] usb 2-1: SerialNumber: XXXX

Hope somebody can give me a hint, what's causing this issue.

Thanks!

Offline

Board footer

Powered by FluxBB