webcam is detected but not working with kernel 5.4.0.33

Bug #1881757 reported by Afsal Rahman
72
This bug affects 14 people
Affects Status Importance Assigned to Milestone
linux-signed (Ubuntu)
Undecided
Xavier

Bug Description

webcam is detected not working under kernel 5.4.0.33 and 5.4.0.31 . The webcam is functional with kernels 5.0 and 5.6.15 .
-usb:1
                      description: Video
                      product: USB 2.0 Web Camera
                      vendor: Alcor Micro, Corp.
                      physical id: 2
                      bus info: usb@1:1.2
                      version: 0.08
                      capabilities: usb-2.00
                      configuration: driver=uvcvideo maxpower=200mA speed=480Mbit/s
susb; lsb_release -a; uname -a

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1d0b:0021 HAN HUA CABLE & WIRE TECHNOLOGY (J.X.) CO., LTD.
Bus 001 Device 003: ID 058f:5608 Alcor Micro Corp.
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
Linux afsal-Excelance 5.4.0-33-generic #37-Ubuntu SMP Thu May 21 12:53:59 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

more info : https://answers.launchpad.net/ubuntu/+question/691070

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrei Hryshanovich (ahryshanovich) wrote :

I have Ubuntu 19.10 and faced this issue several days ago after updating from 5.3.0-53 kernel to 5.3.0-55.

Revision history for this message
Afsal Rahman (afsalriha) wrote :

issue solved in kernel 5.4.0-37-generic .

Changed in linux-signed (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
PJ McNally (pj-mcnally) wrote :

i don't think this is solved.

my monitor webcam was working fine in April/May. i use no special drivers, it is a desktop monitor with effectively a USB hub and webcam built in (so using the standard plug and play UVCVIDEO drivers). It has now stopped working.

Doesnt show up in Cheese or in Guvcview.

if i run dmesg i get:

[ 7116.802582] usb 2-5.1: Product: Monitor Webcam
[ 7116.802586] usb 2-5.1: Manufacturer: OmniVision Technologies, Inc.538-2640-09.07.24.1
[ 7116.804179] uvcvideo: Found UVC 1.00 device Monitor Webcam (05a9:2649)
[ 7116.805930] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 7116.806302] uvcvideo: Failed to query (129) UVC probe control : -32 (exp. 26).
[ 7116.806306] uvcvideo: Failed to initialize the device (-5).

physically unplugging and replugging its usb doesnt help.

neither does rmmod uvcvideo and modprobe uvcvideo.

Weirdly, unplugging from my desktop's own USB slots - which are usb 2 (EHCI) - and moving the monitor usb cable to an empty usb 3.0 (xHCI) slot fixed the issue!

So i am back in business, but i believe whatever issue keeps popping up (for different webcams every few kernel releases), is still there...

Revision history for this message
Martin McEvoy (weborganics) wrote :

broken again on the latest kernel update 5.4.0-52-generic (why fix when all it does id break on the next update)

Revision history for this message
AKASH KHATTAR (akashkhattar) wrote :

not resolved on newwer versions also

Revision history for this message
Christian Treber (ctreber) wrote :

v4l2-ctl --list-devices

produces

USB camera (usb-0000:00:14.0-11):
 /dev/video0

Only web-based cam tests with Firefox do work (I see the video feed just fine). Cheese and Wemcamoid claim "no device found", neither before, during, or after the online cam test.

uname -a
Linux Neko 5.4.0-65-generic #73-Ubuntu SMP Mon Jan 18 17:25:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Michael (michid) wrote :

Camera still not working for me:

$ uname -a
Linux xps13-michid 5.4.0-65-generic #73~18.04.1-Ubuntu SMP Tue Jan 19 09:02:24 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Michael (michid) wrote :

$ dmesg --follow outputs the following couple of lines over and over again:

[ 133.319431] usb 1-5: USB disconnect, device number 107
[ 133.630667] usb 1-5: new high-speed USB device number 108 using xhci_hcd
[ 133.802683] usb 1-5: New USB device found, idVendor=0c45, idProduct=6723, bcdDevice=80.08
[ 133.802690] usb 1-5: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 133.802693] usb 1-5: Product: Integrated_Webcam_HD
[ 133.802696] usb 1-5: Manufacturer: CN09357GLOG008CPA4WEA01
[ 133.806737] uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD (0c45:6723)
[ 133.818203] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/input/input126

Each iteration incrementing the number on the last line by one. E.g. input126, input127, input128.

At the same rate the device files keep disappearing re-appearing:

$ ll /dev/video*
crw-rw----+ 1 root video 81, 0 Feb 11 15:31 /dev/video0
crw-rw----+ 1 root video 81, 1 Feb 11 15:31 /dev/video1

$ ll /dev/video*
ls: cannot access '/dev/video*': No such file or directory

The whole thing makes my laptop lag at the rhythm of the messages appearing with dmesg.

Revision history for this message
Michael (michid) wrote :

And then suddenly out of the blue dmesg reports

[10218.935204] usb 1-5: USB disconnect, device number 78
[10219.255070] usb 1-5: new high-speed USB device number 79 using xhci_hcd
[10219.416920] usb 1-5: New USB device found, idVendor=0c45, idProduct=6365, bcdDevice= 0.00
[10219.416927] usb 1-5: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[10219.416930] usb 1-5: Product: USB 2.0 Camera
[10219.416933] usb 1-5: Manufacturer: Sonix Technology Co., Ltd.
[10219.419757] uvcvideo: Found UVC 1.00 device USB 2.0 Camera (0c45:6365)
[10219.420518] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[10219.421168] uvcvideo: Failed to query (129) UVC probe control : -32 (exp. 26).
[10219.421175] uvcvideo: Failed to initialize the device (-5).

Note the difference device! At least flooding demsg stops after this point.

Revision history for this message
Michael (michid) wrote :
Download full text (5.0 KiB)

dmesg output with tracing for uvcvideo:

[ 1839.059133] usb 1-5: new high-speed USB device number 5 using xhci_hcd
[ 1839.225622] usb 1-5: New USB device found, idVendor=0c45, idProduct=6723, bcdDevice=80.08
[ 1839.225629] usb 1-5: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 1839.225633] usb 1-5: Product: Integrated_Webcam_HD
[ 1839.225636] usb 1-5: Manufacturer: CN09357GLOG008CPA4WEA01
[ 1839.228058] uvcvideo: Probing generic UVC device 5
[ 1839.228833] uvcvideo: Found format MJPEG.
[ 1839.228838] uvcvideo: - 1280x720 (30.0 fps)
[ 1839.228840] uvcvideo: - 960x540 (30.0 fps)
[ 1839.228842] uvcvideo: - 848x480 (30.0 fps)
[ 1839.228844] uvcvideo: - 640x480 (30.0 fps)
[ 1839.228846] uvcvideo: - 640x360 (30.0 fps)
[ 1839.228848] uvcvideo: Found format YUV 4:2:2 (YUYV).
[ 1839.228850] uvcvideo: - 640x480 (30.0 fps)
[ 1839.228852] uvcvideo: - 640x360 (30.0 fps)
[ 1839.228853] uvcvideo: - 424x240 (30.0 fps)
[ 1839.228855] uvcvideo: - 320x240 (30.0 fps)
[ 1839.228857] uvcvideo: - 320x180 (30.0 fps)
[ 1839.228859] uvcvideo: - 160x120 (30.0 fps)
[ 1839.228870] uvcvideo: Found a Status endpoint (addr 83).
[ 1839.228873] uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD (0c45:6723)
[ 1839.228883] uvcvideo: Added control 00000000-0000-0000-0000-000000000001/2 to device 5 entity 1
[ 1839.229216] uvcvideo: Adding mapping 'Exposure, Auto' to control 00000000-0000-0000-0000-000000000001/2.
[ 1839.229222] uvcvideo: Added control 00000000-0000-0000-0000-000000000001/3 to device 5 entity 1
[ 1839.229546] uvcvideo: Adding mapping 'Exposure, Auto Priority' to control 00000000-0000-0000-0000-000000000001/3.
[ 1839.229552] uvcvideo: Added control 00000000-0000-0000-0000-000000000001/4 to device 5 entity 1
[ 1839.229866] uvcvideo: Adding mapping 'Exposure (Absolute)' to control 00000000-0000-0000-0000-000000000001/4.
[ 1839.229874] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/2 to device 5 entity 2
[ 1839.230214] uvcvideo: Adding mapping 'Brightness' to control 00000000-0000-0000-0000-000000000101/2.
[ 1839.230219] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/3 to device 5 entity 2
[ 1839.230490] uvcvideo: Adding mapping 'Contrast' to control 00000000-0000-0000-0000-000000000101/3.
[ 1839.230495] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/6 to device 5 entity 2
[ 1839.230756] uvcvideo: Adding mapping 'Hue' to control 00000000-0000-0000-0000-000000000101/6.
[ 1839.230760] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/7 to device 5 entity 2
[ 1839.231024] uvcvideo: Adding mapping 'Saturation' to control 00000000-0000-0000-0000-000000000101/7.
[ 1839.231032] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/8 to device 5 entity 2
[ 1839.231341] uvcvideo: Adding mapping 'Sharpness' to control 00000000-0000-0000-0000-000000000101/8.
[ 1839.231343] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/9 to device 5 entity 2
[ 1839.231621] uvcvideo: Adding mapping 'Gamma' to control 00000000-0000-0000-0000-000000000101/9.
[ 1839.231624] uvcvideo: Added control 00000000-0000-0000-0000-000000000101/10 to device 5 entity 2
[ 1839.231906] uvcvideo: Adding mapping 'White Balance ...

Read more...

Xavier (xavier69)
Changed in linux-signed (Ubuntu):
assignee: nobody → Xavier (xavier69)
Revision history for this message
UDSM (udsm) wrote :

I'm also having the problem

Linux gomez 5.11.0-27-generic #29~20.04.1-Ubuntu SMP Wed Aug 11 15:58:17 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers