Skip to contentSkip to conversation

terratec h5 rev. 3?

DISCUSSION Roland Scheidegger 3 participants 7 messages Dec 21, 2012 – Feb 9, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I've recently got a terratec h5 for dvb-c and thought it would be supported but it looks like it's a newer revision not recognized by em28xx. After using the new_id hack it gets recognized and using various htc cards (notably h5 or cinergy htc stick, cards 79 and 82 respectively) it seems to _nearly_ work but not quite (I was using h5 firmware for the older version). Tuning, channel scan works however tv (or dvb radio) does not, since it appears the error rate is going through the roof (with some imagination it is possible to see some parts of the picture sometimes and hear some audio pieces). femon tells something like this:

status SCVYL | signal 0000 | snr 013c | ber 00000000 | unc 0000c6f0 | FE_HAS_LOCK
status SCVYL | signal 0000 | snr 013a | ber 00000000 | unc 0000036e | FE_HAS_LOCK
status SCVYL | signal 0000 | snr 013c | ber 00000000 | unc 00003f06 | FE_HAS_LOCK
status SCVYL | signal 0000 | snr 013d | ber 00000000 | unc 00007b2e | FE_HAS_LOCK

Anyway, when not forcing card em28xx says this:

[ 1642.961213] usbcore: registered new interface driver em28xx
[ 1652.563675] em28xx: New device TERRATEC TERRATCE H5 Rev.3 @ 480 Mbps
(0ccd:10b6, interface 0, class 0)
[ 1652.563680] em28xx: Audio Vendor Class interface 0 found
[ 1652.563682] em28xx: Video interface 0 found
[ 1652.563684] em28xx: DVB interface 0 found
[ 1652.563735] em28xx #0: chip ID is em2884
[ 1655.686013] em28xx #0: Your board has no unique USB ID and thus need
a hint to be detected.
[ 1655.686019] em28xx #0: You may try to use card=<n> insmod option to
workaround that.
[ 1655.686021] em28xx #0: Please send an email with this log to:
[ 1655.686023] em28xx #0:       V4L Mailing List
<[email protected]>
[ 1655.686025] em28xx #0: Board eeprom hash is 0x00000000
[ 1655.686027] em28xx #0: Board i2c devicelist hash is 0x1b800080

And forcing card=82 says this:

