Mailing List archive

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

[linux-dvb] Modifying driver for new DVB-T card.



Hi

Sorry if you get this twice, I couldn't seem to send it from my other 
address.

I've bought one of the new AverMedia DVB-T cards and I'm trying to modify
the drivers to work with it. I'm not sure exactly what information I
need, and where I need to make changes.

The card has a BT878A chip on board, so my first change was to apply the
patches and then copy and paste the Nebula entries in bttv-cards.h and
bttv.h. I replaced the names and PCI IDs with the AverMedia ones, but
didn't know what to do about the other values. I tried the BTSpy program
under Windows but I'm not sure ho w to interpret its output.

The bttv module now loads with this:

Apr 28 11:53:12 sym kernel: bttv: driver version 0.9.4 loaded
Apr 28 11:53:12 sym kernel: bttv: using 8 buffers with 2080k (520 pages) each for capture
Apr 28 11:53:12 sym kernel: bttv: Host bridge is VIA Technologies, Inc. VT8363/8365 [KT133/KM133]
Apr 28 11:53:12 sym kernel: bttv: Bt8xx card found (0).
Apr 28 11:53:12 sym kernel: PCI: Found IRQ 11 for device 00:0d.0
Apr 28 11:53:12 sym kernel: PCI: Sharing IRQ 11 with 00:0d.1
Apr 28 11:53:12 sym kernel: PCI: Sharing IRQ 11 with 00:0f.0
Apr 28 11:53:12 sym kernel: bttv0: Bt878 (rev 17) at 00:0d.0, irq: 11, latency:32, mmio: 0xea120000
Apr 28 11:53:12 sym kernel: bttv0: detected: AverMedia DVB-T [card=99], PCI subsystem ID is 1461:0761
Apr 28 11:53:12 sym kernel: bttv0: using: BT878(AverMedia DVB-T) [card=99,autodetected]
Apr 28 11:53:12 sym kernel: tuner: probing bt848 #0 i2c adapter [id=0x10005]
Apr 28 11:53:12 sym kernel: i2c-core.o: adapter bt848 #0 registered as adapter 0.
Apr 28 11:53:12 sym kernel: bttv0: using tuner=-1
Apr 28 11:53:12 sym kernel: bttv0: registered device video0
Apr 28 11:53:12 sym kernel: bttv0: registered device vbi0
Apr 28 11:53:12 sym kernel: bttv0: PLL: 28636363 => 35468950 .. ok


I also added a new "case" entry in dvb-tt8xx.c (in dvb_bt8xx_init) for the
AverMedia card, but I've got no idea what to do about the gpio_mode
variable.

I've never tried to do anything like this before, so I'm a bit lost. Can
anyone suggest what information I need (from the manufacturer), and which
bits of the code I should be modifying?

Thanks

Neil




-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index