public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* Terratec Cinergy DT XS Diversity new version
@ 2008-08-18  8:53 Henri Tuomola
  2008-08-18  9:53 ` Albert Comerma
  0 siblings, 1 reply; 5+ messages in thread
From: Henri Tuomola @ 2008-08-18  8:53 UTC (permalink / raw)
  To: video4linux-list

Hi,

I just got the Terratec Cinergy DT XS Diversity stick, the newer one that is
mentioned in here:
http://linuxtv.org/wiki/index.php/TerraTec_Cinergy_DT_USB_XS_Diversity#Identification,
with usb id 0ccd:0081. As suggested, I tried to patch the current hg-version
with this patch:
http://www.linuxtv.org/pipermail/linux-dvb/2008-June/026911.html. However,
the patch fails, apparently because contents of the dib0700_devices.c have
changed since the diff was created. I think I figured out the syntax in
there and made some modifications so that it should be fine. After this I
ran "make" and then "modprobe dvb_usb_dib0700".

In dmesg I only get this:
dib0700: loaded with support for 7 different device-types
usbcore: registered new interface driver dvb_usb_dib0700

Seems that the card isn't detected? Any tips?

I'm running gentoo-sources-2.6.24-r8 with the v4l hg sources.

best regards,
Henri
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: Terratec Cinergy DT XS Diversity new version
  2008-08-18  8:53 Terratec Cinergy DT XS Diversity new version Henri Tuomola
@ 2008-08-18  9:53 ` Albert Comerma
  2008-08-18 15:59   ` [solved] " Henri Tuomola
  0 siblings, 1 reply; 5+ messages in thread
From: Albert Comerma @ 2008-08-18  9:53 UTC (permalink / raw)
  To: Henri Tuomola; +Cc: video4linux-list

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

Hi Henry, perhaps you forgot to modify something... I send you a patch for
the current hg version.

Albert

2008/8/18 Henri Tuomola <htuomola@gmail.com>

> Hi,
>
> I just got the Terratec Cinergy DT XS Diversity stick, the newer one that
> is
> mentioned in here:
>
> http://linuxtv.org/wiki/index.php/TerraTec_Cinergy_DT_USB_XS_Diversity#Identification
> ,
> with usb id 0ccd:0081. As suggested, I tried to patch the current
> hg-version
> with this patch:
> http://www.linuxtv.org/pipermail/linux-dvb/2008-June/026911.html. However,
> the patch fails, apparently because contents of the dib0700_devices.c have
> changed since the diff was created. I think I figured out the syntax in
> there and made some modifications so that it should be fine. After this I
> ran "make" and then "modprobe dvb_usb_dib0700".
>
> In dmesg I only get this:
> dib0700: loaded with support for 7 different device-types
> usbcore: registered new interface driver dvb_usb_dib0700
>
> Seems that the card isn't detected? Any tips?
>
> I'm running gentoo-sources-2.6.24-r8 with the v4l hg sources.
>
> best regards,
> Henri
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Diversity_2.patch --]
[-- Type: text/x-diff; name=Diversity_2.patch, Size: 1875 bytes --]

diff -r cc624bf7489c linux/drivers/media/dvb/dvb-usb/dib0700_devices.c
--- a/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Tue Aug 05 21:00:11 2008 +0300
+++ b/linux/drivers/media/dvb/dvb-usb/dib0700_devices.c	Mon Aug 18 11:51:02 2008 +0200
@@ -1118,6 +1118,7 @@ struct usb_device_id dib0700_usb_id_tabl
 	{ USB_DEVICE(USB_VID_TERRATEC,	USB_PID_TERRATEC_CINERGY_T_XXS) },
 	{ USB_DEVICE(USB_VID_LEADTEK,   USB_PID_WINFAST_DTV_DONGLE_STK7700P_2) },
 	{ USB_DEVICE(USB_VID_HAUPPAUGE, USB_PID_HAUPPAUGE_NOVA_TD_STICK_52009) },
+	{ USB_DEVICE(USB_VID_TERRATEC, 	USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY_2) },
 	{ 0 }		/* Terminating entry */
 };
 MODULE_DEVICE_TABLE(usb, dib0700_usb_id_table);
@@ -1373,7 +1374,7 @@ struct dvb_usb_device_properties dib0700
 			}
 		},
 
-		.num_device_descs = 3,
+		.num_device_descs = 4,
 		.devices = {
 			{   "DiBcom STK7070PD reference design",
 				{ &dib0700_usb_id_table[17], NULL },
@@ -1385,6 +1386,10 @@ struct dvb_usb_device_properties dib0700
 			},
 			{   "Hauppauge Nova-TD Stick (52009)",
 				{ &dib0700_usb_id_table[35], NULL },
+				{ NULL },
+			},
+			{   "Terratec Cinergy DT USB XS Diversity",
+				{ &dib0700_usb_id_table[36], NULL },
 				{ NULL },
 			}
 		}
diff -r cc624bf7489c linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h
--- a/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Tue Aug 05 21:00:11 2008 +0300
+++ b/linux/drivers/media/dvb/dvb-usb/dvb-usb-ids.h	Mon Aug 18 11:51:02 2008 +0200
@@ -147,6 +147,7 @@
 #define USB_PID_AVERMEDIA_HYBRID_ULTRA_USB_M039R_DVBT	0x2039
 #define USB_PID_TECHNOTREND_CONNECT_S2400               0x3006
 #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY	0x005a
+#define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY_2      0x0081
 #define USB_PID_TERRATEC_CINERGY_HT_USB_XE		0x0058
 #define USB_PID_TERRATEC_CINERGY_HT_EXPRESS		0x0060
 #define USB_PID_TERRATEC_CINERGY_T_XXS			0x0078

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

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* [solved] RE: Terratec Cinergy DT XS Diversity new version
  2008-08-18  9:53 ` Albert Comerma
