By Date: <-- -->
By Thread: <-- -->

AVerMedia A169



Hi!

Here's the latest patch for AVerMedia A169.
I now run this card inside a mythtv setup, with only one tuner though.

It's stable, I use saa7134-oss for sound as I seem to get crashes with
saa7134-alsa.

S-VIDEO1 and TV-Tuner1 works, I haven't got composite2 working at all,
composite1 seems to show a b/w S-VIDEO1 picture.

I can't get the second tuner working at all ( I don't have the skills to
follow this up) and of course the second and third ports for
S-VIDEO/COMPOSITE doesn't work. 

I haven't tried the RADIO yet.

You can find the driver for windows at the following address:
http://www.mediaatlantic.com/Downloads/avermedia/drivers/A169/A169_WHQL_Drv_V2.3.31.7_Installer.zip

I need all help I can get on continuing with this quest for dual
tuners! :)


Signed-off-by: Rickard Osser <rickard.osser (at) lindist.se>

BTW! I had this "stupid" idea that the card is actually 2 cards sharing
1 Antenna input... Does this sound right? If it does I should be able to
set it up as 2 separate cards with it's setup for tuners and other
ports, the problem is, will the driver at load time handle this
correctly?

Regards,
-- 
Rickard Osser
Manager
-----------------------------------------------------------------------
| Osser Lindist AB            | Swedens No 1 distributor of Linux      |
!                             | and Linux related products!            |
------------------------------------------------------------------------
| Osser Brosoft AB            | Computer Consultants                   |
------------------------------------------------------------------------
| Solberga ÃngsvÃg 3          | S-125 44 ÃlvsjÃ, Sweden                |
| Tel: +46-8-669 75 75        | E-mail: ricky (at) osser.se                 |
| Fax: +46-8-668 89 10        | http://www.lindist.se                  |
-----------------------------------------------------------------------
Binary files v4l-dvb.org/.hg/dirstate and v4l-dvb/.hg/dirstate differ
diff -ur v4l-dvb.org/linux/drivers/media/video/saa7134/saa7134-cards.c v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c
--- v4l-dvb.org/linux/drivers/media/video/saa7134/saa7134-cards.c	2006-02-07 15:44:12.000000000 +0100
+++ v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c	2006-02-07 15:47:58.000000000 +0100
 (at)  (at)  -2706,6 +2706,37  (at)  (at) 
 			.amux   = LINE1,
 		},
 	},
+	[SAA7134_BOARD_AVERMEDIA_A169] = {
+		.name		= "AVerMedia A169",
+		.audio_clock    = 0x00187de7,
+		.tuner_type	= TUNER_LG_TALN,
+		.radio_type     = UNSET,
+		.tuner_addr	= ADDR_UNSET,
+		.radio_addr	= ADDR_UNSET,
+		.tda9887_conf   = TDA9887_PRESENT,
+		.inputs         = {{
+			.name = name_tv,
+			.vmux = 4,
+			.amux = TV,
+			.tv   = 1,
+		},{
+			.name = name_comp1,
+			.vmux = 1,
+			.amux = LINE1,
+		},{
+			.name = name_comp2,
+			.vmux = 1,
+			.amux = LINE2,
+		},{
+			.name = name_svideo,
+			.vmux = 9,                    /* 9 is correct as S-VIDEO1 according to a169.inf! */
+			.amux = LINE1,
+		}},
+		.radio = {
+			.name = name_radio,
+			.amux = LINE2,
+		},
+	},
 };
 
 const unsigned int saa7134_bcount = ARRAY_SIZE(saa7134_boards);
 (at)  (at)  -3201,6 +3232,18  (at)  (at) 
 		.subdevice    = 0x7201,
 		.driver_data  = SAA7134_BOARD_TEVION_DVBT_220RF,
 	},{
+		.vendor       = PCI_VENDOR_ID_PHILIPS,
+		.device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
+		.subvendor    = 0x1461, /* Avermedia Technologies Inc */
+		.subdevice    = 0x7360,
+		.driver_data  = SAA7134_BOARD_AVERMEDIA_A169,
+	},{
+		.vendor       = PCI_VENDOR_ID_PHILIPS,
+		.device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
+		.subvendor    = 0x1461, /* Avermedia Technologies Inc */
+		.subdevice    = 0x6360,
+		.driver_data  = SAA7134_BOARD_AVERMEDIA_A169,
+	},{
 		/* --- boards without eeprom + subsystem ID --- */
 		.vendor       = PCI_VENDOR_ID_PHILIPS,
 		.device       = PCI_DEVICE_ID_PHILIPS_SAA7134,
Only in v4l-dvb/linux/drivers/media/video/saa7134: saa7134-cards.c~
Only in v4l-dvb/linux/drivers/media/video/saa7134: saa7134-cards.c.orig
diff -ur v4l-dvb.org/linux/drivers/media/video/saa7134/saa7134.h v4l-dvb/linux/drivers/media/video/saa7134/saa7134.h
--- v4l-dvb.org/linux/drivers/media/video/saa7134/saa7134.h	2006-02-07 15:44:12.000000000 +0100
+++ v4l-dvb/linux/drivers/media/video/saa7134/saa7134.h	2006-02-07 15:50:46.000000000 +0100
 (at)  (at)  -226,6 +226,7  (at)  (at) 
 #define SAA7134_BOARD_FLYDVBT_LR301 86
 #define SAA7134_BOARD_ADS_DUO_CARDBUS_PTV331 87
 #define SAA7134_BOARD_TEVION_DVBT_220RF 88
+#define SAA7134_BOARD_AVERMEDIA_A169 89
 
 #define SAA7134_MAXBOARDS 8
 #define SAA7134_INPUT_MAX 8
Only in v4l-dvb/linux/drivers/media/video/saa7134: saa7134.h~
Only in v4l-dvb/linux/drivers/media/video/saa7134: saa7134.h.orig
Only in v4l-dvb/linux/drivers/media/video/saa7134: saa7134.h.rej
diff -ur v4l-dvb.org/linux/drivers/media/video/tuner-types.c v4l-dvb/linux/drivers/media/video/tuner-types.c
--- v4l-dvb.org/linux/drivers/media/video/tuner-types.c	2006-02-07 15:44:12.000000000 +0100
+++ v4l-dvb/linux/drivers/media/video/tuner-types.c	2006-02-07 15:52:28.000000000 +0100
 (at)  (at)  -1049,6 +1049,22  (at)  (at) 
 };
 
 
