[pvrusb2] Build without V4L1 support
Mike Isely
isely at isely.net
Fri Apr 29 13:47:55 CDT 2011
Hi Sven,
Sorry about the hassle with compiling the standalone driver. I will get
a new snapshot released this weekend which should support 2.6.38
correctly. I just looked through my svn change history and I had
already merged in changes to remove V4L1 support in preparation for this
- and then forgot to release it. (The removal would only be active if
the kernel is recent enough so when built against older kernels V4L1
support would still be there. And the change for this is really pretty
tiny since the V4L1 aspects were isolated long ago.) There's actually a
small collection of changes ready to be released and I think the reason
I didn't release it right away is because I wanted to make sure it first
got accepted upstream (which it did).
I'll get a new snapshot out this weekend.
-Mike
On Mon, 25 Apr 2011, Sven Barth wrote:
> 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
> _______________________________________________
> pvrusb2 mailing list
> pvrusb2 at isely.net
> http://www.isely.net/cgi-bin/mailman/listinfo/pvrusb2
>
--
Mike Isely
isely @ isely (dot) net
PGP: 03 54 43 4D 75 E5 CC 92 71 16 01 E2 B5 F5 C1 E8
More information about the pvrusb2
mailing list