@ 2008-08-18 15:59   ` Henri Tuomola
  2008-08-19 16:36     ` Henri Tuomola
  0 siblings, 1 reply; 5+ messages in thread
From: Henri Tuomola @ 2008-08-18 15:59 UTC (permalink / raw)
  To: 'Albert Comerma'; +Cc: video4linux-list

Hi,

 

Thanks for the quick reply. However, my modifications might've been correct,
I think I just missed "make install". J So, I've been (re)loading the old,
non-patched drivers whole yesterday.. No wonder it didn't work.

 

Now I've got this: 

dib0700: loaded with support for 7 different device-types

dvb-usb: found a 'Terratec Cinergy DT USB XS Diversity' in warm state.

 

and 2 frontends.

 

thanks,

Henri

 

From: Albert Comerma [mailto:albert.comerma@gmail.com] 
Sent: 18. elokuuta 2008 12:53
To: Henri Tuomola
Cc: video4linux-list@redhat.com
Subject: Re: Terratec Cinergy DT XS Diversity new version

 

Hi Henry, perhaps you forgot to modify something... I send you a patch for
the current hg version.

Albert

2008/8/18 Henri Tuomola <htuomola@gmail.com>

Hi,

I just got the Terratec Cinergy DT XS Diversity stick, the newer one that is
mentioned in here:
http://linuxtv.org/wiki/index.php/TerraTec_Cinergy_DT_USB_XS_Diversity#Ident
ification,
with usb id 0ccd:0081. As suggested, I tried to patch the current hg-version
with this patch:
http://www.linuxtv.org/pipermail/linux-dvb/2008-June/026911.html. However,
the patch fails, apparently because contents of the dib0700_devices.c have
changed since the diff was created. I think I figured out the syntax in
there and made some modifications so that it should be fine. After this I
ran "make" and then "modprobe dvb_usb_dib0700".

In dmesg I only get this:
dib0700: loaded with support for 7 different device-types
usbcore: registered new interface driver dvb_usb_dib0700

Seems that the card isn't detected? Any tips?

I'm running gentoo-sources-2.6.24-r8 with the v4l hg sources.

