All of lore.kernel.org
 help / color / mirror / Atom feed
From: "André Weidemann" <Andre.Weidemann@web.de>
To: linux-dvb@linuxtv.org
Subject: [linux-dvb] [PATCH] Support for TT connect S-2400
Date: Wed, 06 Feb 2008 14:14:22 +0100	[thread overview]
Message-ID: <47A9B2AE.7090209@web.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 554 bytes --]

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é

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: support for TT connect S-2400.diff --]
[-- Type: text/x-patch; name="support for TT connect S-2400.diff", Size: 2122 bytes --]

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_MSI				0x0db0
 #define USB_VID_OPERA1				0x695c
 #define USB_VID_PINNACLE			0x2304
+#define USB_VID_TECHNOTREND			0x0b48
 #define USB_VID_TERRATEC			0x0ccd
 #define USB_VID_VISIONPLUS			0x13d3
 #define USB_VID_TWINHAN				0x1822
@@ -134,6 +135,7 @@
 #define USB_PID_AVERMEDIA_EXPRESS			0xb568
 #define USB_PID_AVERMEDIA_VOLAR				0xa807
 #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 },
+		},
 	}
 };
 

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

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

             reply	other threads:[~2008-02-06 13:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-06 13:14 André Weidemann [this message]
2008-02-09 10:47 ` [linux-dvb] [PATCH] Support for TT connect S-2400 André Weidemann

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=47A9B2AE.7090209@web.de \
    --to=andre.weidemann@web.de \
    --cc=linux-dvb@linuxtv.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.