[ 2075.414249] em28xx: New device TERRATEC TERRATCE H5 Rev.3 @ 480 Mbps
(0ccd:10b6, interface 0, class 0)
[ 2075.414253] em28xx: Audio Vendor Class interface 0 found
[ 2075.414255] em28xx: Video interface 0 found
[ 2075.414257] em28xx: DVB interface 0 found
[ 2075.414343] em28xx #0: chip ID is em2884
[ 2075.465160] em28xx #0: Identified as Terratec Cinergy HTC Stick (card=82)
[ 2075.465215] em28xx #0: Config register raw data: 0x8a
[ 2075.465218] em28xx #0: v4l2 driver version 0.1.3
[ 2075.470162] em28xx #0: V4L2 video device registered as video1
[ 2075.965840] drxk: status = 0x639260d9
[ 2075.965846] drxk: detected a drx-3926k, spin A3, xtal 20.250 MHz
[ 2080.467220] DRXK driver version 0.9.4300
[ 2080.500966] drxk: frontend initialized.
[ 2080.524306] tda18271 11-0060: creating new instance
[ 2080.526344] TDA18271HD/C2 detected @ 11-0060
[ 2080.685469] DVB: registering new adapter (em28xx #0)
[ 2080.685480] usb 2-3: DVB: registering adapter 0 frontend 0 (DRXK
DVB-C DVB-T)...
[ 2080.685913] em28xx #0: Successfully loaded em28xx-dvb
[ 2080.685920] Em28xx: Initialized (Em28xx dvb Extension) extension
[ 2080.721017] Registered IR keymap rc-nec-terratec-cinergy-xs
[ 2080.721113] input: em28xx IR (em28xx #0) as
/devices/pci0000:00/0000:00:1d.7/usb2/2-3/rc/rc2/input17
[ 2080.721161] rc2: em28xx IR (em28xx #0) as
/devices/pci0000:00/0000:00:1d.7/usb2/2-3/rc/rc2
[ 2080.722466] Em28xx: Initialized (Em28xx Input Extension) extension
[ 2083.393968] tda18271: performing RF tracking filter calibration
[ 2084.847093] tda18271: RF tracking filter calibration complete

So I guess some of the board definition bits aren't quite right. Any ideas how to get this to work?

Roland

#1 lore raw

Am 21.12.2012 06:38, schrieb [email protected]:

Quoted 11 lines

Hi,

I've recently got a terratec h5 for dvb-c and thought it would be supported but it looks like it's a newer revision not recognized by em28xx. After using the new_id hack it gets recognized and using various htc cards (notably h5 or cinergy htc stick, cards 79 and 82 respectively) it seems to _nearly_ work but not quite (I was using h5 firmware for the older version). Tuning, channel scan works however tv (or dvb radio) does not, since it appears the error rate is going through the roof (with some imagination it is possible to see some parts of the picture sometimes and hear some audio pieces). femon tells something like this:

<snip>
Hmm actually it doesn't work any better at all with windows neither, so I guess it doesn't like my cable signal (I do have another mantis-based pci dvb-c card which works without issue). Maybe the tuner is just crappy. So I guess it wouldn't hurt to simply add the usb id of this card (0ccd:10b6) as another terratec h5 (this doesn't get you the IR but it's a start I guess).
The dvb-t part though works without issue on windows, and I could not get that to work in linux (I've used kaffeine and dvb-fe-tool to force the dvbt delivery system if that's supposed to work). When scanning the right frequency it spew out some error messages though:
DvbScanFilter::timerEvent: timeout while reading section; type = 0 pid = 0 kaffeine(7527) DvbScanFilter::timerEvent: timeout while reading section; type = 2 pid = 17

Roland

#2 lore raw

Em Sat, 22 Dec 2012 22:25:24 +0100
Roland Scheidegger <[email protected]> escreveu:

Quoted 13 lines

Am 21.12.2012 06:38, schrieb [email protected]:

Quoted 11 lines

Hi,

I've recently got a terratec h5 for dvb-c and thought it would be supported but it looks like it's a newer revision not recognized by em28xx. After using the new_id hack it gets recognized and using various htc cards (notably h5 or cinergy htc stick, cards 79 and 82 respectively) it seems to _nearly_ work but not quite (I was using h5 firmware for the older version). Tuning, channel scan works however tv (or dvb radio) does not, since it appears the error rate is going through the roof (with some imagination it is possible to see some parts of the picture sometimes and hear some audio pieces). femon tells something like this:

Quoted 14 lines

<snip>
Hmm actually it doesn't work any better at all with windows neither, so I guess it doesn't like my cable signal (I do have another mantis-based pci dvb-c card which works without issue). Maybe the tuner is just crappy. So I guess it wouldn't hurt to simply add the usb id of this card (0ccd:10b6) as another terratec h5 (this doesn't get you the IR but it's a start I guess).
The dvb-t part though works without issue on windows, and I could not get that to work in linux (I've used kaffeine and dvb-fe-tool to force the dvbt delivery system if that's supposed to work). When scanning the right frequency it spew out some error messages though:
DvbScanFilter::timerEvent: timeout while reading section; type = 0 pid = 0 kaffeine(7527) DvbScanFilter::timerEvent: timeout while reading section; type = 2 pid = 17

If DVB-T is also not working, then I suspect that the device is different than the previous revisions. There are two ways to connect the DRX-K with
em28xx: serial or parallel. Maybe you need to touch that.

The better would be to sniff the usb traffic using the tools at v4l-utils.git and see what's happening there.

Quoted 7 lines

Roland

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Cheers,
Mauro
#3 lore raw
Quoted 31 lines · Mauro Carvalho Chehab

Em Sat, 22 Dec 2012 22:25:24 +0100
Roland Scheidegger <[email protected]> escreveu:

Quoted 13 lines

Am 21.12.2012 06:38, schrieb [email protected]:

Quoted 11 lines

Hi,

I've recently got a terratec h5 for dvb-c and thought it would be supported but it looks like it's a newer revision not recognized by em28xx. After using the new_id hack it gets recognized and using various htc cards (notably h5 or cinergy htc stick, cards 79 and 82 respectively) it seems to _nearly_ work but not quite (I was using h5 firmware for the older version). Tuning, channel scan works however tv (or dvb radio) does not, since it appears the error rate is going through the roof (with some imagination it is possible to see some parts of the picture sometimes and hear some audio pieces). femon tells something like this:

Quoted 14 lines

<snip>
Hmm actually it doesn't work any better at all with windows neither, so I guess it doesn't like my cable signal (I do have another mantis-based pci dvb-c card which works without issue). Maybe the tuner is just crappy. So I guess it wouldn't hurt to simply add the usb id of this card (0ccd:10b6) as another terratec h5 (this doesn't get you the IR but it's a start I guess).
The dvb-t part though works without issue on windows, and I could not get that to work in linux (I've used kaffeine and dvb-fe-tool to force the dvbt delivery system if that's supposed to work). When scanning the right frequency it spew out some error messages though:
DvbScanFilter::timerEvent: timeout while reading section; type = 0 pid = 0 kaffeine(7527) DvbScanFilter::timerEvent: timeout while reading section; type = 2 pid = 17

Quoted 6 lines

If DVB-T is also not working, then I suspect that the device is different than the previous revisions. There are two ways to connect the DRX-K with
em28xx: serial or parallel. Maybe you need to touch that.

The better would be to sniff the usb traffic using the tools at v4l-utils.git and see what's happening there.

Roland, did you sniff the usb traffic and/or adjust the serial/ parallel setting yet? I happen to have a H5 rev 3 as well.

Quoted 17 lines
Quoted 7 lines

Roland

--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--

Cheers,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#4 lore raw
In reply to Roland Scheidegger

Am 21.12.2012 06:38, schrieb [email protected]:

Quoted 11 lines

Hi,

I've recently got a terratec h5 for dvb-c and thought it would be supported but it looks like it's a newer revision not recognized by em28xx. After using the new_id hack it gets recognized and using various htc cards (notably h5 or cinergy htc stick, cards 79 and 82 respectively) it seems to _nearly_ work but not quite (I was using h5 firmware for the older version). Tuning, channel scan works however tv (or dvb radio) does not, since it appears the error rate is going through the roof (with some imagination it is possible to see some parts of the picture sometimes and hear some audio pieces).

Ok I have received a replacement now and I can confirm this stick in fact just works like the same as the older versions (I guess maybe the first one had bad solder point?). I can't judge signal sensitivity or anything like that (the snr values are rather humorous) but it's definitely good enough now with no reception issues. The IR receiver is another matter and I was unsuccesful in making it work for now (I guess noone got it working with the old versions neither as it lacks the ir entries).
So could this card be added? I've added the trivial patch.

Roland

drivers/media/usb/em28xx/em28xx-cards.c +2 -0
@@ -2080,6 +2080,8 @@
 			.driver_info = EM2884_BOARD_TERRATEC_H5 },
 	{ USB_DEVICE(0x0ccd, 0x10ad),	/* H5 Rev. 2 */
 			.driver_info = EM2884_BOARD_TERRATEC_H5 },
+	{ USB_DEVICE(0x0ccd, 0x10b6),	/* H5 Rev. 3 */
+			.driver_info = EM2884_BOARD_TERRATEC_H5 },			
 	{ USB_DEVICE(0x0ccd, 0x0084),
 			.driver_info = EM2860_BOARD_TERRATEC_AV350 },
 	{ USB_DEVICE(0x0ccd, 0x0096),
#5 lore raw

Em Mon, 28 Jan 2013 13:02:43 +0100
Roland Scheidegger <[email protected]> escreveu:

Quoted 20 lines

From: Roland Scheidegger <[email protected]>
To: [email protected]
Subject: Re: terratec h5 rev. 3?
Date: Mon, 28 Jan 2013 13:02:43 +0100
Sender: [email protected]
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

Am 21.12.2012 06:38, schrieb [email protected]:

Quoted 11 lines

Hi,

I've recently got a terratec h5 for dvb-c and thought it would be supported but it looks like it's a newer revision not recognized by em28xx. After using the new_id hack it gets recognized and using various htc cards (notably h5 or cinergy htc stick, cards 79 and 82 respectively) it seems to _nearly_ work but not quite (I was using h5 firmware for the older version). Tuning, channel scan works however tv (or dvb radio) does not, since it appears the error rate is going through the roof (with some imagination it is possible to see some parts of the picture sometimes and hear some audio pieces).

Quoted 9 lines

Ok I have received a replacement now and I can confirm this stick in fact just works like the same as the older versions (I guess maybe the first one had bad solder point?). I can't judge signal sensitivity or anything like that (the snr values are rather humorous) but it's definitely good enough now with no reception issues. The IR receiver is another matter and I was unsuccesful in making it work for now (I guess noone got it working with the old versions neither as it lacks the ir entries).
So could this card be added? I've added the trivial patch.

Could you please add your Signed-of-by: to the patch?

Thanks,
Mauro

Quoted 6 lines

Roland

[h5rev3.diff text/x-patch (549 bytes)]

Signature · 2 lines
Cheers,
Mauro
#6 lore raw

Am 08.02.2013 16:17, schrieb Mauro Carvalho Chehab:

Quoted 33 lines

Em Mon, 28 Jan 2013 13:02:43 +0100
Roland Scheidegger <[email protected]> escreveu:

Quoted 20 lines

From: Roland Scheidegger <[email protected]>
To: [email protected]
Subject: Re: terratec h5 rev. 3?
Date: Mon, 28 Jan 2013 13:02:43 +0100
Sender: [email protected]
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130105 Thunderbird/17.0.2

Am 21.12.2012 06:38, schrieb [email protected]:

Quoted 11 lines

Hi,

I've recently got a terratec h5 for dvb-c and thought it would be supported but it looks like it's a newer revision not recognized by em28xx. After using the new_id hack it gets recognized and using various htc cards (notably h5 or cinergy htc stick, cards 79 and 82 respectively) it seems to _nearly_ work but not quite (I was using h5 firmware for the older version). Tuning, channel scan works however tv (or dvb radio) does not, since it appears the error rate is going through the roof (with some imagination it is possible to see some parts of the picture sometimes and hear some audio pieces).

Quoted 9 lines

Ok I have received a replacement now and I can confirm this stick in fact just works like the same as the older versions (I guess maybe the first one had bad solder point?). I can't judge signal sensitivity or anything like that (the snr values are rather humorous) but it's definitely good enough now with no reception issues. The IR receiver is another matter and I was unsuccesful in making it work for now (I guess noone got it working with the old versions neither as it lacks the ir entries).
So could this card be added? I've added the trivial patch.

Quoted 1 line

Could you please add your Signed-of-by: to the patch?

Sure. Here's this masterpiece of code again :-).

Roland

Quoted 1 line

From 03b68ff4f13736cf59140e090bf1609accd8dcb0 Mon Sep 17 00:00:00 2001

From: Roland Scheidegger <[email protected]>
Date: Sat, 9 Feb 2013 01:08:55 +0100
Subject: [PATCH] [media] em28xx: add usb id for terratec h5 rev. 3
Cc: Linux Media Mailing List <[email protected]>

Seems to work just the same as older revisions.

---
 drivers/media/usb/em28xx/em28xx-cards.c |    2 ++

1 Datei geändert, 2 Zeilen hinzugefügt(+)

drivers/media/usb/em28xx/em28xx-cards.c +2 -0
index 0a5aa62..5b24594 100644
@@ -2080,6 +2080,8 @@ struct usb_device_id em28xx_id_table[] = {
 			.driver_info = EM2884_BOARD_TERRATEC_H5 },
 	{ USB_DEVICE(0x0ccd, 0x10ad),	/* H5 Rev. 2 */
 			.driver_info = EM2884_BOARD_TERRATEC_H5 },
+	{ USB_DEVICE(0x0ccd, 0x10b6),	/* H5 Rev. 3 */
+			.driver_info = EM2884_BOARD_TERRATEC_H5 },			
 	{ USB_DEVICE(0x0ccd, 0x0084),
 			.driver_info = EM2860_BOARD_TERRATEC_AV350 },
 	{ USB_DEVICE(0x0ccd, 0x0096),
Signature · 1 line
1.7.10.4