public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [patch] Added Support for STK7700D (DVB)
@ 2009-08-04 19:38 Pete Hildebrandt
  2009-08-04 21:46 ` Patrick Boettcher
  2009-08-05 14:53 ` Patrick Boettcher
  0 siblings, 2 replies; 5+ messages in thread
From: Pete Hildebrandt @ 2009-08-04 19:38 UTC (permalink / raw)
  To: linux-media

[-- Attachment #1: Type: text/plain, Size: 517 bytes --]

Hello,

To this mail I attached two patch-files to add support for the STK7700D
USB-DVB-Device.

lsusb identifies it as:
idVendor           0x1164 YUAN High-Tech Development Co., Ltd
idProduct          0x1efc
 iProduct                2 STK7700D

My two patches mainly just add the new product-ID.

I have tested the modification with the 2.6.28 and the 2.6.30 kernel. The
patches are for the 2.6.30 kernel.

The device is build into my laptop (Samsung R55-T5500) and works great after
applying the patches.

Bye
Pete

[-- Attachment #2: patch_dib0700-devices_c.patch --]
[-- Type: text/x-diff, Size: 1006 bytes --]

--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2009-05-25 21:50:09.000000000 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	2009-06-11 18:08:04.000000000 +0200
@@ -1493,6 +1493,7 @@
 	{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_TIGER_ATSC_B210) },
 	{ USB_DEVICE(USB_VID_YUAN,	USB_PID_YUAN_MC770) },
 	{ USB_DEVICE(USB_VID_ELGATO,	USB_PID_ELGATO_EYETV_DTT) },
+/* 50 */{ USB_DEVICE(USB_VID_YUAN,      USB_PID_YUAN_STK7700D) },
 	{ 0 }		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1812,7 +1813,7 @@
 			},
 		},
 
-		.num_device_descs = 7,
+		.num_device_descs = 8,
 		.devices = {
 			{   "Terratec Cinergy HT USB XE",
 				{ &dib0700_usb_id_table[27], NULL },
@@ -1842,6 +1843,11 @@
 				{ &dib0700_usb_id_table[48], NULL },
 				{ NULL },
 			},
+			{   "YUAN High-Tech STK7700D",
+				{ &dib0700_usb_id_table[50], NULL },
+				{ NULL },
+			},
+
 		},
 		.rc_interval      = DEFAULT_RC_INTERVAL,
 		.rc_key_map       = dib0700_rc_keys,

[-- Attachment #3: patch_dvb-usb-ids_h.patch --]
[-- Type: text/x-diff, Size: 481 bytes --]

--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2009-05-25 21:50:09.000000000 +0200
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2009-06-23 19:34:20.000000000 +0200
@@ -245,6 +245,7 @@
 #define USB_PID_YUAN_STK7700PH				0x1f08
 #define USB_PID_YUAN_PD378S				0x2edc
 #define USB_PID_YUAN_MC770				0x0871
+#define USB_PID_YUAN_STK7700D				0x1efc
 #define USB_PID_DW2102					0x2102
 #define USB_PID_XTENSIONS_XD_380			0x0381
 #define USB_PID_TELESTAR_STARSTICK_2			0x8000

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-05 20:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04 19:38 [patch] Added Support for STK7700D (DVB) Pete Hildebrandt
2009-08-04 21:46 ` Patrick Boettcher
2009-08-05 10:43   ` Pete Hildebrandt
2009-08-05 14:53 ` Patrick Boettcher
2009-08-05 20:39   ` Pete Hildebrandt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox