You are not logged in.

#1 2019-12-30 09:03:23

dllu
Member
Registered: 2015-10-11
Posts: 11

Thinkpad X1 Carbon Gen 6 cannot use a USB3 industrial camera

I have an industrial camera (Alkeria NECTA N4K2-7C) that connects via USB3.0.

On my desktop it works fine:

> dmesg | grep "usb 2-4"
[ 2495.174963] usb 2-4: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[ 2495.191141] usb 2-4: LPM exit latency is zeroed, disabling LPM.
[ 2495.191508] usb 2-4: New USB device found, idVendor=297b, idProduct=e39d, bcdDevice= 0.00
[ 2495.191511] usb 2-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2495.191512] usb 2-4: Product: NECTA N4K2-7C
[ 2495.191513] usb 2-4: Manufacturer: Alkeria
[ 2495.191514] usb 2-4: SerialNumber: xxxxx (redacted)
[ 2555.388476] usb 2-4: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[ 2555.405121] usb 2-4: LPM exit latency is zeroed, disabling LPM.
> lsusb | grep Alkeria
Bus 002 Device 004: ID 297b:e39d Alkeria NECTA N4K2-7C
> lsusb -t | grep -A 2 "Bus 02"
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    |__ Port 3: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M
    |__ Port 4: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 5000M

On the Thinkpad X1 Carbon Gen 6, however, it gives the cryptic error message Not enough bandwidth for new device state.

> sudo dmidecode -t system | grep Version
	Version: ThinkPad X1 Carbon 6th
> dmesg | grep "usb 2-2"
[  253.643715] usb 2-2: new SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[  253.661180] usb 2-2: LPM exit latency is zeroed, disabling LPM.
[  253.661724] usb 2-2: New USB device found, idVendor=297b, idProduct=e39d, bcdDevice= 0.00
[  253.661730] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  253.661733] usb 2-2: Product: NECTA N4K2-7C
[  253.661736] usb 2-2: Manufacturer: Alkeria
[  253.661739] usb 2-2: SerialNumber: xxxxx (redacted)
[  269.350544] usb 2-2: reset SuperSpeed Gen 1 USB device number 4 using xhci_hcd
[  269.367783] usb 2-2: LPM exit latency is zeroed, disabling LPM.
[  269.620321] usb 2-2: Not enough bandwidth for new device state.
[  269.620376] usb 2-2: Not enough bandwidth for altsetting 15
[  269.626335] usb 2-2: usbfs: usb_submit_urb returned -2
> lsusb | grep Alkeria
Bus 002 Device 004: ID 297b:e39d Alkeria NECTA N4K2-7C
> lsusb -t | grep -A 2 "Bus 02"
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
    |__ Port 2: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 5000M
    |__ Port 3: Dev 2, If 0, Class=Mass Storage, Driver=usb-storage, 5000M

Both the desktop and the Thinkpad are running Arch. From the lsusb -t output it seems the camera is running in 5000M mode for both the desktop and the Thinkpad so I really don't understand why it doesn't work on the Thinkpad.

The camera also worked fine on a 2016 Dell XPS 9350 running Ubuntu 14.04.

I have tried many things to try to get the camera to work on the Thinkpad, to no avail:

* trying each of the different USB ports, both type A and type C ports, using either a micro USB3 to USB type A cable or a micro USB3 to USB type C cable.
* trying a USB type C dongle (Satechi Type-C Multi-Port Adapter 4K with Ethernet V2) on either of the two type C ports, and then using either the USB type A or the USB type C cable to connect the camera to the dongle
* updating the firmware of the Thinkpad using fwupdmgr

Any idea how I can get the camera to work with the Thinkpad?

Offline

Board footer

Powered by FluxBB