[pvrusb2] Build without V4L1 support

Sven Barth pascaldragon at googlemail.com
Mon Apr 25 12:36:37 CDT 2011


On 25.04.2011 19:27, Sven Barth wrote:
> On 25.04.2011 19:19, Sven Barth wrote:
>> Hello Mike!
>>
>> I have a new problem now. It's not related to the AV400 directly, but
>> seems to be a more general problem. My current kernel (2.6.38) does not
>> seem to include the V4L1 header (linux/videodev.h) anymore, so
>> pvrusb2-i2c-cmd-v4l1.c won't compile (I'm using the snapshot from
>> January).
>>
>> So it seems you need to adjust your snapshot again for newer kernels as
>> the "kernel-next" repository doesn't contain it either...
>>
>> Regards,
>> Sven
>>
>> PS: I'll try to adjust it for me locally in the meantime.
>
> And "v4l_compat_translate_ioctl" used in pvrusb2-v4l2.c doesn't exist
> either anymore.

Ok, I got it to compile (and run) for me again (puh ^^).

For my second mail I applied the change I found in linux-next: 
http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commitdiff;h=08af245de0cf6ab5f4ed008ee2bb99273774fce0#patch11

Regards,
Sven


More information about the pvrusb2 mailing list