+/* ------------ TUNER_LG_TALN - LGINNOTEK PAL/SECAM ------------ */
+
+static struct tuner_range tuner_lg_taln_ranges[] = {
+	{ 16 * 150.00 /*MHz*/, 0x8e, 0x01, },
+	{ 16 * 425.00 /*MHz*/, 0x8e, 0x02, },
+	{ 16 * 999.99        , 0x8e, 0x08, },
+};
+
+static struct tuner_params tuner_lg_taln_params[] = {
+	{
+		.type   = TUNER_PARAM_TYPE_PAL,
+		.ranges = tuner_lg_taln_ranges,
+		.count  = ARRAY_SIZE(tuner_lg_taln_ranges),
+	},
+};
+
 /* --------------------------------------------------------------------- */
 
 struct tunertype tuners[] = {
 (at)  (at)  -1420,6 +1436,10  (at)  (at) 
 		.name	= "Xceive xc3028",
 		.params = tuner_xceive_xc3028_params,
 	},
+	[TUNER_LG_TALN] = { /* LG Innotek PAL/SECAM */
+	  .name   = "LG PAL/SECAM (TALN series)",
+	  .params = tuner_lg_taln_params,
+	},
 };
 
 unsigned const int tuner_count = ARRAY_SIZE(tuners);
Only in v4l-dvb/linux/drivers/media/video: tuner-types.c~
Only in v4l-dvb/linux/drivers/media/video: tuner-types.c.orig
diff -ur v4l-dvb.org/linux/drivers/media/video/tveeprom.c v4l-dvb/linux/drivers/media/video/tveeprom.c
--- v4l-dvb.org/linux/drivers/media/video/tveeprom.c	2006-02-07 15:44:12.000000000 +0100
+++ v4l-dvb/linux/drivers/media/video/tveeprom.c	2006-02-07 15:43:25.000000000 +0100
 (at)  (at)  -180,7 +180,7  (at)  (at) 
 	{ TUNER_ABSENT,        "LG TALN H250T"},
 	{ TUNER_ABSENT,        "LG TALN M200T"},
 	{ TUNER_ABSENT,        "LG TALN Z200T"},
-	{ TUNER_ABSENT,        "LG TALN S200T"},
+	{ TUNER_LG_TALN,       "LG TALN S200T"},
 	{ TUNER_ABSENT,        "Thompson DTT7595"},
 	{ TUNER_ABSENT,        "Thompson DTT7592"},
 	{ TUNER_ABSENT,        "Silicon TDA8275C1 8290"},
diff -ur v4l-dvb.org/linux/include/media/tuner.h v4l-dvb/linux/include/media/tuner.h
--- v4l-dvb.org/linux/include/media/tuner.h	2006-02-07 15:44:12.000000000 +0100
+++ v4l-dvb/linux/include/media/tuner.h	2006-02-07 15:56:57.000000000 +0100
 (at)  (at)  -119,6 +119,7  (at)  (at) 
 #define TUNER_SAMSUNG_TCPN_2121P30A     70 	/* Hauppauge PVR-500MCE NTSC */
 
 #define TUNER_XCEIVE_XC3028		71
+#define TUNER_LG_TALN                   72 	/* AVerMedia A169 PAL/SECAM */
 
 /* tv card specific */
 #define TDA9887_PRESENT 		(1<<0)
Only in v4l-dvb/linux/include/media: tuner.h~
Only in v4l-dvb/linux/include/media: tuner.h.orig
Only in v4l-dvb/v4l: .version
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request (at) redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list