[Kwintv] [PATCH] VIDIOCGUNIT support in BTTV

Dirk Ziegelmeier dziegel at gmx.de
Mon Jan 19 18:11:07 CET 2004


On Monday 19 January 2004 13:51, Neil Macvicar wrote:
> For all of you who may want to play around early with this functionality.
> It's against the 2.6.1 tree, but it should apply fuzzily to earlier ones.

From the v4l2 spec:

---
6.1.11. Miscellaneous

V4L2 has no equivalent of the VIDIOCGUNIT ioctl. Applications can find the VBI 
device associated with a video capture device (or vice versa) by reopening 
the device and requesting VBI data. For details see Section 1.1.
---

I don't think it makes sense to write _BTTV_ patches to add autodetection to 
the driver. This is clearly out of scope for QtVision. Either we go the way 
mentioned above (that looks much cleaner) or leave it. Shipping a _KERNEL_ 
patch with a TV app is not acceptable, especially not for an "unimportant" 
feature like autodetection. They surely had their reasons to remove the 
IOCTL, supporting that functionality is likely not as easy as your patch 
suggests.

If you want, write a patch that uses VIDIOCGUNIT on v4l1, and the other way 
for v4l2 (#ifdef HAVE_V4L2).

Sorry, but it seems I didn't carefully read/understand your last mail where 
you already stated that this involves kernel patching.

Dirk



More information about the kwintv mailing list