best regards,
Henri
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

 

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* RE: Terratec Cinergy DT XS Diversity new version
  2008-08-18 15:59   ` [solved] " Henri Tuomola
@ 2008-08-19 16:36     ` Henri Tuomola
  2008-08-19 17:12       ` Henri Tuomola
  0 siblings, 1 reply; 5+ messages in thread
From: Henri Tuomola @ 2008-08-19 16:36 UTC (permalink / raw)
  To: video4linux-list

Hi,

 

From: Henri Tuomola [mailto:htuomola@gmail.com] 
Sent: 18. elokuuta 2008 18:59
To: 'Albert Comerma'
Cc: video4linux-list@redhat.com
Subject: [solved] RE: Terratec Cinergy DT XS Diversity new version

 

Now I've got this: 

dib0700: loaded with support for 7 different device-types

dvb-usb: found a 'Terratec Cinergy DT USB XS Diversity' in warm state.

 

and 2 frontends.

 

thanks,

Henri

 

 

There is still one thing, the remote control is not detected. There's no
"input: IR receiver .." as was mentioned in
http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_DT_USB_XS_Diversity. 

 

Could this be a problem with the drivers somehow?

 

Running udevmonitor shows this:

 

UEVENT[1219163559.170764] add      /module/dvb_usb_dib0700 (module)

UDEV  [1219163559.171729] add      /module/dvb_usb_dib0700 (module)

UEVENT[1219163559.172097] add      /bus/usb/drivers/dvb_usb_dib0700
(drivers)

UEVENT[1219163559.172312] add      /class/i2c-adapter/i2c-0 (i2c-adapter)

UEVENT[1219163559.172868] add      /class/dvb/dvb0.demux0 (dvb)

UEVENT[1219163559.172888] add      /class/dvb/dvb0.dvr0 (dvb)

UEVENT[1219163559.172897] add      /class/dvb/dvb0.net0 (dvb)

UDEV  [1219163559.173953] add      /bus/usb/drivers/dvb_usb_dib0700
(drivers)

UDEV  [1219163559.174962] add      /class/i2c-adapter/i2c-0 (i2c-adapter)

UDEV  [1219163559.187748] add      /class/dvb/dvb0.demux0 (dvb)

UDEV  [1219163559.194984] add      /class/dvb/dvb0.net0 (dvb)

UDEV  [1219163559.195435] add      /class/dvb/dvb0.dvr0 (dvb)

UEVENT[1219163559.262301] add      /class/i2c-adapter/i2c-1 (i2c-adapter)

UDEV  [1219163559.263142] add      /class/i2c-adapter/i2c-1 (i2c-adapter)

UEVENT[1219163559.423124] add      /class/dvb/dvb0.frontend0 (dvb)

UDEV  [1219163559.429791] add      /class/dvb/dvb0.frontend0 (dvb)

UEVENT[1219163559.609570] add      /class/dvb/dvb1.demux0 (dvb)

UEVENT[1219163559.609608] add      /class/dvb/dvb1.dvr0 (dvb)

UEVENT[1219163559.609617] add      /class/dvb/dvb1.net0 (dvb)

UEVENT[1219163559.612643] add      /class/i2c-adapter/i2c-2 (i2c-adapter)

UDEV  [1219163559.621145] add      /class/dvb/dvb1.demux0 (dvb)

UDEV  [1219163559.630683] add      /class/dvb/dvb1.net0 (dvb)

UDEV  [1219163559.631328] add      /class/dvb/dvb1.dvr0 (dvb)

UDEV  [1219163559.631497] add      /class/i2c-adapter/i2c-2 (i2c-adapter)

UEVENT[1219163559.773190] add      /class/dvb/dvb1.frontend0 (dvb)

UDEV  [1219163559.780011] add      /class/dvb/dvb1.frontend0 (dvb)

 

 

-henri

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* RE: Terratec Cinergy DT XS Diversity new version
  2008-08-19 16:36     ` Henri Tuomola
