All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pete Hildebrandt <send2ph@googlemail.com>
To: linux-media@vger.kernel.org
Subject: [patch] Added Support for STK7700D (DVB)
Date: Tue, 4 Aug 2009 21:38:11 +0200	[thread overview]
Message-ID: <200908042138.11938.send2ph@googlemail.com> (raw)

[-- 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

             reply	other threads:[~2009-08-04 19:38 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-04 19:38 Pete Hildebrandt [this message]
2009-08-04 21:46 ` [patch] Added Support for STK7700D (DVB) Patrick Boettcher
2009-08-05 10:43   ` Pete Hildebrandt
2009-08-05 14:53 ` Patrick Boettcher
2009-08-05 20:39   ` Pete Hildebrandt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200908042138.11938.send2ph@googlemail.com \
    --to=send2ph@googlemail.com \
    --cc=linux-media@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.