You are not logged in.

#1 2020-10-31 17:07:44

DAMO238
Member
Registered: 2020-02-25
Posts: 51

[SOLVED] Webcam 'USB disconnect' unless in use.

My webcam is constantly appearing and disappearing from my devices (either in /dev/video* or with l4v2ctrl --list-devices). After checking dmesg, I see that the kernel is detecting the webcam usb device constantly connecting and disconnecting and I'm not sure why.

$ watch "dmesg | grep -v UFW | grep -A 5 -B 5 disconnect"
...
[14147.924049] usb 1-12: USB disconnect, device number 65
[14152.793915] usb 1-12: new high-speed USB device number 66 using xhci_hcd
[14152.989812] usb 1-12: New USB device found, idVendor=0c45, idProduct=6a06, bcdDevice=64.26
[14152.989816] usb 1-12: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[14152.989819] usb 1-12: Product: Integrated_Webcam_HD
[14152.989822] usb 1-12: Manufacturer: CNFFH37N1431910003U7
[14152.992551] uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD (0c45:6a06)
[14153.003197] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input89
[14155.553903] usb 1-12: USB disconnect, device number 66
[14156.733842] usb 1-12: new high-speed USB device number 67 using xhci_hcd
[14156.929608] usb 1-12: New USB device found, idVendor=0c45, idProduct=6a06, bcdDevice=64.26
[14156.929610] usb 1-12: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[14156.929611] usb 1-12: Product: Integrated_Webcam_HD
[14156.929612] usb 1-12: Manufacturer: CNFFH37N1431910003U7
[14156.932250] uvcvideo: Found UVC 1.00 device Integrated_Webcam_HD (0c45:6a06)
[14156.941178] input: Integrated_Webcam_HD: Integrate as /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/input/input90
...

As soon as I start using it, it remains connected, which is really puzzling me. Any help would be greatly appreciated.

Last edited by DAMO238 (2020-10-31 20:34:34)

Offline

#2 2020-10-31 19:47:18

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: [SOLVED] Webcam 'USB disconnect' unless in use.

https://wiki.archlinux.org/index.php/Po … utosuspend

Notice that power managing tools like TLP can and will alter this configuration and you will have to configure them to stop doing so as well (or configure them to exempt the webcam from suspending)

Offline

#3 2020-10-31 20:34:23

DAMO238
Member
Registered: 2020-02-25
Posts: 51

Re: [SOLVED] Webcam 'USB disconnect' unless in use.

That worked! I wanted to keep the power saving measure while not causing problems with my webcam, so I increased the delay in the usbcore module parameters and all is well! Thanks!

Offline

#4 2021-11-26 08:12:15

olegshevtsov1
Member
Registered: 2021-11-26
Posts: 1

Re: [SOLVED] Webcam 'USB disconnect' unless in use.

DAMO238 wrote:

That worked! I wanted to keep the power saving measure while not causing problems with my webcam, so I increased the delay in the usbcore module parameters and all is well! Thanks!

My webcam has the same behavior, could you give your steps to reproduce, how to do t?
Thanks!

Offline

Board footer

Powered by FluxBB