Re: [linux-dvb] [PATCH] Support for TT connect S-2400

2008-02-09 Thread André Weidemann
André Weidemann wrote:
> Please try the attached patch and let me know whether it's working or not.

I got a few personal replies to this patch and it seems as if it is 
basically working.
But in order to make the USB box work without picture distortion a 
different firmware needs to be loaded for the TT connect S-2400. I was 
able to extract the firmware from the original TT driver and using this 
firmware everything is fine.
The problem I'm facing now is, that my programming knowledge is not 
sufficient to add the necessary changes to the code so that a different 
firmware is loaded for the two different boxes.
Can anyone give me a hand on this or even write the few lines?

The new FW can be found here: 
http://ilpss8.dyndns.org/dvb-usb-tt-s2400-01.fw

Thank you.
  André

___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[linux-dvb] [PATCH] Support for TT connect S-2400

2008-02-06 Thread André Weidemann

Hi,
I have added few lines to dvb-usb-ids.h and ttusb2.c to get the 
Technotrend TT connect S-2400 working.

The attached patch should apply against current HG repository.

However, the S-2400 will not be working unless an earlier patch is reverted:
http://linuxtv.org/hg/v4l-dvb/diff/816f256c2973/linux/drivers/media/dvb/frontends/tda10086.c

There is an ongoing thread in the list about the tuning problem.
See: "TDA10086 with Pinnacle 400e tuning broken"

Please try the attached patch and let me know whether it's working or not.

André
diff -Nrubw multiproto/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h multiproto_patched-for-TT-Connect-S2400/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- multiproto/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2008-02-04 14:44:25.493921042 +0100
+++ multiproto_patched-for-TT-Connect-S2400/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	2008-02-04 14:49:41.199912100 +0100
@@ -40,6 +40,7 @@
 #define USB_VID_MSI0x0db0
 #define USB_VID_OPERA10x695c
 #define USB_VID_PINNACLE			0x2304
+#define USB_VID_TECHNOTREND			0x0b48
 #define USB_VID_TERRATEC			0x0ccd
 #define USB_VID_VISIONPLUS			0x13d3
 #define USB_VID_TWINHAN0x1822
@@ -134,6 +135,7 @@
 #define USB_PID_AVERMEDIA_EXPRESS			0xb568
 #define USB_PID_AVERMEDIA_VOLAR0xa807
 #define USB_PID_AVERMEDIA_VOLAR_2			0xb808
+#define USB_PID_TECHNOTREND_CONNECT_S2400   0x3006
 #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY	0x005a
 #define USB_PID_PINNACLE_PCTV2000E			0x022c
 #define USB_PID_PINNACLE_PCTV_DVB_T_FLASH		0x0228
diff -Nrubw multiproto/linux/drivers/media/dvb/dvb-usb/ttusb2.c multiproto_patched-for-TT-Connect-S2400/linux/drivers/media/dvb/dvb-usb/ttusb2.c
--- multiproto/linux/drivers/media/dvb/dvb-usb/ttusb2.c	2008-02-04 14:44:25.541923777 +0100
+++ multiproto_patched-for-TT-Connect-S2400/linux/drivers/media/dvb/dvb-usb/ttusb2.c	2008-02-04 15:10:48.168112504 +0100
@@ -191,6 +191,7 @@
 static struct usb_device_id ttusb2_table [] = {
 		{ USB_DEVICE(USB_VID_PINNACLE, USB_PID_PCTV_400E) },
 		{ USB_DEVICE(USB_VID_PINNACLE, USB_PID_PCTV_450E) },
+		{ USB_DEVICE(USB_VID_TECHNOTREND, USB_PID_TECHNOTREND_CONNECT_S2400) },
 		{}		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE (usb, ttusb2_table);
@@ -234,7 +235,7 @@
 
 	.generic_bulk_ctrl_endpoint = 0x01,
 
-	.num_device_descs = 2,
+	.num_device_descs = 3,
 	.devices = {
 		{   "Pinnacle 400e DVB-S USB2.0",
 			{ &ttusb2_table[0], NULL },
@@ -244,6 +245,10 @@
 			{ &ttusb2_table[1], NULL },
 			{ NULL },
 		},
+		{   "Technotrend TT-connect® S-2400",
+			{ &ttusb2_table[2], NULL },
+			{ NULL },
+		},
 	}
 };
 
___
linux-dvb mailing list
linux-dvb@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb