[Bug 460636] Re: dvb-t device Terratec Cinergy T XS not working

Thorsten Hirsch t.hirsch at web.de
Thu Jun 10 21:12:21 UTC 2010


The em28xx driver in Linus' kernel (2.6.34) still refuses to work with
the Terratec Cinergy T XS on Ubuntu, because of a wrong firmware file in
the package linux-firmware-nonfree or because of a bug in the (kernel)
driver. Would some kernel hacker please have a look at this issue?

Here are some more details. My card still has the wrong usb id
(eb1a:2871), so I have to apply a patch that will make the kernel handle
my wrong usb id in the same way as the correct one of the Cinergy T XS.
attachment => em28xx_with_id_eb1a_2871_for_2.6.34.patch

As you can see I also removed some lines concerning the IR interface. These lines were causing the system to hang completely. I don't know why, but since my dvb-t device has no IR interface I don't need these lines.
Now this is what happens when I insert the dvb-t device:

### dmesg output ###

[ 1144.730280] usb 2-2: new high speed USB device using ehci_hcd and address 3
[ 1145.118529] em28xx: New device @ 480 Mbps (eb1a:2871, interface 0, class 0)
[ 1145.118866] em28xx #0: chip ID is em2870
[ 1145.262373] em28xx #0: i2c eeprom 00: ff ff ff ff ff ff ff ff c0 12 81 00 6a 24 8e 34
[ 1145.262399] em28xx #0: i2c eeprom 10: 00 00 06 57 02 0c 00 00 00 00 00 00 00 00 00 00
[ 1145.262420] em28xx #0: i2c eeprom 20: 44 00 00 00 f0 10 01 00 00 00 00 00 5b 00 00 00
[ 1145.262442] em28xx #0: i2c eeprom 30: 00 00 20 40 20 80 02 20 01 01 00 00 26 3c e3 49
[ 1145.262463] em28xx #0: i2c eeprom 40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1145.262484] em28xx #0: i2c eeprom 50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1145.262528] em28xx #0: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 24 03 43 00 69 00
[ 1145.262568] em28xx #0: i2c eeprom 70: 6e 00 65 00 72 00 67 00 79 00 20 00 54 00 20 00
[ 1145.262608] em28xx #0: i2c eeprom 80: 55 00 53 00 42 00 20 00 58 00 53 00 00 00 34 03
[ 1145.262648] em28xx #0: i2c eeprom 90: 54 00 65 00 72 00 72 00 61 00 54 00 65 00 63 00
[ 1145.262687] em28xx #0: i2c eeprom a0: 20 00 45 00 6c 00 65 00 63 00 74 00 72 00 6f 00
[ 1145.262727] em28xx #0: i2c eeprom b0: 6e 00 69 00 63 00 20 00 47 00 6d 00 62 00 48 00
[ 1145.262766] em28xx #0: i2c eeprom c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1145.262805] em28xx #0: i2c eeprom d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1145.262845] em28xx #0: i2c eeprom e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1145.262884] em28xx #0: i2c eeprom f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 1145.262925] em28xx #0: EEPROM ID= 0xffffffff, EEPROM hash = 0x00000000
[ 1145.262930] em28xx #0: EEPROM info:
[ 1145.262935] em28xx #0:       No audio on board.
[ 1145.262939] em28xx #0:       500mA max power
[ 1145.262945] em28xx #0:       Table at 0x06, strings=0x246a, 0x348e, 0x0000
[ 1145.264611] em28xx #0: Identified as Terratec Cinergy T XS (card=43)
[ 1145.264616] em28xx #0: 
[ 1145.264618] 
[ 1145.264623] em28xx #0: The support for this board weren't valid yet.
[ 1145.264628] em28xx #0: Please send a report of having this working
[ 1145.264632] em28xx #0: not to V4L mailing list (and/or to other addresses)
[ 1145.264634] 
[ 1145.342240] Chip ID is not zero. It is not a TEA5767
[ 1145.342417] tuner 5-0060: chip found @ 0xc0 (em28xx #0)
[ 1145.362042] xc2028 5-0060: creating new instance
[ 1145.362047] xc2028 5-0060: type set to XCeive xc2028/xc3028 tuner
[ 1145.362057] usb 2-2: firmware: requesting xc3028-v27.fw
[ 1145.425120] xc2028 5-0060: Loading 80 firmware images from xc3028-v27.fw, type: xc2028 firmware, ver 2.7
[ 1145.482631] xc2028 5-0060: Loading firmware for type=BASE (1), id 0000000000000000.
[ 1146.431437] xc2028 5-0060: Loading firmware for type=(0), id 000000000000b700.
[ 1146.446750] SCODE (20000000), id 000000000000b700:
[ 1146.446762] xc2028 5-0060: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 0000000000008000.
[ 1146.481893] xc2028 5-0060: Incorrect readback of firmware version.
[ 1146.600322] xc2028 5-0060: Loading firmware for type=BASE (1), id 0000000000000000.
[ 1147.541251] xc2028 5-0060: Loading firmware for type=(0), id 000000000000b700.
[ 1147.556121] SCODE (20000000), id 000000000000b700:
[ 1147.556133] xc2028 5-0060: Loading SCODE for type=MONO SCODE HAS_IF_4320 (60008000), id 0000000000008000.
[ 1147.595179] xc2028 5-0060: Incorrect readback of firmware version.
[ 1147.760168] em28xx #0: v4l2 driver version 0.1.2
[ 1147.765763] em28xx #0: V4L2 video device registered as video1
[ 1147.788304] usbcore: registered new interface driver snd-usb-audio
[ 1147.789162] usbcore: registered new interface driver em28xx
[ 1147.789167] em28xx driver loaded

### end of dmesg ###

As you can see this is exactly the same behavior ("Incorrect readback of
firmware version.") as under Ubuntu 9.10 and previous when my dvb-t
device had the correct usb id. The kernel driver, the firmware file
xc3028-v27.fw, and the Cinergy T XS still don't work together.


Once again, just to clarify the situation, this comment is not about Markus Rechberger's em28xx-new driver or any patched version of it, which was working for some time at least. It is all about the em28xx driver in Linus' kernel, which is (I guess) the same as in Ubuntu's kernel and has never been working.

** Patch added: "This patch does not solve the issue. It only adds the wrong usb id to the kernel's em28xx driver so that it is being loaded."
   http://launchpadlibrarian.net/50095170/em28xx_with_id_eb1a_2871_for_2.6.34.patch

-- 
dvb-t device Terratec Cinergy T XS not working
https://bugs.launchpad.net/bugs/460636
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.




More information about the kernel-bugs mailing list