[Lazarus] V4L1 and V4L2 all in one unit

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Tue May 3 10:53:52 CEST 2011


Bernd wrote:
> 2011/5/2 Sven Barth <pascaldragon at googlemail.com>:
> 
>> V4L1 support was removed from the 2.6.38 kernel, so devices that weren't
>> switched to V4L2 till then won't work anymore
> 
> Yes, this is true. Unfortunately there are still old cameras that have
> only a V1 driver..
> 
> But even if v4l1 support is removed from the kernel this unit should
> still continue to work with the remaining V2 cameras because it does
> not use any V1 ioctls that would have to be handled by the kernel
> itself, it is using only ioctls that would be emulated by libv4l1.

I've not got any systems with cameras up to 2.4.38 yet, but I'm grateful 
for Sven's warning.

In practice I find the libv4l compatibility shim to be extremely useful.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list