Webcam reset high speed USB device using xhci_hcd error

Hi All,

I have been trying to trouble shoot a strange error:
My Logitexh C270 webcam, although it seems to work properly, is spamming dmesg with

[91761.199046] usb 1-6.1: reset high-speed USB device number 32 using xhci_hcd 
  • approximately once every 3 seconds.

When doing an lsusb, I get

Bus 001 Device 032: ID 046d:0825 Logitech, Inc. Webcam C270 

, which is expected. Also, doing lsusb -t to check the driver, I get

|__ Port 1: **Dev 32**, If 3, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 1: **Dev 32**, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 1: **Dev 32**, If 2, Class=Audio, Driver=snd-usb-audio, 480M
        |__ Port 1: **Dev 32**, If 0, Class=Video, Driver=uvcvideo, 480M
 

Once again, this is expected, and most notably, it doesn’t seem to be using xhci_hcd.

When I first plug it in however, I get

[91867.472759] usb 1-6.1: new high-speed USB device number 33 using xhci_hcd
[91867.806255] usb 1-6.1: New USB device found, idVendor=046d, idProduct=0825, bcdDevice= 0.12
[91867.806270] usb 1-6.1: New USB device strings: Mfr=0, Product=0, SerialNumber=2
[91867.806276] usb 1-6.1: SerialNumber: C9A732B0
[91867.807483] usb 1-6.1: Found UVC 1.00 device <unnamed> (046d:0825)
[91867.848138] input: UVC Camera (046d:0825) as /devices/pci0000:00/0000:00:14.0/usb1/1-6/1-6.1/1-6.1:1.0/input/input56
[91867.914883] usb 1-6.1: set resolution quirk: cval->res = 384
[91879.189307] usb 1-6.1: reset high-speed USB device number 33 using xhci_hcd
 

Here, it does seem to be using xhci_hcd, and right away starts throwing the reset messages.

Any ideas?

For context, here’s some system info:
The USB Controller is:

00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 07) (prog-if 00 [Normal decode])
        Subsystem: ASUSTeK Computer Inc. Device 8694
        Flags: bus master, fast devsel, latency 0, IRQ 120
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: e000-efff [size=4] [16-bit]
        Memory behind bridge: f6000000-f70fffff [size=17] [32-bit]
        Prefetchable memory behind bridge: e0000000-f1ffffff [size=288] [32-bit]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

System is Linux rincewind 5.18.6-1-default #1 SMP PREEMPT_DYNAMIC Thu Jun 23 05:46:18 UTC 2022 (5aa0763) x86_64 x86_64 x86_64 GNU/Linux

Full lsusb:

Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 003: ID 2833:0186 Oculus VR, Inc. Quest
Bus 002 Device 010: ID 2109:8110 VIA Labs, Inc. Hub
Bus 002 Device 011: ID 1058:264d Western Digital Technologies, Inc. easystore 264D
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 046d:c53f Logitech, Inc. USB Receiver
Bus 001 Device 033: ID 046d:0825 Logitech, Inc. Webcam C270
Bus 001 Device 026: ID 2109:2811 VIA Labs, Inc. Hub
Bus 001 Device 002: ID 04b8:086a Seiko Epson Corp. PX-673F [Stylus Office BX925FWD]
Bus 001 Device 006: ID 8087:0a2b Intel Corp. Bluetooth wireless interface
Bus 001 Device 005: ID 1b1c:0c09 Corsair H100i v2
Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

[/size][/size][/size]

Same issue with same camera but with Mint.


inxi -Fxz 
System:    Kernel: 5.13.0-44-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.2.7 Distro: Linux Mint 20.3 Una 

Looks like they used to have it before, yet no fix:
https://www.spinics.net/lists/linux-usb/msg187645.html

Try to use USB 2.0 port.