Bug#733094: uvcdynctrl still filling the disk

2021-12-08 Thread Paulo Assis
Guvcview functions perfectly without uvcdynctrl.
uvcdynctrl just adds some exotic uvc ctrls for older logitech cameras, like
a led ctrl.
The recommend can be droped without any problem.

Regards.


A quarta, 8/12/2021, 04:12, Kurt Meyer  escreveu:

> "Guvcview doesn't depend upon uvcdynctrl it just recommends it." Okay, but
> unless you disable "recommends", uvcdynctrl gets installed. Based on a
> little bit of research I performed, it is not recommended to disable
> "recommends" because recommended packages are usually needed for a more
> useful installation.
>
> Source of info for not disabling "recommends":
>
> https://unix.stackexchange.com/questions/122289/why-install-recommends-default-is-true
>
> Does guvcview function or function well enough without uvcdynctrl?
>
> *The following additional packages will be installed:*
> *  libguvcview-2.0-2 libportaudio2 libwebcam0 uvcdynctrl uvcdynctrl-data*
> *The following NEW packages will be installed:*
> *  guvcview libguvcview-2.0-2 libportaudio2 libwebcam0 uvcdynctrl
> uvcdynctrl-data*
> *0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.*
> *Need to get 266 kB/386 kB of archives.*
> *After this operation, 1,437 kB of additional disk space will be used.*
>
>


Bug#733094: uvcdynctrl still filling the disk

2020-07-02 Thread Paulo Assis
Guvcview doesn't depend on uvcdynctrl it just recommends it.
I've fixed uvcdynctrl upstream but haven't push a new deb package because
due to some uvc driver changes it became mostly irrelevant. Also I think
new uvc devices expose the controls correctly, so there is no real need for
uvcdynctrl.

Regards,
Paulo

A terça, 30/06/2020, 13:36, Simon John  escreveu:

> Any movement on this, the issue was fixed upstream 5+ years ago but as
> of today, /lib/udev/uvcdynctrl in sid still contains debug=1
>
> OK users can change that, but on the next upgrade it'll get reverted and
> fill the disk.
>
> Seems like a simple patch to change it to debug=0 by default and/or mark
> it as a conffile to not overwrite.
>
> Without this we can't install guvcview safely.
>
> If the fix isn't forthcoming then surely this needs to be upgraded to
> "grave" to prevent people installing it?
>
> Regards.
>
> --
> Simon John
>


Bug#733094: Still exists in Jessie

2015-11-11 Thread Paulo Assis
Hi, in recent versions this was fixed by changing debug to 0 in
uvcdynctrl script:
http://sourceforge.net/p/libwebcam/code/ci/f1e631a4163beb926f25efa52e2c5b71128de345/

this will redirect log output to /dev/null

Regards,
Paulo

2015-11-06 13:54 GMT+00:00 Matti Kurkela :
> If /var or /var/log is a separate filesystem, the udev rule for this can
> often run before that filesystem is mounted, causing the
> /var/log/uvcdynctrl-udev.log file to be "hidden" under the mountpoint -
> where it is also unreachable by logrotate and similar tools, and thus might
> grow forever until the root filesystem is full.
>
> One way to remove the unreachable file would be to reboot into single user
> mode - but there is an easier way: bind mount the root filesystem to some
> other location. Bind mounts ignore submounts, and thus make the files stuck
> under mount points accessible.
>
> Here's an example from my system:
>
> # ls -l /var/log/uvcdynctrl-udev.log
> -rw-r--r-- 1 root root 0 Nov 6 12:28 /var/log/uvcdynctrl-udev.log
>
> # mount --bind / /mnt
>
> # ls -l /mnt/var/log/uvcdynctrl-udev.log
> -rw-r--r-- 1 root root 97805 Nov 4 21:15 /mnt/var/log/uvcdynctrl-udev.log
>
> Apparently /lib/udev/uvcdynctrl and /lib/udev/rules.d/80-uvcdynctrl.rules
> are not marked as conffiles, so updates will overwrite any manual edits.
>
> A permanent workaround can be achieved by also overriding the udev rule to
> make it read the script from elsewhere, so the modified script won't be
> overwritten on updates:
>
> # sed -e '/^debug=/s/1/0/' < /lib/udev/uvcdynctrl >/etc/udev/uvcdynctrl
> # sed -e 's|/lib/udev/uvcdynctrl|/etc/udev/uvcdynctrl|' \
> < /lib/udev/rules.d/80-uvcdynctrl.rules \
>>
>> /etc/udev/rules.d/80-uvcdynctrl.rules
>
>
> A minimal patch would be to add a configuration file to the package, e.g.
> /etc/default/uvcdynctrl, and have the /lib/udev/uvcdynctrl read the value of
> the "debug" variable from there.
>
>
> --
> Matti.Kurkela (at) iki.fi (or welho.com)



Bug#787999: libwebcam: please make the build reproducible

2015-06-08 Thread Paulo Assis
Patch committed to mainstream git.

Regards,
Paulo

2015-06-07 17:03 GMT+01:00 Dhole :
> Source: libwebcam
> Version: 0.2.4-1.1
> Severity: wishlist
> Tags: patch
> User: reproducible-bui...@lists.alioth.debian.org
> Usertags: timestamps
>
> Hi!
>
> While working on the “reproducible builds” effort [1], we have noticed
> that libwebcam could not be built reproducibly.
>
> The attached patch removes extra timestamps from the gzip files. Once
> applied, libwebcam can be built reproducibly in our current experimental
> framework.
>
>  [1]: https://wiki.debian.org/ReproducibleBuilds
>
> --
> Dhole


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#771895: unblock: libwebcam/0.2.4-1.1

2014-12-03 Thread Paulo Assis
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: unblock

Please unblock package libwebcam

this version fixes RC bug:
770982: libwebcam0-dev: dynctrl-logitech.h is missing in libwebcam0-dev

it's a very simple fix, it just includes a missing header in the dev package:

diff -Nru libwebcam-0.2.4/debian/libwebcam0-dev.install
libwebcam-0.2.4/debian/libwebcam0-dev.install
--- libwebcam-0.2.4/debian/libwebcam0-dev.install   2013-11-01
16:49:24.0 -0700
+++ libwebcam-0.2.4/debian/libwebcam0-dev.install   2014-11-28
15:32:56.0 -0800
@@ -1,3 +1,4 @@
+usr/include/dynctrl-logitech.h
 usr/include/webcam.h
 usr/lib/libwebcam.a
 usr/lib/libwebcam.so
diff -Nru libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h
libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h
--- libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h
1969-12-31 16:00:00.0 -0800
+++ libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h
2014-11-28 15:29:48.0 -0800
@@ -0,0 +1,13 @@
+Index: libwebcam-0.2.4/libwebcam/CMakeLists.txt
+===
+--- libwebcam-0.2.4.orig/libwebcam/CMakeLists.txt  2013-10-31
14:47:36.0 -0700
 libwebcam-0.2.4/libwebcam/CMakeLists.txt   2014-11-28
15:29:32.063070089 -0800
+@@ -103,7 +103,7 @@
+ )
+
+ install (
+-  FILES   ../common/include/webcam.h
++  FILES   ../common/include/webcam.h ../common/include/dynctrl-logitech.h
+   DESTINATION ${CMAKE_INSTALL_PREFIX}/include
+ )
+
diff -Nru libwebcam-0.2.4/debian/patches/series
libwebcam-0.2.4/debian/patches/series
--- libwebcam-0.2.4/debian/patches/series   2013-11-01
16:49:24.0 -0700
+++ libwebcam-0.2.4/debian/patches/series   2014-11-28
15:29:13.0 -0800
@@ -0,0 +1 @@
+install-dynctrl-logitech.h


unblock libwebcam/0.2.4-1.1

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'),
(500, 'oldstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.16-4 (SMP w/1 CPU core)
Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#770982: Patch

2014-11-29 Thread Paulo Assis
Hi,

2014-11-29 14:55 GMT+00:00 Matt Kraai :
> Hi,
>
> On Sat, Nov 29, 2014 at 10:24:45AM +0000, Paulo Assis wrote:
>> This is fixed in version 0.2.5.
>> source packages (signed) can be found here:
>> https://drive.google.com/folderview?id=0B0_qxcVSvJFMOTcyOFJRNkFaWjA&usp=sharing
>>
>> If someone can upload this, it would be appreciated.
>
> I can upload it, but I'm afraid that it won't be allowed into testing.
> According to
>
>  https://release.debian.org/jessie/freeze_policy.html
>
> new upstream releases shouldn't be included, only fixes for bugs of
> important severity or higher, as well as translation and documentation
> fixes.

Argh! I wasn't aware of those timings.
In any case the new release should eventually go into unstable (after
the fix to 0.2.4).

>
> Would you mind if I made an non-maintainer upload based on the
> following patch?

I have no problem with this, I think it will also be faster.

Regards,
Paulo

> Would you prefer I sponsor an upload by you that
> just fixes this bug?
>
> diff -Nru libwebcam-0.2.4/debian/changelog libwebcam-0.2.4/debian/changelog
> --- libwebcam-0.2.4/debian/changelog2013-11-01 16:49:24.0 -0700
> +++ libwebcam-0.2.4/debian/changelog2014-11-29 06:52:05.0 -0800
> @@ -1,3 +1,10 @@
> +libwebcam (0.2.4-1.1) unstable; urgency=medium
> +
> +  * Non-maintainer upload.
> +  * Install dynctrl-logitech.h (Closes: #770982)
> +
> + -- Matt Kraai   Sat, 29 Nov 2014 06:52:05 -0800
> +
>  libwebcam (0.2.4-1) unstable; urgency=low
>
>* Bump to version 0.2.4 (Closes: #713548)
> diff -Nru libwebcam-0.2.4/debian/libwebcam0-dev.install 
> libwebcam-0.2.4/debian/libwebcam0-dev.install
> --- libwebcam-0.2.4/debian/libwebcam0-dev.install   2013-11-01 
> 16:49:24.0 -0700
> +++ libwebcam-0.2.4/debian/libwebcam0-dev.install   2014-11-28 
> 15:32:56.0 -0800
> @@ -1,3 +1,4 @@
> +usr/include/dynctrl-logitech.h
>  usr/include/webcam.h
>  usr/lib/libwebcam.a
>  usr/lib/libwebcam.so
> diff -Nru libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h 
> libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h
> --- libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h   1969-12-31 
> 16:00:00.0 -0800
> +++ libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h   2014-11-28 
> 15:29:48.0 -0800
> @@ -0,0 +1,13 @@
> +Index: libwebcam-0.2.4/libwebcam/CMakeLists.txt
> +===
> +--- libwebcam-0.2.4.orig/libwebcam/CMakeLists.txt  2013-10-31 
> 14:47:36.0 -0700
>  libwebcam-0.2.4/libwebcam/CMakeLists.txt   2014-11-28 15:29:32.063070089 
> -0800
> +@@ -103,7 +103,7 @@
> + )
> +
> + install (
> +-  FILES   ../common/include/webcam.h
> ++  FILES   ../common/include/webcam.h 
> ../common/include/dynctrl-logitech.h
> +   DESTINATION ${CMAKE_INSTALL_PREFIX}/include
> + )
> +
> diff -Nru libwebcam-0.2.4/debian/patches/series 
> libwebcam-0.2.4/debian/patches/series
> --- libwebcam-0.2.4/debian/patches/series   2013-11-01 16:49:24.0 
> -0700
> +++ libwebcam-0.2.4/debian/patches/series   2014-11-28 15:29:13.0 
> -0800
> @@ -0,0 +1 @@
> +install-dynctrl-logitech.h
>
> --
> Matt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#770982: Patch

2014-11-29 Thread Paulo Assis
Hi,

This is fixed in version 0.2.5.
source packages (signed) can be found here:
https://drive.google.com/folderview?id=0B0_qxcVSvJFMOTcyOFJRNkFaWjA&usp=sharing

If someone can upload this, it would be appreciated.

Regards,
Paulo

2014-11-28 23:37 GMT+00:00 Matt Kraai :
> Control: tags -1 + patch
>
> Hi,
>
> Here's a patch, partially extracted from upstream, that includes
> dynctrl-logitech.h in libwebcam0-dev:
>
> diff -Nru libwebcam-0.2.4/debian/libwebcam0-dev.install 
> libwebcam-0.2.4/debian/libwebcam0-dev.install
> --- libwebcam-0.2.4/debian/libwebcam0-dev.install   2013-11-01 
> 16:49:24.0 -0700
> +++ libwebcam-0.2.4/debian/libwebcam0-dev.install   2014-11-28 
> 15:32:56.0 -0800
> @@ -1,3 +1,4 @@
> +usr/include/dynctrl-logitech.h
>  usr/include/webcam.h
>  usr/lib/libwebcam.a
>  usr/lib/libwebcam.so
> diff -Nru libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h 
> libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h
> --- libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h   1969-12-31 
> 16:00:00.0 -0800
> +++ libwebcam-0.2.4/debian/patches/install-dynctrl-logitech.h   2014-11-28 
> 15:29:48.0 -0800
> @@ -0,0 +1,13 @@
> +Index: libwebcam-0.2.4/libwebcam/CMakeLists.txt
> +===
> +--- libwebcam-0.2.4.orig/libwebcam/CMakeLists.txt  2013-10-31 
> 14:47:36.0 -0700
>  libwebcam-0.2.4/libwebcam/CMakeLists.txt   2014-11-28 15:29:32.063070089 
> -0800
> +@@ -103,7 +103,7 @@
> + )
> +
> + install (
> +-  FILES   ../common/include/webcam.h
> ++  FILES   ../common/include/webcam.h 
> ../common/include/dynctrl-logitech.h
> +   DESTINATION ${CMAKE_INSTALL_PREFIX}/include
> + )
> +
> diff -Nru libwebcam-0.2.4/debian/patches/series 
> libwebcam-0.2.4/debian/patches/series
> --- libwebcam-0.2.4/debian/patches/series   2013-11-01 16:49:24.0 
> -0700
> +++ libwebcam-0.2.4/debian/patches/series   2014-11-28 15:29:13.0 
> -0800
> @@ -0,0 +1 @@
> +install-dynctrl-logitech.h
>
> Would you like me to sponsor an upload containing it (or something
> like it)?
>
> --
> Matt


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#770982: libwebcam0-dev: dynctrl-logitech.h is missing in libwebcam0-dev

2014-11-26 Thread Paulo Assis
Hi,
I'll fix this and request a package upload.

Thank you,
Paulo

2014-11-25 20:24 GMT+00:00 Fufu Fang :
> Hi,
> A temporary fix is indeed copying the header file from the source to
> /usr/local/include.
>
> However I haven't got much clue on Debian's package process. Are there
> any pointers to help me get started? I suppose I can submit a patch or
> something.
>
> Best wishes,
> Fufu
>
> On 25/11/14 20:19, Juhani Numminen wrote:
>> Hi,
>>
>> http://sources.debian.net/src/libwebcam/0.2.4-1/common/include/
>>> Folder: include
>>>   .. (parent)
>>>   dynctrl-logitech.h
>>>   webcam.h
>> Quickly checking using sources.debian.net shows that the file
>> dynctrl-logitech.h is included in the source package. I think this bug
>> might be easily fixable just by modifying debian/libwebcam0-dev.install.
>>
>> Cheers,
>> Juhani
>>
>> PS. Sorry for not actually fixing an RC bug, but maybe providing
>> additional info will speed up someone else’s job.


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#733094: fills disk writing to /var/log/uvcdynctrl-udev.log

2013-12-27 Thread Paulo Assis
Hi, this should be now fix in git.
You just need to set debug to 0 in /lib/udev/uvcdynctrl,
another option if you want to keep the debug messages is to rotate the log file.

Regards,
Paulo

2013/12/25 Daniel Pocock :
> Package: uvcdynctrl
> Version: 0.2.2-1
>
>
>
> I discovered /var filled up after connecting a Logitech B990 webcam
>
> This log file had appeared and grown to several gigabytes very quickly:
>
>/var/log/uvcdynctrl-udev.log
>
> with the message below repeated many times.
>
> fuser tells me that this process is responsible for the ballooning logfile:
>
>   uvcdynctrl -d /dev/video0 --addctrl=046d:0828
>
>
>
> [libwebcam] Warning: The driver behind device video0 has a slightly
> buggy implementation
>   of the V4L2_CTRL_FLAG_NEXT_CTRL flag. It does not return the next higher
>   control ID if a control query fails. A workaround has been enabled.
> [libwebcam] Warning: The driver behind device video0 has a slightly
> buggy implementation
>   of the V4L2_CTRL_FLAG_NEXT_CTRL flag. It does not return the next higher
>   control ID if a control query fails. A workaround has been enabled.
> [libwebcam] Warning: The driver behind device video0 has a slightly
> buggy implementation
>   of the V4L2_CTRL_FLAG_NEXT_CTRL flag. It does not return the next higher
>   control ID if a control query fails. A workaround has been enabled.
> [libwebcam] Warning: The driver behind device video0 has a slightly
> buggy implementation
>   of the V4L2_CTRL_FLAG_NEXT_CTRL flag. It does not return the next higher
>   control ID if a control query fails. A workaround has been enabled.


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#713548: libwebcam: FTBFS: libwebcam.c:2097:8: error: 'V4L2_CID_HCENTER' undeclared (first use in this function)

2013-08-07 Thread Paulo Assis
Nobuhiro Hi,
I've commited the patch to git.
I'm preparing a new release (0.2.3), it should be available today and
it will include this patch and some other changes that have been in
git for some time now.

I also noticed that debian still has guvcview 1.7.0, the latest
release is 1.7.1 and among other things it fixes a major bug in the
avi container (opendml indexes weren't beeing produced correctly),
this bug affected all avi files larger than 1GB.

Regards,
Paulo

2013/8/7 Nobuhiro Iwamatsu :
> Control: tags -1 + patch
>
> Hi,
>
> V4L2_CID_HCENTER and V4L2_CID_VCENTER removed from linux v3.9.
> I create a patch which revise this problem.
>
> Could you check and appply?
>
> Best regards,
>   Nobuhiro
>
> --
> Nobuhiro Iwamatsu
>iwamatsu at {nigauri.org / debian.org}
>GPG ID: 40AD1FA6


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#673114: override: uvcdynctrl-data:utils/extra, uvcdynctrl:utils/extra

2012-05-16 Thread Paulo Assis
Package: ftp.debian.org

> uvcdynctrl-data_0.2.2-1_all.deb: package says section is utils, override says 
> libs.
> uvcdynctrl_0.2.2-1_amd64.deb: package says section is utils, override says 
> libs.

uvcdynctrl is a program not a library, the section was wrong in
previous packages.
Also this change is needed to close Bug#663083
Please change the section to utils.

Regards,
Paulo



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#568727: libwebcam: Libwebcam - API and tool set for v4l2 control handling

2010-02-08 Thread Paulo Assis
Martin Hi,
I already packaged it, see here:
http://svn.quickcamteam.net/svn/qct/webcam-tools/branches/deb/packages/

I opened a ITP for it: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568732

But when I first tried it I mistakenly file a bug on the package
itself instead of wnpp, sorry ;-(

Regards,
Paulo

2010/2/7 Martin Michlmayr :
> * Paulo  [2010-02-07 10:53]:
>> Package: libwebcam
>
> Paulo, is this a Request for Package or an Intend to Package, i.e. are
> you planning to package this yourself or looking for someone else to
> package it?
>
> --
> Martin Michlmayr
> http://www.cyrius.com/
>



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org