Re: [V4L] videodev2 + 2.4.0test8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Iñaki García Etxebarria wrote:
> 
> Thanks for your answer,
> 
> a few problems though:
> > The videodevX package Supports v4l1 and v4l2 and should work on 2.4.0
> > series kernels.
> It needed some hacking to get it to work. Attached is the patch
> against  videodevX-050900.tgz. It works for me (2.4.0test8 kernel), and
> all the code I introduced is ifdef'ed KERNEL_VERSION >= 2.4.0. The only
> missing thing is /proc filesystem support for devices registered with
> v4l2_register_device (video_register_device has /proc support).

Thanks - that was one of the things on my todo list... (I don't suppose
you're going to do the devfs stuff as well ;->)

> Just one problem. In the original driver vm_area_struct.vm_offset is
> used. Since that doesn't appear to exist in newer kernels, i've used
> vm_area_struct.vm_pgoff*PAGE_SIZE, but i don't really know if that's
> correct. I works with videodevX+bttv and videodevX+bttv2, though.

I'm pretty sure that is the correct way to do it.

> The bttv2 driver compiled without problems.
> 
> regards,
> Iñaki
> 
> PD: I've noticed some possible bugs in the bttv2 driver. Should I mail
> them to you directly or to the list?

Send them to me thanks - all bug reports are welcome.

-justin





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux