Re: [Linux-uvc-devel] V4L1 backwards compatibility
Linux UVC driver and tools
Brought to you by:
pinchartl
|
From: Eduardo P. U. <edu...@uc...> - 2006-02-16 14:47:47
|
On 2006-02-16 13:05:59 +0000, Peter Robinson wrote: > > No, I still haven't tried Ekiga (I'm going to test it when I have the > > time), but I still need to have the webcam working with all these other > > applications. > > > > Do you mean that all these applications use the v4l or v4l2 interface > > incorrectly? > > > > Do you have plans to have v4l1 compatibility in the driver? > > > > I still don't know what ioctls should be in a v4l2 driver with v4l1 > > compatibility using v4l_compat_translate_ioctl() > > Do you know where I can find that list? > > > > Do you know of a good webcam USB driver that has good v4l1 compatibility > > using v4l_compat_translate_ioctl() ? > > I saw http://www.saillard.org/linux/pwc/ but it has both v4l1 and v4l2 > > APIs. > > I don't see the point in adding V4L1 support as its due to be removed > from the kernel before too long (can't remember the exact proposed > kernel release but it may be 2.6.18). The point is having applications that only have v4l1 support be able to work with this webcam. So until these apps have not upgraded to a v4l2 interface the v4l1 compatibility should be added. At linux-source-2.6.15/Documentation/feature-removal-schedule.txt > What: Video4Linux API 1 ioctls and video_decoder.h from Video devices. > When: July 2006 > Why: V4L1 AP1 was replaced by V4L2 API. during migration from 2.4 to 2.6 > series. The old API have lots of drawbacks and don't provide enough > means to work with all video and audio standards. The newer API is > already available on the main drivers and should be used instead. > Newer drivers should use v4l_compat_translate_ioctl function to handle > old calls, replacing to newer ones. > Decoder iocts are using internally to allow video drivers to > communicate with video decoders. This should also be improved to allow > V4L2 calls being translated into compatible internal ioctls. > Who: Mauro Carvalho Chehab <mc...@br...> You can see that v4l_compat_translate_ioctl should be used to provide v4l1 compatibility. Please, forward me the email or page where V4L1 support is said to be removed. |