uvcdynctrl spams uvcdynctrl-udev.log and fills up filesystem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libwebcam (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I have a Dell XPS M1330 with the following webcam, as reported by lsusb:
Bus 007 Device 039: ID 05a9:7670 OmniVision Technologies, Inc. OV7670 Webcam
It seems that the connection between the webcam and motherboard is a bit loose, because when I pivot the lid, the little blue light on the webcam flashes on and off, and the above line disappears and reappears from my lsusb output. And, of course, any application using the webcam at the time crashes or has other troubles.
Anyway, when this happens, a process called uvcdynctrl spams the follwing message into /var/log/
[libwebcam] Warning: The driver behind device video0 has a slightly buggy implementation
of the V4L2_CTRL_
control ID if a control query fails. A workaround has been enabled.
It writes this message about 300000 times per second by my estimate, which means that even my gratuitiously large 50 GB root filesystem fills up in mere minutes, causing all sorts of interesting things to start happening.
I tried setting debug=0 in /lib/udev/
So I uninstalled the uvcdynctrl package. We'll see if any of my programs complain about it.
I realize that it might be diffucult to reproduce this, since you don't have my flaky webcam connection cord, but maybe you can trugger it by quickly plugging and unplugging a USB webcam.
Related branches
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Stefan Brozinski (stefan-brozinski) wrote : | #1 |
Changed in libwebcam (Ubuntu): | |
status: | New → Confirmed |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Felipe Amado (amadinho10) wrote : | #2 |
Same here on Asus 1215N - Ubuntu 11.04... It broke my Ubuntu =[
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Felipe Amado (amadinho10) wrote : | #3 |
After uninstalling libwebcam0 and removing that huge log file I can normally boot on my Ubuntu again =]
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Brian Olson (icic) wrote : | #4 |
Happens to me since I updated my ubuntu 11.04 a couple days ago. It filled 800GB of logs.
I had to kill it:
sudo killall -9 uvcdynctrl
it was repeating the message a zillion times:
[libwebcam] Warning: The driver behind device video0 has a slightly buggy implementation
of the V4L2_CTRL_
control ID if a control query fails. A workaround has been enabled.
What even starts uvcdynctrl? Does it happen when I plug in the camera? When something opens the driver?
lsusb of the camera
Bus 005 Device 005: ID 1c4f:3002 SiGma Micro
$ uvcdynctrl --version
uvcdynctrl 0.2.0
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Ivan Calderon (neomasterx7) wrote : | #5 |
Just deleted a 108 GB /var/log/
uvcdynctrl automatically starts after resuming from suspend, using 50-70% CPU and has to be manually killed by:
sudo kill -9 $(pidof uvcdynctrl)
uvcdynctrl-udev.log is filled with the same message.
Hardware:
Bus 003 Device 002: ID 04fc:2801 Sunplus Technology Co., Ltd
Version:
uvcdynctrl 0.2.1
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joe (j-moudrik) wrote : | #6 |
- uvcdynctrl-udev.log Edit (1.6 KiB, text/plain)
Hello,
happens to me as well. I incude the last part of the log file, before the "infinite" warning:
[libwebcam] Warning: The driver behind device video0 has a slightly buggy implementation
of the V4L2_CTRL_
control ID if a control query fails. A workaround has been enabled.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Joe (j-moudrik) wrote : | #7 |
Also, I have forgotten some info about by machine and the package:
Ubuntu 11.10
$ dpkg -s uvcdynctrl
Package: uvcdynctrl
Status: install ok installed
Priority: extra
Section: libs
Installed-Size: 100
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: libwebcam
Version: 0.2.1-1
Depends: libc6 (>= 2.4), libwebcam0 (= 0.2.1-1), uvcdynctrl-data
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
SweetDaddyJones (nicogetz) wrote : | #8 |
+1.
After an hour and a half of confused troubleshooting, I have come to realize that I too suffer from this bug. Just deleted a 14.8 GB log file and was finally able to boot normally again. Would LOOVE to have this one fixed.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Eleni Maria Stea (hikiko) wrote : | #9 |
+1 Mine was 96GB (in Debian Wheezy)... Please, fix that bug!! :-)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
lasse (lasselassi) wrote : | #10 |
Same problem here on Kubuntu 12.10.
Suddenly, KDE wouldn't start and fortunately I quickly found that logfile had filled up my harddrive.
I've set "debug=0" in "/lib/udev/
Package: uvcdynctrl
Status: install ok installed
Priority: extra
Section: utils
Installed-Size: 89
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: libwebcam
Version: 0.2.2-1
Depends: libc6 (>= 2.14), libwebcam0 (= 0.2.2-1), uvcdynctrl-data
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Sami Mäkinen (sami-makinen-helsinki) wrote : | #11 |
Somehow I have not seen this issue before, but after moving house suddenly the root fs was filled by this log. No hardware changes, except that of the 2 displays connected before, now only 1 is. Probably used a different USB connector.
Why did this happen now and not before?
I would rate this a high priority issue, because of the secondary effects of this and that breaking due to full disk.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Myna Mefirst (myna6p) wrote : | #12 |
Folks, I am glad i found this bug post.
I am running Ubuntu 12.04.1 and never had this problem, but oh surprise. after installing Kernel 3.8.0-RC1, this started occuring. it does NOT occur for ME with Kernel 3.7.1
Let me preface this by saying that i KNOW that newer and non-released kernels are not supported, but i wanted to share with you all because it may have something to do with a kernel change.
The workaround above works for me, but i hope this may give you a better clue.
$dpkg -s uvcdynctrl
Package: uvcdynctrl
Status: install ok installed
Priority: extra
Section: libs
Installed-Size: 85
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: libwebcam
Version: 0.2.1-1build1
Depends: libc6 (>= 2.4), libwebcam0 (= 0.2.1-1build1), uvcdynctrl-data
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Matt Hamann (matthew-hamann) wrote : | #13 |
Just deleted over 100GB of logs from this bug. Fortunately, I caught it before my system became unbootable.
It seemingly only occurs after a power state change. I've noticed it when resuming from suspend and occasionally when plugging/unplugging power from my laptop. It doesn't seem to occur *every* time each one of those events occurs.
I noticed the issue, because `uvcdynctrl` was using 100% CPU and causing the system to hang temporarily.
I can confirm that `sudo killall -9 uvcdynctrl` will cause the logs to stop overflowing and the system to return to normal operating state. Previously, I was using a system reboot to resolve the issue temporarily.
For now, I'll use the `kill` workaround to fix the system issues, and likely set up a cronjob to remove the offending log file.
As others have mentioned, this seems like a high-priority bug. My machine is a Lenovo ThinkPad T410 (w/ webcam, obviously).
Here's my build/environment info:
Package: uvcdynctrl
Status: install ok installed
Priority: extra
Section: libs
Installed-Size: 85
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: libwebcam
Version: 0.2.1-1build1
Depends: libc6 (>= 2.4), libwebcam0 (= 0.2.1-1build1), uvcdynctrl-data
Description: Command line tool to control v4l2 devices
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
mazurkin (mazurkin) wrote : | #14 |
The same happened when I passed USB web camera into KVM guest system (Xubuntu 12.04, QEMU 1.4.0)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Harri (harri-vayrynen) wrote : | #15 |
Yesterday in installed to my 12.04.1 uvcdynctrl and day after my root filesystem was full due /var/log/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Stephan Huebner (s-huebner) wrote : | #16 |
Happened to me as well on 12.10 after having used my webcam via VirtualBox/Win XP for the very first time. The HD was filled to the brink with a 33 GB file.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
m1fcj (hakan-koseoglu) wrote : | #17 |
Experienced out of the blue on a very upto date 13.04.
-rw-r--r-- 1 root root 279008261488 Sep 7 12:14 uvcdynctrl-udev.log
Seriously?? Seriously???
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Tom Oehser (tom-toms) wrote : | #18 |
Seriously? Hundreds of gigs of log fill the disk, and it doesn't get fixed for years? How hard can this one be?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Peter Ries (peterriesde) wrote : | #19 |
Affects me too. Still occuring on a brand new 13.10 xubuntu installation. Please turn off debug (=0), as mentioned above, by default. Or even better: please provide a fix.
Turning off debug would at least preventing the system from gettin unusable due to a full / partition...
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
planetisti (jamminen) wrote : | #20 |
Just experienced this bug:
Elitebook 8440p
Ubuntu 12.04
3.2.0-55-generic #85-Ubuntu SMP
Perhaps it has to do with suspend/resume?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alan Pope 🍺🐧🐱 🦄 (popey) wrote : | #21 |
Ugh. Just deleted 8GB of this log on my laptop.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
mdc (nexuscomputing) wrote : | #22 |
I had the same issue, I was running out of disk space and was unable to race the write process.
This is a serious bug, please fix it.
uvcdynctrl-udev.log has grown to 50G which is a respectable amount on my SSD.
Is there a workaround meanwhile to deny a process writing to that file?
Maybe chmod 000 on /var/uvcdynctrl
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
mdc (nexuscomputing) wrote : | #23 |
chmod 000 to /var/log/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Venelin (venelin-tanev) wrote : | #24 |
Having troubles all day to find out why can't boot into Ubuntu 12.04 32-bit system caused by no memory left messages, finally got rid of this 10GB log file. I've broke the installation by running Janitor (Ubuntu Tweaks) and spend the whole day fixing things and almost did a new install.
My webcam is not working from an year and I'm using this installation of Ubuntu from more than an year, didn't have such a problem so far.
dpkg -s uvcdynctrl
Package: uvcdynctrl
Status: install ok installed
Priority: extra
Section: libs
Installed-Size: 83
Maintainer: Ubuntu Developers <email address hidden>
Architecture: i386
Source: libwebcam
Version: 0.2.1-1build1
Depends: libc6 (>= 2.4), libwebcam0 (= 0.2.1-1build1), uvcdynctrl-data
Description: Command line tool to control v4l2 devices
This package provides the tools needed to add vendor specific
controls to uvc devices.
.
uvcdynctrl is part of the Webcam Library.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Yakir Gagnon (12-yakir) wrote : | #25 |
Same here. Not much new to add except that it happened when I connected an OfficeOne CMOS webcam of the cheapest kind (5$).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Alex10336 (ap10336) wrote : | #26 |
Same here:
$ dpkg -s uvcdynctrl
Package: uvcdynctrl
Status: install ok installed
Priority: extra
Section: libs
Installed-Size: 85
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: libwebcam
Version: 0.2.1-1build1
Depends: libc6 (>= 2.4), libwebcam0 (= 0.2.1-1build1), uvcdynctrl-data
$ lsb_release -a && uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.4 LTS
Release: 12.04
Codename: precise
Linux ubuntu2c 3.2.0-58-generic #88-Ubuntu SMP Tue Dec 3 17:37:58 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ lsusb
...
Bus 002 Device 002: ID 045e:0766 Microsoft Corp.
...
Bus 001 Device 006: ID 0ac8:3450 Z-Star Microelectronics Corp.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Dmitry Pashkevich (dipish) wrote : | #27 |
- tail -n 500 /var/log/uvcdynctrl-udev.log Edit (17.6 KiB, text/plain)
I just found that file on my 13.10 system and it was over 114Gb!!!
The repeating pattern that appears in the log file is different from the one posted by other people here, see attached file (last 500 lines).
I'm using a Logitech C910 webcam.
$ dpkg -s uvcdynctrl
Package: uvcdynctrl
Status: install ok installed
Priority: extra
Section: utils
Installed-Size: 89
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Source: libwebcam
Version: 0.2.2-1
Depends: libc6 (>= 2.14), libwebcam0 (= 0.2.2-1), uvcdynctrl-data
Description: Command line tool to control v4l2 devices
This package provides the tools needed to add vendor specific
controls to uvc devices.
.
uvcdynctrl is part of the Webcam Library.
.
The Webcam Library libwebcam is designed to simplify
the development of webcam applications, primarily on Linux but
with an option to be ported to other platforms, in particular
Solaris. It realizes part of what the unwritten Video4Linux user
space library was always supposed to be: an easy to use library
that shields its users from many of the difficulties and problems
of using the V4L2 API directly.
Original-
Homepage: http://
$ lsb_release -a && uname -a
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
Linux dpashk-carbon 3.11.0-17-generic #31-Ubuntu SMP Mon Feb 3 21:52:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a && uname -a
LSB Version: core-2.
Distributor ID: Ubuntu
Description: Ubuntu 13.10
Release: 13.10
Codename: saucy
Linux dpashk-carbon 3.11.0-17-generic #31-Ubuntu SMP Mon Feb 3 21:52:43 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Asylum (davidjellison) wrote : | #28 |
This is still an issue for 14.04 LTS
Ram 7.8GB
CPU AMD Phenom 965 4x core
Graphics VESA: CURACAO
OS type 64-bit
Disk 976GB
This only started after updating to 14.04, I have been running with same hardware for a few years, except graphice card upgraded 6 months ago under 13.10 with no issues until upgraded to 14.04.
I took the step to set debug=0 after finding a 287GB log file for this process, but i will still find it using 100% of one core every now and then.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
planetisti (jamminen) wrote : | #29 |
After some random number of suspend/resume I will always experience this bug on my laptop. It does not appear without suspend/resume.
Ubuntu 12.04
3.2.0-61-generic #93-Ubuntu SMP Fri May 2 21:31:50 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gregory Kramida (algomorph) wrote : | #30 |
I'm on 14.04 LTS now as well, and have to say the problem reoccurs regradless of suspend/resume. It only happens after I plug the camera in / out several times.
I'm trying to follow this solution here: https:/
Setting the debug to 0. If the issue still occurs, I'll let you know. Seems like a possible work-around.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Roosemberth Palacios (roosemberth) wrote : | #31 |
Just Realized this, I deleted 639GB of Log...... can someone fix this please?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Christopher (soft-kristal) wrote : | #32 |
I'm pretty sure in my case it had nothing to to with the webcam. I was notified of low disk space shortly after attaching a USB pen drive with corrupted files.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
erichgamba (erichgamba) wrote : | #33 |
This is still an issue in Ubuntu 14.04.2 LTS.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Juergen Meixner (juergen-sly) wrote : | #34 |
Same problem here since an update.
The problem isn't solved by changing the debug option to 0 in uvcdynctrl, the system also writes this error into
-rw-r----- 1 syslog adm 99000161 ago 21 20:19 syslog
and
-rw-r----- 1 syslog adm 98818900 ago 21 19:53 kern.log
until the disk is full.
Please let me know how to cope with this.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Juergen Meixner (juergen-sly) wrote : | #35 |
After sudo rm -rf /var/log/
juergen@
Dateisystem Typ Größe Benutzt Verf. Verw% Eingehängt auf
/dev/sda1 ext4 19G 5,4G 13G 31% /
none tmpfs 4,1k 0 4,1k 0% /sys/fs/cgroup
udev devtmpfs 2,0G 4,1k 2,0G 1% /dev
tmpfs tmpfs 383M 1,2M 382M 1% /run
none tmpfs 5,3M 4,1k 5,3M 1% /run/lock
none tmpfs 2,0G 156k 2,0G 1% /run/shm
none tmpfs 105M 54k 105M 1% /run/user
Still, there are big files in /var/log:
-rw-r--r-- 1 root root 1562351 ago 21 20:19 dpkg.log
-rw-r----- 1 syslog adm 227095055 ago 22 11:21 kern.log
-rw-r----- 1 syslog adm 227383822 ago 22 11:29 syslog
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Tony Schaefer (courseinmiracles) wrote : | #36 |
I am using an old Toshiba laptop. And the webcam had been playing up and now no longer works ( even after taking the laptop apart and checking the connection. I found a 347GB log file also, which now has been deleted.
tail -n 500 /var/log/
[libwebcam] Warning: The driver behind device video0 has a slightly buggy implementation
of the V4L2_CTRL_
control ID if a control query fails. A workaround has been enabled.
QUESTION; Is there a fix for this and will it continue? Do I have to Delete the file ( /lib/udev/
Any ideas?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Greg Holst (gregory-holst) wrote : | #37 |
This prevented me from logging onto my computer after a restart. It shut me down for over 2 hours. I'm using the version from the ubuntu software center of guvcview (guvcview 1.7.1-1ubuntu1).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
gary munroe (gm4-486) wrote : | #38 |
This problem just happened to me on my Thinkpad x301. I am running Linux Mint 17.3, which is based on Ubuntu 14.4. I have been running successive versions of Linux Mint for years without this happening. I recently, and for the first time, decided to use the built-in camera to video chat. I installed Cheese and gucview from the official repostory, and soon after all empty space on my hard drive was filled with the uvcdyncrtl log file.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
flrtx (fltrx) wrote : | #39 |
Same problem on a HP 250 G3: /var/log/
Workaround: I deleted /var/log/
I would appreciate a real fix for this since it rendered my computer useless until I found this solution. Thanks.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
James Mitchell (jmit) wrote : | #40 |
- logrotate config for the uvcdynctrl-udev logs Edit (120 bytes, text/plain)
I think what is really needed is to have the logfile added to the logrotate list, so it is kept under control.
I added this file to /etc/logrotate.d/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
pavan (pavan9630) wrote : | #41 |
my laptop error log is rapidly increasing upto 30gn
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
David (djgietze) wrote : | #42 |
Here's a quick and dirty workaround: after you delete the uvcdynctrl-udev.log file, create a symbolic link to /dev/null so that new text is thrown out.
sudo ln -s /dev/null /var/log/
I haven't experienced the high CPU usage that others have reported, so I don't know if this has any effect on that or not.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
GeekSmith (lixo-geeksmith) wrote : | #43 |
I just discovered this on my Ubuntu 19.10 system. Mine was caused by booting a VirtualBox windows VM that automatically attaches the camera when it's detected.
This bug was reported 9 years ago. NINE YEARS. Still unassigned, importance undecided. What's going on, folks?
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Romano Giannetti (romano-giannetti) wrote : | #44 |
I have (Ubuntu 18.04) also a spamming on /var/log/syslog, like:
Aug 28 12:01:13 pern kernel: [ 4554.463716] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 1: -32 (exp. 1).
Aug 28 12:01:13 pern kernel: [ 4554.464089] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 1: -32 (exp. 1).
Aug 28 12:01:13 pern kernel: [ 4554.464464] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 1: -32 (exp. 1).
Aug 28 12:01:13 pern kernel: [ 4554.464878] uvcvideo: Failed to query (GET_DEF) UVC control 2 on unit 1: -32 (exp. 1).
...which is not shut off by the debug=0 (at least, that seems to me, I have not tested extensively)
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jeff Ward (jeff-ward) wrote : | #45 |
What the heck? I woke up to a 9GB+ logfile (/var/log/
I'm thinking we should pipe that logfile to post in this thread and see how long it takes to get attention. :D
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jose Ignacio (jdiazgonz) wrote : | #46 |
Same issue here. Problem appeared after upgrading to 20.10 (a couple of weeks ago). Didn't realize about it until I couldn't initiate X session (there was no space in root folder for the temporary files and got an error message).
Deleting the file solves the "main issue" and I'm able to log in again but the file keeps growing a couple of Gb every day and it has to be deleted from time to time (which is not difficult but definitely is quite annoying).
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Jun Mendero (rememberizer) wrote : | #47 |
Also experiencing this issue. I believe it first happened when I disconnected a UVC Capture card.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
stef (update-5) wrote : | #48 |
My system also stops working a while after connecting a webcam.
As this problem only shows up on some system, I found purging the packet "uvcdynctrl" solves the problem for me.
Up to now I see no side effects, as the webcam anyway seams to be unsupported by uvcdynctrl. The camera works in both cases.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
david hammett (doclinux-dh) wrote (last edit ): | #49 |
After doing a regular apt-get upgrade on my Ubuntu 18.04 LTS about 5 days ago.I finely fixed my laptop that has the beast triple boot system with windows 10, Ubuntu 18.04 and Kubuntu 18.04 that Ive had in the last 30 years .The uvcdyncrtl lib after filling up my /var partition caused the primary super-block to be damaged on my /dev/sda8 partasion. There for I go and boot into my old trusty Kubuntu 18.04 and do just a simple apt-get update and bam It freezes up too. Booted into Windows 10 and its sill working thank about that for a minuet or two LOL. I had to use the drive's backup super-block to get things back booting, then deleted /var/log/
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Karl Kastner (kastner-karl) wrote : | #50 |
20.04 focal, uvcdynctrl-udev.log is 21G. The first entry in this log file if from Fri Dec 4 21:01:36 CET 2015. This file should be added to the logrotate list as suggested by James Mitchell (jmit) on 2016-10-19.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
January (january-weiner) wrote : | #51 |
I run into this problem myself. System completely frozen, took me a while to figure that out. Also, the cam was not working properly even before filling up the system with useless warnings. I can't believe that after more than ten years the problem still persists.
The solution is to apt-get remove uvcdynctrl uvcdynctrl-data libcamweb0
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Launchpad Janitor (janitor) wrote : | #52 |
This bug was fixed in the package libwebcam - 0.2.5-2
---------------
libwebcam (0.2.5-2) unstable; urgency=medium
* debian/control: Bump Standards-Version to 4.6.1.
* debian/control: Restrict architecture to linux-any.
* debian/patches: Add patch to fix package reproducibility.
(Closes: #787999)
* debian/changelog: Remove trailing spaces.
-- Boyuan Yang <email address hidden> Sun, 21 Aug 2022 19:44:40 -0400
Changed in libwebcam (Ubuntu): | |
status: | Confirmed → Fix Released |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Damien Huet (damienh) wrote : | #53 |
Hi everyone,
Thank you for the useful comments. The issue still exists on my Dell XPS 7515. I linked the logfile onto /dev/null but I still have 2 to 4 cores to 100% most of the time, decreasing my battery life (and probably hardware lifetime...) significantly. Setting debug=0 in /lib/udev/
Any idea on how to fix uvcdynctrl or find a more stable webcam driver would be appreciated.
Thank you very much!
Kernel version:
cat /proc/version
Linux version 6.2.6-76060206-
Webcam model:
lsusb -v
[...]
Bus 001 Device 009: ID 0c45:6723 Microdia Integrated_
[...]
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
hazeii (h101) wrote (last edit ): | #54 |
Having encountered this as well on a system that is used for a computer vision application (where no hotplugging is involved), hopefully I can add a little to the discussion.
For us, normally that logfile isn't even created - it only appears if the USB camera is (re)plugged in post-boot, i.e. udev runs uvcdynctrl to set up the newly-attached camera. So it seems the file only gets created if the camera is hot-plugged (in our case that's not expected, but for users with external USB cameras that could be far more common).
It still doesn't explain why the log file could use up all available space. Speculating now (informed by the various reports around the web about this) it seems possible that there's a bug in libwebcam where if the error is triggered even *once* then uvcdynctrl gets stuck in an endless loop throwing out that message. I think the code (someone more informed can likely get much further) is intended to print the message once and move on, but - perhaps - the code to "move on" doesn't work as intended.
The workaround would be - if you don't need uvcdynctrl to set the camera - to either remove uvcdynctrl (as many seem to have done to avoid this) or stop udev running uvcdynctrl when a camera is plugged in (delete the uvcdynctrl entries under /lib/udev?).
Apols if code bvelow isn't formatted correctly (first post on here): it's from line 2009 in libwebcam.c (v0.2.5):-
// Prevent infinite loops for buggy NEXT_CTRL implementations
if(r && v4l2_ctrl.id <= current_ctrl) {
// If there was an error but the driver failed to provide us with the ID
// of the next control, we have to manually increase the control ID,
// otherwise we risk getting stuck querying the erroneous control.
}
This also happens with a perfectly good USB connection when vmware-player is starting a Vista guest.
The information about having enabled a workaround for a driver issue is not that important that it has to be written to the log file millions of times. It should be sufficient to log the problem once when it occurs for the first time and shut up afterwards.