[PATCH] support YUAN High-Tech STK7700D (1164:1f08)

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

 



Hi List,

attached is a patch that extends the dib0700 driver to support the DVB-part of the Asus notebook M51Sn tv-tunner (USB-ID 1164:1f08).

Following this thread:
http://thread.gmane.org/gmane.linux.drivers.dvb/39269/focus=39298

I reproduced the same behavior that Albert Comerma had with his card. So I think that the same code will work with this card.
I can't test if the card work properly with the patch because a live in Brazil and the digital tv standard is different.
But I think that this information will be useful for someone trying to make this card work.

Did someone make the analog part of any of these cards "Terratec Cinergy HT USB XE", "Pinnacle Expresscard 320cx" or "Terratec Cinergy HT Express" work ?

diff -Naur v4l-dvb.orig/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c v4l-dvb-20080907/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- v4l-dvb.orig/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2008-09-07 00:11:27.000000000 -0300
+++ v4l-dvb-20080907/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2008-09-07 00:18:53.000000000 -0300
@@ -1119,6 +1119,7 @@
 	{ USB_DEVICE(USB_VID_LEADTEK,   USB_PID_WINFAST_DTV_DONGLE_STK7700P_2) },
 /* 35 */{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_TD_STICK_52009) },
 	{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_T_500_3) },
+	{ USB_DEVICE(USB_VID_YUAN,      USB_PID_YUAN_STK7700) },
 	{ 0 }		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1408,7 +1409,7 @@
 			},
 		},
 
-		.num_device_descs = 3,
+		.num_device_descs = 4,
 		.devices = {
 			{   "Terratec Cinergy HT USB XE",
 				{ &dib0700_usb_id_table[27], NULL },
@@ -1422,6 +1423,10 @@
 				{ &dib0700_usb_id_table[32], NULL },
 				{ NULL },
 			},
+                        {   "YUAN High-Tech STK7700D",
+                                { &dib0700_usb_id_table[37], NULL },
+                                { NULL },
+                        },
 		},
 		.rc_interval      = DEFAULT_RC_INTERVAL,
 		.rc_key_map       = dib0700_rc_keys,
diff -Naur v4l-dvb.orig/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h v4l-dvb-20080907/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- v4l-dvb.orig/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2008-09-07 00:11:27.000000000 -0300
+++ v4l-dvb-20080907/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2008-09-07 00:18:37.000000000 -0300
@@ -208,6 +208,7 @@
 #define USB_PID_ASUS_U3000				0x171f
 #define USB_PID_ASUS_U3100				0x173f
 #define USB_PID_YUAN_EC372S				0x1edc
+#define USB_PID_YUAN_STK7700				0x1f08
 #define USB_PID_DW2102					0x2102
 
 #endif
_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux