Skip to contentSkip to conversation

Added Support for STK7700D (DVB)

PATCH In review Pete Hildebrandt 2 participants 5 messages Aug 4, 2009 – Aug 5, 2009 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Added Support for STK7700D (DVB)

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

linux/drivers/media/dvb/dvb-usb/dib0700_devices.c +7 -1
@@ -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,
linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +1 -0
@@ -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
#1 lore raw

Hi Pete,

Quoted 10 lines · 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

Quoted 7 lines

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,

Signature · 2 lines
Patrick Boettcher - Kernel Labs
http://www.kernellabs.com
#2 lore raw

Hi Patrick,

Here is my signed-off-by-line.

Thanks
Pete

2009/8/4 Patrick Boettcher <[email protected]>:

Quoted 31 lines

Hi Pete,

Quoted 10 lines · 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

Quoted 7 lines

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

#3 lore raw
In reply to Pete Hildebrandt

Hi Pete,

Quoted 10 lines · Pete Hildebrandt

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

Quoted 7 lines

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/

#4 lore raw

Hi Patrick,

Am Mittwoch 05 August 2009 schrieb Patrick Boettcher:

Quoted 18 lines

Hi Pete,

Quoted 15 lines · Pete Hildebrandt

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.

Quoted 7 lines
Quoted 2 lines

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.

Quoted 4 lines

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