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

* Re: [patch] Added Support for STK7700D (DVB)
  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
  1 sibling, 1 reply; 5+ messages in thread
From: Patrick Boettcher @ 2009-08-04 21:46 UTC (permalink / raw)
  To: Pete Hildebrandt; +Cc: linux-media

Hi Pete,

On Tuesday 04 August 2009 21:38:11 Pete Hildebrandt wrote:
> 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.

I will apply your patches tomorrow, but before I need your Signed-off-by-line. 
So something like that:

Signed-off-by: Name <email>

thanks,
-- 
Patrick Boettcher - Kernel Labs
http://www.kernellabs.com

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

* Re: [patch] Added Support for STK7700D (DVB)
  2009-08-04 21:46 ` Patrick Boettcher
@ 2009-08-05 10:43   ` Pete Hildebrandt
  0 siblings, 0 replies; 5+ messages in thread
From: Pete Hildebrandt @ 2009-08-05 10:43 UTC (permalink / raw)
  To: linux-media; +Cc: Patrick Boettcher

Hi Patrick,

Here is my signed-off-by-line.

Signed-off-by: Pete Hildebrandt <send2ph@googlemail.com>

Thanks
Pete

2009/8/4 Patrick Boettcher <pboettcher@kernellabs.com>:
> Hi Pete,
>
> On Tuesday 04 August 2009 21:38:11 Pete Hildebrandt wrote:
>> 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.
>
> I will apply your patches tomorrow, but before I need your Signed-off-by-line.
> So something like that:
>
> Signed-off-by: Name <email>
>
> thanks,
> --
> Patrick Boettcher - Kernel Labs
> http://www.kernellabs.com
>

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

* Re: [patch] Added Support for STK7700D (DVB)
  2009-08-04 19:38 [patch] Added Support for STK7700D (DVB) Pete Hildebrandt
  2009-08-04 21:46 ` Patrick Boettcher
@ 2009-08-05 14:53 ` Patrick Boettcher
  2009-08-05 20:39   ` Pete Hildebrandt
  1 sibling, 1 reply; 5+ messages in thread
From: Patrick Boettcher @ 2009-08-05 14:53 UTC (permalink / raw)
  To: Pete Hildebrandt; +Cc: Linux Media Mailing List

Hi Pete,

On Tue, 4 Aug 2009, Pete Hildebrandt wrote:

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

OK, I applied the patch and send the pull request to Mauro.

Can you please check whether everything went well (I needed to merge 
manually)?

In the future please use the v4l-dvb repository to apply your changes. 
This has several advantages: e.g. it is much easier to merge the patches 
for me, and it is simpler for you to try things as you don't need to use 
the kernel-build-environment to test the stuff etc.

thanks,
--

Patrick Boettcher - Kernel Labs
http://www.kernellabs.com/

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

* Re: [patch] Added Support for STK7700D (DVB)
  2009-08-05 14:53 ` Patrick Boettcher
@ 2009-08-05 20:39   ` Pete Hildebrandt
  0 siblings, 0 replies; 5+ messages in thread
From: Pete Hildebrandt @ 2009-08-05 20:39 UTC (permalink / raw)
  To: Linux Media Mailing List; +Cc: Patrick Boettcher

Hi Patrick,

Am Mittwoch 05 August 2009 schrieb Patrick Boettcher:
> Hi Pete,
>
> On Tue, 4 Aug 2009, Pete Hildebrandt wrote:
> > 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.
>
> OK, I applied the patch and send the pull request to Mauro.
>
> Can you please check whether everything went well (I needed to merge
> manually)?

I checked and everything went well.

> In the future please use the v4l-dvb repository to apply your changes.
> This has several advantages: e.g. it is much easier to merge the patches
> for me, and it is simpler for you to try things as you don't need to use
> the kernel-build-environment to test the stuff etc.

Thanks for the advise, I will keep that in mind for the future.

Thanks
Pete



^ 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