On Sunday 22 July 2007 21:42:08 John Harvey wrote:
> I have a load of patches from Ian. Let me see if I can get them in
> tomorrow evening.
OK, great. Let me know if it turns out that you don't have time for it,
then I'll do it. I think we need new releases of the xdriver within the
next week.
One note: I made a commit to the ivtv trunk adding a new replacement
ioctl for the old IVTVFB_IOCTL_PREP_FRAME:
/* Old ioctl */
#define IVTVFB_IOCTL_PREP_FRAME _IOW('@', 3, struct
ivtvfb_ioctl_dma_host_to_ivtv_args)
/* New ioctl */
#define IVTVFB_IOC_DMA_FRAME _IOW ('V', BASE_VIDIOC_PRIVATE+0, struct
ivtvfb_ioctl_dma_host_to_ivtv_args)
The arguments are exactly the same, only the name changed. When ivtv-fb
is merged into the kernel it will only support the new ioctl, so the
xdriver that is meant for kernel 2.6.22 should also use the new ioctl.
When done, I'll make a new release of the ivtv-1.0.x package containing
this additional ioctl. That makes it possible to use the xdriver for
kernels >= 2.6.22.
Thanks,
Hans
> John
>
> > -----Original Message-----
> > From: Hans Verkuil [mailto:[EMAIL PROTECTED]
> > Sent: 22 July 2007 20:39
> > To: User discussion about IVTV
> > Cc: Ian Armstrong; John Harvey
> > Subject: Re: [ivtv-users] kernel 2.6.22 and ivtv 1.0.0 ivtv-fb
> >
> > On Sunday 22 July 2007 20:49:04 Hans Verkuil wrote:
> > > On Sunday 22 July 2007 19:28:18 David Arendt wrote:
> > > > Hi,
> > > >
> > > > When starting xfree I get the following error message:
> > > >
> > > > ivtv0-fb: Framebuffer at 0xdd510000, mapped to 0xe1890000, size
> > > > 1665k ivtv0-fb: === Validated display mode ===
> > > > ivtv0-fb: Display size 720x576 (720x576 Virtual) @ 32bpp
> > > > ivtv0-fb: Display position 1,1
> > > > ivtv0-fb: Display filter : on
> > > > ivtv0-fb: Color space : RGB
> > > > ivtv0-fb: === Display mode change ===
> > > > ivtv0-fb: Display size 720x576 (720x576 Virtual) @ 32bpp
> > > > ivtv0-fb: Display position 1,1
> > > > ivtv0-fb: Display filter : on
> > > > ivtv0-fb: Color space : RGB
> > > > ivtv0-fb: Running in compatibility mode. Display resize & mode
> > > > change disabled
> > > > ivtv0-fb: Framebuffer registered on ivtv card id 0
> > > > capifs: Rev 1.1.2.3
> > > > capi20: Rev 1.1.2.7: started up with major 68
> > > > (middleware+capifs) ivtv0-fb: Unknown IOCTL -2146942975
> > > >
> > > > The xfree logfile has the following content:
> > > >
> > > > (II) LoadModule: "ivtvdev"
> > > > (II) Loading /usr/X11R6/lib/modules/drivers/ivtvdev_drv.o
> > > > (II) Module ivtv: vendor="The XFree86 Project"
> > > > compiled for 4.3.0, module version = 0.10.6
> > > > ABI class: XFree86 Video Driver, version 0.6
> > > > (II) LoadModule: "mouse"
> > > > (II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
> > > > (II) Module mouse: vendor="The XFree86 Project"
> > > > compiled for 4.6.0, module version = 1.0.0
> > > > Module class: XFree86 XInput Driver
> > > > ABI class: XFree86 XInput driver, version 0.5
> > > > (II) IVTVDEV_TST: driver for framebuffer: PVR-350
> > > > (II) Primary Device is: PCI 02:04:0
> > > > (--) Chipset PVR-350 found
> > > > (EE) ivtvHWProvbe failed to do IVTVFB_IOCTL_GET_STATE for
> > > > device /dev/fb0 (II) UnloadModule: "ivtvdev"
> > > > (EE) Screen 0 deleted because of no matching config section.
> > > > (II) UnloadModule: "ivtvdev"
> > > > (II) Unloading /usr/X11R6/lib/modules/drivers/ivtvdev_drv.o
> > > > (EE) Device(s) detected, but none match those in the config
> > > > file.
> > > >
> > > > Fatal server error:
> > > > no screens found
> > > >
> > > > Any idea what is going wrong here ?
> > >
> > > The ivtv in the kernel has some API changes requiring a
> >
> > newer version
> >
> > > of the Xdriver.
> > >
> > > The xdriver trunk in subversion has been updated to my
> >
> > knowledge and
> >
> > > can be retrieved here:
> > > http://ivtvdriver.org/viewcvs/xdriver/trunk.tar.gz?view=tar
> > >
> > > Ian, John,
> > >
> > > What is the status of the Xdriver? Is it completely up to
> >
> > date? Can we
> >
> > > make a new release?
> >
> > Ah, it isn't up to date with 2.6.22. Ian, John, the current
> > 0.10.6 version is 22 months old. If I remember correctly the
> > trunk version (8 weeks old) performs much better with
> > ivtv-0.10. I think we should make a 0.10.7 version of that
> > and branch it. The trunk should be updated to work with ivtv
> > from kernel 2.6.22 and a version 1.0.0 should be made for
> > that (to match the ivtv version of 1.0.0).
> >
> > Does any of you have pending patches for the xdriver?
> >
> > Thanks,
> >
> > Hans
_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users