Hi guys, I'm having trouble writing a driver for a new digital tv card. Its a Twinhan VisionPlus DVB-T which has a Conexant Fusion 878A PCI interface and a NXT6000 based front end.
Every time I try to insmod the bttv.o module it hard locks the kernel. The problem seems to be with the "struct tvcard bttv_tvcards" settings I'm using. I had hoped by using the same as a Nebula Electronics card it would load. Can someone explain what the .muxsel, .svhs and .video_inputs are, or somewhere to look? Thanks Paul
--- linux/drivers/media/video/bttv.h.old Sun Jul 13 12:17:51 2003 +++ linux/drivers/media/video/bttv.h Sun Jul 13 12:15:20 2003 @@ -110,6 +110,8 @@ #define BTTV_EURESYS_PICOLO 0x61 #define BTTV_PV150 0x62 #define BTTV_AD_TVK503 0x63 +#define BTTV_NEBULA_DIGITV 0x64 +#define BTTV_VISIONPLUS 0x65 /* i2c address list */ #define I2C_TSA5522 0xc2 --- linux/drivers/media/video/bttv-cards.c.old Sun Jul 13 12:17:51 2003 +++ linux/drivers/media/video/bttv-cards.c Sun Jul 13 12:23:14 2003 @@ -216,6 +216,9 @@ static struct CARD { { 0x1466aa06, BTTV_PV150, "Provideo PV150B-3" }, { 0x1467aa07, BTTV_PV150, "Provideo PV150B-4" }, + { 0x01010071, BTTV_NEBULA_DIGITV, "Nebula Electronics DigiTV" }, + { 0x00011822, BTTV_VISIONPLUS, "Twinhan VisionPlus DVB-T" }, + // likely broken, vendor id doesn't match the other magic views ... //{ 0xa0fca04f, BTTV_MAGICTVIEW063, "Guillemot Maxi TV Video 3" }, @@ -1628,6 +1631,30 @@ struct tvcard bttv_tvcards[] = { .pll = PLL_28, .tuner_type = 2, .audio_hook = adtvk503_audio, +},{ + .name = "Nebula Electronics DigiTV", + .video_inputs = 0, + .audio_inputs = 0, + .svhs = -1, + .muxsel = { 2, 3, 1, 0}, + .needs_tvaudio = 0, + .no_msp34xx = 1, + .no_tda9875 = 1, + .no_tda7432 = 1, + .pll = PLL_28, + .tuner_type = -1, +},{ + .name = "Twinhan VisionPlus DVB-T", + .video_inputs = 0, + .audio_inputs = 0, + .svhs = -1, + .muxsel = { 2, 3, 1, 0}, + .needs_tvaudio = 0, + .no_msp34xx = 1, + .no_tda9875 = 1, + .no_tda7432 = 1, + .pll = PLL_28, + .tuner_type = -1, }}; const unsigned int bttv_num_tvcards =