Hello,
My driver for the miro PCTV is more or less in the same status than
yours, but I've stop coding and begin to think in writing a i2c-usb driver
for the nt1003, to be able to use the drivers that are actually used by
the bttv and the rest of v4l stuff. Doing so, there is no need of rewrite
the tuner driver and also the saa7111 driver can be used with minimal
modifications. The problem is that I think I don't understand yet how the
new i2c driver works, and I'm not sure if this can be done. Have somebody
done this kind of mix? don't you think this is the better way to develop
the driver?.
Cheers.
Nacho.
On Tue, 4 Apr 2000, J�rg Heckenbach wrote:
> Hi!
>
> I've killed my first try writing a wintv driver based on CPiA. I began a
> new one based on the OV511 driver. OK, its also based on CPiA, but I
> think it's easier to fit to the wintv device.
>
> Status quo:
>
> Functions modified and testet:
> int wintv_reg_write(struct usb_device *dev, unsigned char reg, unsigned
> char value)
> int wintv_reg_read(struct usb_device *dev, unsigned char reg)
> int wintv_i2c_write(struct usb_device *dev, unsigned char reg, unsigned
> char value)
> int wintv_i2c_read(struct usb_device *dev, unsigned char reg)
> static int saa7111a_configure(struct usb_device *dev)
> static int wintv_configure(struct usb_wintv *wintv)
> static void* wintv_probe(struct usb_device *dev, unsigned int ifnum)
> static void wintv_disconnect(struct usb_device *dev, void *ptr)
>
> When the driver is startet it is registered, it probes for a devices and
> it claimes the wintv device.
>
>
> To Do:
>
> - Modify the V4L API, ioctl.
> - wintv_i2c_... just handles the i2c-port of the saa7111a. Add handling
> the Tuner i2c (FM1216). (This will be my next job).
>
> Problems:
> When I installed the new SuSE Linux 6.4 with kernel 2.2.14 the usb-core
> didn't recognice the EP1 as bidirectional, so starting the driver
> failed. Now I'm back forward to 2.3.51.
>
> Nice Greetings
> Joerg Heckenbach
> [EMAIL PROTECTED]
___________________________________________________________________
=== ____ === Jose Ignacio Gij'on
=== / / / ___ ___ _/_ ===
=== /---- / / / / /___/ / === [EMAIL PROTECTED]
=== /____ /___/ / / /___ / === [EMAIL PROTECTED]
===== =====
===== Connecting Europe since 1982 ===== tel: +34.91.754 80 00
Goya Servicios Telematicos, S.A. fax: +34.91.754 80 08
C/ Tel'emaco 5 E-28027 Madrid, Espanna
___________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]