@ 2008-08-19 17:12       ` Henri Tuomola
  0 siblings, 0 replies; 5+ messages in thread
From: Henri Tuomola @ 2008-08-19 17:12 UTC (permalink / raw)
  To: video4linux-list

Hi again,

 

It seems that the patch was missing the IR receiver part. At least it was
now detected after I added the following part to dib0700_devices.c:1395.

 

.rc_interval      = DEFAULT_RC_INTERVAL,

.rc_key_map       = dib0700_rc_keys,

.rc_key_map_size  = ARRAY_SIZE(dib0700_rc_keys),

.rc_query         = dib0700_rc_query

 

I can send the patch later if this seems to work. Thanks for good tips
received in IRC.

 

-henri

 

From: Henri Tuomola [mailto:htuomola@gmail.com] 
Sent: 19. elokuuta 2008 19:36
To: video4linux-list@redhat.com
Subject: RE: Terratec Cinergy DT XS Diversity new version

 

Hi,

 

From: Henri Tuomola [mailto:htuomola@gmail.com] 
Sent: 18. elokuuta 2008 18:59
To: 'Albert Comerma'
Cc: video4linux-list@redhat.com
Subject: [solved] RE: Terratec Cinergy DT XS Diversity new version

 

Now I've got this: 

dib0700: loaded with support for 7 different device-types

dvb-usb: found a 'Terratec Cinergy DT USB XS Diversity' in warm state.

 

and 2 frontends.

 

thanks,

Henri

 

 

There is still one thing, the remote control is not detected. There's no
"input: IR receiver .." as was mentioned in
http://www.linuxtv.org/wiki/index.php/TerraTec_Cinergy_DT_USB_XS_Diversity. 

 

Could this be a problem with the drivers somehow?

 

Running udevmonitor shows this:

 

UEVENT[1219163559.170764] add      /module/dvb_usb_dib0700 (module)

UDEV  [1219163559.171729] add      /module/dvb_usb_dib0700 (module)

UEVENT[1219163559.172097] add      /bus/usb/drivers/dvb_usb_dib0700
(drivers)

UEVENT[1219163559.172312] add      /class/i2c-adapter/i2c-0 (i2c-adapter)

UEVENT[1219163559.172868] add      /class/dvb/dvb0.demux0 (dvb)

UEVENT[1219163559.172888] add      /class/dvb/dvb0.dvr0 (dvb)

UEVENT[1219163559.172897] add      /class/dvb/dvb0.net0 (dvb)

UDEV  [1219163559.173953] add      /bus/usb/drivers/dvb_usb_dib0700
(drivers)

UDEV  [1219163559.174962] add      /class/i2c-adapter/i2c-0 (i2c-adapter)

UDEV  [1219163559.187748] add      /class/dvb/dvb0.demux0 (dvb)

UDEV  [1219163559.194984] add      /class/dvb/dvb0.net0 (dvb)

UDEV  [1219163559.195435] add      /class/dvb/dvb0.dvr0 (dvb)

UEVENT[1219163559.262301] add      /class/i2c-adapter/i2c-1 (i2c-adapter)

UDEV  [1219163559.263142] add      /class/i2c-adapter/i2c-1 (i2c-adapter)

UEVENT[1219163559.423124] add      /class/dvb/dvb0.frontend0 (dvb)

UDEV  [1219163559.429791] add      /class/dvb/dvb0.frontend0 (dvb)

UEVENT[1219163559.609570] add      /class/dvb/dvb1.demux0 (dvb)

UEVENT[1219163559.609608] add      /class/dvb/dvb1.dvr0 (dvb)

UEVENT[1219163559.609617] add      /class/dvb/dvb1.net0 (dvb)

UEVENT[1219163559.612643] add      /class/i2c-adapter/i2c-2 (i2c-adapter)

UDEV  [1219163559.621145] add      /class/dvb/dvb1.demux0 (dvb)

UDEV  [1219163559.630683] add      /class/dvb/dvb1.net0 (dvb)

UDEV  [1219163559.631328] add      /class/dvb/dvb1.dvr0 (dvb)

UDEV  [1219163559.631497] add      /class/i2c-adapter/i2c-2 (i2c-adapter)

UEVENT[1219163559.773190] add      /class/dvb/dvb1.frontend0 (dvb)

UDEV  [1219163559.780011] add      /class/dvb/dvb1.frontend0 (dvb)

 

 

-henri

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

end of thread, other threads:[~2008-08-19 17:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-18  8:53 Terratec Cinergy DT XS Diversity new version Henri Tuomola
2008-08-18  9:53 ` Albert Comerma
2008-08-18 15:59   ` [solved] " Henri Tuomola
2008-08-19 16:36     ` Henri Tuomola
2008-08-19 17:12       ` Henri Tuomola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox