Your message dated Sun, 30 Aug 2009 23:17:07 +0000
with message-id <[email protected]>
and subject line Bug#528167: fixed in zapping 0.10~cvs6-3
has caused the Debian Bug report #528167,
regarding zapping: Cannot start capturing... ioctl VIDIOC_REQBUFS failed: 0, 
Success
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
528167: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528167
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: zapping
Version: 0.10~cvs6-2
Severity: important
Tags: patch

*** Please type your report below this line ***

I ran into the bug which is also reported here:

        https://bugs.launchpad.net/ubuntu/+source/zapping/+bug/304530

I looked at the kernel code, and it is possible that the ioctl
VIDIOC_REQBUFS can return a value greater than 0 on success.
This break's zapping's TV engine code, which assumes most ioctl's
return 0 on success.

Below is a hackish patch that got video working for me on a
Conexant card.  I'm still having trouble getting channels working,
but that's a separate problem.

- Chris

diff -ru zapping-0.10~cvs6/src/tveng25.c zapping-0.10~cvs6-cdf/src/tveng25.c
--- zapping-0.10~cvs6/src/tveng25.c     2006-06-07 02:56:51.000000000 -0400
+++ zapping-0.10~cvs6-cdf/src/tveng25.c 2009-05-10 18:05:30.000000000 -0400
@@ -2575,7 +2575,7 @@
        rb.memory = V4L2_MEMORY_MMAP;
        rb.count = n_buffers;
 
-       if (-1 == xioctl (info, VIDIOC_REQBUFS, &rb))
+       if (xioctl_may_fail (info, VIDIOC_REQBUFS, &rb) < 0)
                return FALSE;
 
        if (rb.count <= 0)




-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.28.9snoopbuffuse (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash



--- End Message ---
--- Begin Message ---
Source: zapping
Source-Version: 0.10~cvs6-3

We believe that the bug you reported is fixed in the latest version of
zapping, which is due to be installed in the Debian FTP archive:

zapping_0.10~cvs6-3.diff.gz
  to pool/main/z/zapping/zapping_0.10~cvs6-3.diff.gz
zapping_0.10~cvs6-3.dsc
  to pool/main/z/zapping/zapping_0.10~cvs6-3.dsc
zapping_0.10~cvs6-3_i386.deb
  to pool/main/z/zapping/zapping_0.10~cvs6-3_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Robert Luberda <[email protected]> (supplier of updated zapping package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 30 Aug 2009 12:21:08 +0200
Source: zapping
Binary: zapping
Architecture: source i386
Version: 0.10~cvs6-3
Distribution: unstable
Urgency: low
Maintainer: Robert Luberda <[email protected]>
Changed-By: Robert Luberda <[email protected]>
Description: 
 zapping    - television viewer for the GNOME environment
Closes: 485581 528167 536980
Changes: 
 zapping (0.10~cvs6-3) unstable; urgency=low
 .
   * Fix build dependencies (closes: #536980). Thanks to Simon McVittie
     for the patch.
   * 06_reqbufs_may_fail.patch: VIDIOC_REQBUFS can return a value greater
     then 0 on success (closes: #528167). Thanks to Chris Frey for the patch.
   * Rebuild with the current python-dev (closes: #485581).
   * debian/rules:
     + switch to debhelper v7;
     + remove deprecated calls to dh_scrollkeeper.
   * Standards-Version: 3.8.3.
   * Add debian/README.source.
   * Fix lintian warnings.
Checksums-Sha1: 
 7461296bfedde8953b79075a86cb22777016eef7 1414 zapping_0.10~cvs6-3.dsc
 cbab2c61fd672017353fc1508444026339c81370 12230 zapping_0.10~cvs6-3.diff.gz
 12b9ad7317e3ec887dd1d2f5de904fd919333b5c 1448230 zapping_0.10~cvs6-3_i386.deb
Checksums-Sha256: 
 001a4beee26d45b63e323a88284a8de59228e2854366f8c6fd3221a5d8f91588 1414 
zapping_0.10~cvs6-3.dsc
 fd8056fbd4b1c4c7371bdafa87d18849e1c169b373a1506a1758bc5f8ef31a65 12230 
zapping_0.10~cvs6-3.diff.gz
 814ff8c8ab636d822576eee0842b29c83e00157633e865ab95ac8f443a73a5e8 1448230 
zapping_0.10~cvs6-3_i386.deb
Files: 
 92c87034508607835bc6a7085dab4264 1414 gnome extra zapping_0.10~cvs6-3.dsc
 ed8951713f84f9d6d9b3f65e394eaa11 12230 gnome extra zapping_0.10~cvs6-3.diff.gz
 d4b8af8584c14400af6125b823fd696a 1448230 gnome extra 
zapping_0.10~cvs6-3_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqaWxcACgkQThh1cJ0wnDtFVwCfXlVoFnO3ScACA5xRR7+xk8WH
o1oAniBLXNf9F2IGfL1I3hM1GXk4KX3I
=TKpp
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to