[PATCH] BTTV: add new card (PixelView PlayTV PAK)

From: Frank de Lange (frank@unternet.org)
Date: Wed Sep 27 2000 - 08:09:04 EST


Howdy!

This patch adds a new card to the bttv (0.7.43) v4l driver. This is the most
recent version of bttv, it will probably NOT apply cleanly to a stock 2.4.x
kernel (and don't bother trying to apply it to anything less than 2.4.x). To
apply this patch, first apply the bttv 0.7.43 patch
(http://www.strusel007.de/linux/bttv/bttv-0.7.43-2.4.0-test8.diff.gz or a later
version), and THEN apply this patch.

I tested this patch with a Lenco MXTV 9578 CP (rebranded Prolink PV-BT878P+4E
(PixelView PlayTV PAK)), it works for me. The digital camera (Rockwell
QuartzSight) which comes with this card does not work yet, since it uses a
digital video mode for the Bt878 which is not supported by bttv (yet).

keywords: Prolink PV-BT878P+ PixelView PlayTV PAK bttv Rockwell QuartzSight

This card also provides a remote control which can be used with LIRC after
applying a patch which I'll send to the LIRC developers.

Here's the patch... It is made against the bttv-0.7.43 distribution, to apply
it against a (patched) kernel version you have to go to the
driver/media/video/bttv directory and apply using the -p2 parameter to patch.

--

diff -c bttv-0.7.43.org/driver/bttv-cards.c bttv-0.7.43/driver/bttv-cards.c *** bttv-0.7.43.org/driver/bttv-cards.c Sat Sep 23 08:49:10 2000 --- bttv-0.7.43/driver/bttv-cards.c Wed Sep 27 14:42:45 2000 *************** *** 712,717 **** --- 712,729 ---- pll: PLL_28, tuner_type: TUNER_ALPS_TSHC6_NTSC, audio_hook: gvbctv3pci_audio, + },{ + name: "Prolink PV-BT878P+4E (PixelView PlayTV PAK)", + video_inputs: 4, + audio_inputs: 1, + tuner: 0, + svhs: 2, + gpiomask: 0xAA0000, + muxsel: { 2,3,1,1 }, + audiomux: { 0x20000, 0, 0x80000, 0x80000, 0xa8000, 0x46000 }, + no_msp34xx: 1, + pll: PLL_28, + tuner_type: TUNER_PHILIPS_PAL_I, }}; const int bttv_num_tvcards = (sizeof(bttv_tvcards)/sizeof(struct tvcard)); diff -c bttv-0.7.43.org/driver/bttv.h bttv-0.7.43/driver/bttv.h *** bttv-0.7.43.org/driver/bttv.h Sun Sep 10 16:18:38 2000 --- bttv-0.7.43/driver/bttv.h Wed Sep 27 14:42:37 2000 *************** *** 101,106 **** --- 101,107 ---- #define BTTV_TERRATVRADIO 0x2f #define BTTV_DYNALINK 0x30 #define BTTV_GVBCTV3PCI 0x31 + #define BTTV_PXELVWPLTVPAK 0x32 struct tvcard {

-- WWWWW _______________________ ## o o\ / Frank de Lange \ }# \| / \ ##---# _/ <Hacker for Hire> \ #### \ +31-320-252965 / \ frank@unternet.org / ------------------------- [ Hacker: http://www.jargon.org/html/entry/hacker.html ] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Sep 30 2000 - 21:00:19 EST