FS#71703 - linux - Webcam not recognized by kernel

Attached to Project: Arch Linux
Opened by Horatiu Ion (LInk512) - Monday, 02 August 2021, 08:27 GMT
Last edited by Toolybird (Toolybird) - Tuesday, 06 June 2023, 03:34 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
Laptop: Thinkpad T14(AMD). Since upgrading to linux-5.13.6.arch1-1, my webcam is not detected by the kernel. There's no output from journalctl regarding the specific usb hub whatsoever, and `/dev/video0` is not present. Downgrading to linux-5.13.5.arch1-1 fixes the issue.

Additional info:
* package version(s) linux-5.13.6.arch1-1-x86_64 linux-headers-5.13.6.arch1-1
* config and/or log files etc.
on linux 5.13.5, where the webcam **is** being detected, the following logs can be observed:

journalctl
```
Aug 02 10:10:37 linkarch kernel: usb 2-2: new high-speed USB device number 2 using xhci_hcd
Aug 02 10:10:37 linkarch kernel: usb 2-2: New USB device found, idVendor=04f2, idProduct=b6d0, bcdDevice=58.18
Aug 02 10:10:37 linkarch kernel: usb 2-2: New USB device strings: Mfr=3, Product=1, SerialNumber=2
Aug 02 10:10:37 linkarch kernel: usb 2-2: Product: Integrated Camera
Aug 02 10:10:37 linkarch kernel: usb 2-2: Manufacturer: Chicony Electronics Co.,Ltd.
Aug 02 10:10:37 linkarch kernel: usb 2-2: SerialNumber: 0001
Aug 02 10:10:39 linkarch kernel: usb 2-2: Found UVC 1.10 device Integrated Camera (04f2:b6d0)
Aug 02 10:10:39 linkarch kernel: usb 2-2: Found UVC 1.50 device Integrated Camera (04f2:b6d0)
```

lsusb
```
Bus 007 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
...
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 002: ID 04f2:b6d0 Chicony Electronics Co., Ltd Integrated Camera
```

After upgrading to 5.13.6 and later, these log entries are not found

* link to upstream bug report, if any

Steps to reproduce:
1. upgrade `linux` from 5.13.5 to 5.13.6 or 5.13.7

This task depends upon

Closed by  Toolybird (Toolybird)
Tuesday, 06 June 2023, 03:34 GMT
Reason for closing:  Upstream
Additional comments about closing:  Old and stale...and clearly an upstream issue. If still happening, please report upstream to the kernel folks.
Comment by Christian Rohmann (frittentheke) - Wednesday, 04 August 2021, 17:44 GMT
FWIW, I run kernel 5.13.5-arch1-1 on a Lenovo T14s (Gen1) and the webcam is not recognized.


EDIT:

Updated to 5.13.7-arch1-1 and "Bus 002 Device 002: ID 13d3:5405 IMC Networks Integrated Camera" is back ;-)
Comment by Horatiu Ion (LInk512) - Thursday, 05 August 2021, 08:09 GMT
I think you are referring to this https://bugs.archlinux.org/task/71588 bug. The weird thing is that I never had this issue, and the kernel version that fixed it for everyone, broke it for me. I also seem to have a different webcam manufacturer than the rest of the people with this issue
Comment by ps (pilafsama1) - Saturday, 07 August 2021, 04:45 GMT
I have same problem with upgrading to latest kernel doesn't show webcam on Lenovo T14 AMD(Gen1).
One of the things I did when it wasn't working in one of earlier kernels was to install `upd72020x-fw` from AUR which fixed the problem at that time.
Which was suggested here: https://bbs.archlinux.org/viewtopic.php?id=268278.
Now with/without this package on latest kernel the webcam doesn't work.
The webcam model is "usb 2-2: Manufacturer: SunplusIT Inc" and works on 5.13.5-arch1-1 kernel version only.
Comment by Horatiu Ion (LInk512) - Sunday, 08 August 2021, 18:02 GMT
I managed to get these logs related to the USB device from boot:

```
[ 7.292465] xhci_hcd 0000:06:00.0: xHCI Host Controller
[ 7.292476] xhci_hcd 0000:06:00.0: new USB bus registered, assigned bus number 2
[ 7.292499] xhci_hcd 0000:06:00.0: Zeroing 64bit base registers, expecting fault
[ 17.324564] xhci_hcd 0000:06:00.0: can't setup: -110
[ 17.324573] xhci_hcd 0000:06:00.0: USB bus 2 deregistered
[ 17.324679] xhci_hcd 0000:06:00.0: init 0000:06:00.0 fail, -110
[ 17.324697] xhci_hcd: probe of 0000:06:00.0 failed with error -110
```

110 is a timeout error

Loading...