Skip to contentSkip to conversation

Compro DVB-T100

linux-dvb Vladimír Matěna 1 participant 1 message Jul 25, 2008 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

I have Compro Videomate DVB T-100 card.
There are drivers for T200 and other Videomate cards in my current kernel 2.6.25-gentoo-r7. The card is using saa7134 chip with mt352 demodulator and qt1010 tuner.
I was able to modify some code to get T100 support.
Unfortunately I had to change some code common for all cards using qt1010 tuner. This will probably break other cards support.

I attach patch against my kernel source. Use at own risk this is my firs patch. There are some comments on changes on my personal pages http://www.vlamat.wz.cz/index.php?t100

Vladimír Matěna
[email protected]

drivers/media/dvb/frontends/qt1010.c +3 -0
diff -upr --exclude='*.o' --exclude='*.ko' --exclude='*.mod.c' --exclude='*.o.*' linux-2.6.25-gentoo-r7-unmodified/drivers/media/dvb/frontends/qt1010.c linux-2.6.25-gentoo-r7/drivers/media/dvb/frontends/qt1010.c
@@ -227,6 +227,9 @@ static int qt1010_set_params(struct dvb_
 	else                      tmpval = 0x05;
 	rd[41].val = (priv->reg20_init_val + 0x0d + tmpval);
 
+	rd[41].val = 0x39 +  tmpval; // for Videomate DVB T-100 
+	// FIXME two different calcualtion models on the lines above
+
 	/* 25 */
 	rd[43].val = priv->reg25_init_val;
 
drivers/media/video/saa7134/saa7134-cards.c +49 -13

90 lines not on this page · raw message

drivers/media/video/saa7134/saa7134-dvb.c +43 -0

73 lines not on this page · raw message

drivers/media/video/saa7134/saa7134.h +1 -0
diff -upr --exclude='*.o' --exclude='*.ko' --exclude='*.mod.c' --exclude='*.o.*' linux-2.6.25-gentoo-r7-unmodified/drivers/media/video/saa7134/saa7134.h linux-2.6.25-gentoo-r7/drivers/media/video/saa7134/saa7134.h
@@ -254,6 +254,7 @@ struct saa7134_format {
 #define SAA7134_BOARD_BEHOLD_M6		130
 #define SAA7134_BOARD_TWINHAN_DTV_DVB_3056 131
 #define SAA7134_BOARD_GENIUS_TVGO_A11MCE 132
+#define SAA7134_BOARD_VIDEOMATE_DVBT_100  150
 
 #define SAA7134_MAXBOARDS 8
 #define SAA7134_INPUT_MAX 8

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb