Changes in dw2102.c to support my Tevii S662

2015-12-06 Thread Steffen Günther

Hi,

I made some small changes on top of this patch

https://patchwork.linuxtv.org/patch/28925/

to support my Tevii S662 with module dvb-usb-dw2102.

Scanning and tuning in works for me.

Hope this is usefull!?

Regards
Steffen
--- /home/sguenther/Downloads/tv-treiber/drivers/media/usb/dvb-usb/dw2102.c
+++ /home/sguenther/Downloads/media-test-orig/dw2102.c
@@ -1,6 +1,6 @@
 /* DVB USB framework compliant Linux driver for the
  *	DVBWorld DVB-S 2101, 2102, DVB-S2 2104, DVB-C 3101,
- *	TeVii S600, S630, S650, S660, S480, S421, S632
+ *	TeVii S600, S630, S650, S660, S480, S421, S632, S482, S662,
  *	Prof 1100, 7500,
  *	Geniatech SU3000, T220,
  *	TechnoTrend S2-4600 Cards
@@ -1686,6 +1686,7 @@
 	GOTVIEW_SAT_HD,
 	GENIATECH_T220,
 	TECHNOTREND_S2_4600,
+	TEVII_S662,
 	TEVII_S482_1,
 	TEVII_S482_2,
 };
@@ -1713,6 +1714,7 @@
 	[GENIATECH_T220] = {USB_DEVICE(0x1f4d, 0xD220)},
 	[TECHNOTREND_S2_4600] = {USB_DEVICE(USB_VID_TECHNOTREND,
 		USB_PID_TECHNOTREND_CONNECT_S2_4600)},
+	[TEVII_S662] = {USB_DEVICE(0x9022, 0xd662)},
 	[TEVII_S482_1] = {USB_DEVICE(0x9022, 0xd483)},
 	[TEVII_S482_2] = {USB_DEVICE(0x9022, 0xd484)},
 	{ }
@@ -2232,10 +2234,14 @@
 		} },
 		}
 	},
-	.num_device_descs = 3,
+	.num_device_descs = 4,
 	.devices = {
 		{ "TechnoTrend TT-connect S2-4600",
 			{ _table[TECHNOTREND_S2_4600], NULL },
+			{ NULL },
+		},
+		{ "TeVii S662",
+			{ _table[TEVII_S662], NULL },
 			{ NULL },
 		},
 		{ "TeVii S482 (tuner 1)",
@@ -2359,7 +2365,7 @@
 MODULE_AUTHOR("Igor M. Liplianin (c) liplia...@me.by");
 MODULE_DESCRIPTION("Driver for DVBWorld DVB-S 2101, 2102, DVB-S2 2104,"
 			" DVB-C 3101 USB2.0,"
-			" TeVii S600, S630, S650, S660, S480, S421, S632"
+			" TeVii S600, S630, S650, S660, S480, S421, S632, S482, S662,"
 			" Prof 1100, 7500 USB2.0,"
 			" Geniatech SU3000, T220,"
 			" TechnoTrend S2-4600 devices");


Re: Changes in dw2102.c to support my Tevii S662

2015-12-06 Thread Olli Salonen
Hello Steffen,

The patch itself looks valid. If you could submit it in a formally
correct format it could probably be added to the linux-media tree for
other people's enjoyment as well. Have a look at points 2, 6, 10 and
11 in the following link:
https://www.kernel.org/doc/Documentation/SubmittingPatches

Cheers,
-olli

On 6 December 2015 at 10:03, Steffen Günther  wrote:
> Hi,
>
> I made some small changes on top of this patch
>
> https://patchwork.linuxtv.org/patch/28925/
>
> to support my Tevii S662 with module dvb-usb-dw2102.
>
> Scanning and tuning in works for me.
>
> Hope this is usefull!?
>
> Regards
> Steffen
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html