TerraTec Cinergy T USB RC HD: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 92: Line 92:
(Bus Powered)
(Bus Powered)
[...]
[...]
==Making it work: > linux 3.7.x==
This adapter works with a linux kernel newer than 3.7 . In ubuntu go to https://wiki.ubuntu.com/Kernel/MainlineBuilds to install a newer kernel.


==Making it Work: linux < 3.7.x==
==Making it Work: < linux 3.7.x==





Latest revision as of 19:59, 19 February 2013

Front of the Terratec Cinergy TStick RC HD

A Terratec DVB-T USB stick.

Overview/Features

  • USB 2 interface
  • Inputs: Antenna (Composite), Remote (untested)

Components Used

List the hardware ICs and modules used by the device here. For example:

Other Images

Identification

  1. lsusb -v
[...]
Bus 002 Device 002: ID 0ccd:00d3 TerraTec Electronic GmbH
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x0ccd TerraTec Electronic GmbH
  idProduct          0x00d3
  bcdDevice            1.00
  iManufacturer           1 Realtek
  iProduct                2 RTL2838UHIDIR
  iSerial                 3 00000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          4 USB2.0-Bulk&Iso
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 Bulk-In, Interface
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass    255 Vendor Specific Subclass
      bInterfaceProtocol    255 Vendor Specific Protocol
      iInterface              5 Bulk-In, Interface
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      2
Device Status:     0x0000
  (Bus Powered)
[...]

Making it work: > linux 3.7.x

This adapter works with a linux kernel newer than 3.7 . In ubuntu go to https://wiki.ubuntu.com/Kernel/MainlineBuilds to install a newer kernel.

Making it Work: < linux 3.7.x

The Terratec Cinergy TStick RC HD works with Ambosa's RTL2832U driver It won't find any channel with the included antenna, but when connected to the aerial outlet (building antenna) it works fine with occassional square noise or very short cuts (maybe more often in HD channels ???).

Can't test very often, because it's at a friend's, not mine.

I haven't found an email address to tell Ambrosa and I don't have a GitHub account, maybe someone who has can send a link to the GitHub forum?

The system I tested is a Debian squeeze, with a custom compiled linux-libre 3.2.1.

I followed

this readme

(except I used

KBUILD_SRC=/home/[...]/linux-3.2.1 make

instead of

make

) and applied the following patch (simply add the vendor and device ids )

diff --git a/RTL2832-2.2.2_kernel-3.0.0/Makefile b/RTL2832-2.2.2_kernel-3.0.0/Makefile
index b4fec9a..4816f69 100644
--- a/RTL2832-2.2.2_kernel-3.0.0/Makefile
+++ b/RTL2832-2.2.2_kernel-3.0.0/Makefile
@@ -4,10 +4,10 @@
 # Choose here wich include file to use: from kernel 3.0.0 (good for 3.1.0) or from kernel 3.2.0
 
 # kernel 3.0.0 / 3.1.0
-INCLUDE_EXTRA_DVB := include-300
+#INCLUDE_EXTRA_DVB := include-300
 
 # kernel 3.2.0
-#INCLUDE_EXTRA_DVB := include-320
+INCLUDE_EXTRA_DVB := include-320
 
 # ----------------------------------------
 
diff --git a/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.c b/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.c
index 6e7eac0..1ed364c 100644
--- a/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.c
+++ b/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.c
@@ -785,6 +785,7 @@ static struct usb_device_id rtl2832u_usb_table [] = {
 
        { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_00A9)}, // 29
        { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_00B3)}, // 30
+       { USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_00D3)}, // 30
 
        { USB_DEVICE(USB_VID_AZUREWAVE_2, USB_PID_AZUREWAVE_3234) },    // 31
        { USB_DEVICE(USB_VID_AZUREWAVE_2, USB_PID_AZUREWAVE_3274) },    // 32
diff --git a/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.h b/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.h
index a6b5d77..3a09485 100644
--- a/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.h
+++ b/RTL2832-2.2.2_kernel-3.0.0/rtl2832u.h
@@ -47,6 +47,7 @@
 #endif
 #define        USB_PID_TERRATEC_00A9                                   0x00A9
 #define        USB_PID_TERRATEC_00B3                                   0x00B3
+#define        USB_PID_TERRATEC_00D3                                   0x00D3
 
 #ifndef USB_VID_AZUREWAVE_2
 #define USB_VID_AZUREWAVE_2                                     0x13D3

Firmware

I haven't copied any firmware and I doubt linux-libre would have loaded it. I think it works without any firmware file. Didn't check if there is any firmware somehow embedded in the source I compiled or it's simply shipped already on the usb stick.

Drivers

Ambosa's RTL2832U driver modified with the vendor and device Id.

It says GPL but I haven't researched the source, authorship attributions or changelog.

Sample Kernel Output

# dmesg
[...]
[    5.465403] USB Video Class driver (1.1.1)
[    5.604042] usb 2-3: new high-speed USB device number 2 using ehci_hcd
[    5.748596] usb 2-3: New USB device found, idVendor=0ccd, idProduct=00d3
[    5.748599] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    5.748602] usb 2-3: Product: RTL2838UHIDIR
[    5.748603] usb 2-3: Manufacturer: Realtek
[    5.748605] usb 2-3: SerialNumber: 00000001
[    5.760898] IR NEC protocol handler initialized
[    5.762107] IR RC5(x) protocol handler initialized
[    5.763207] IR RC6 protocol handler initialized
[    5.765032] Disabling lock debugging due to kernel taint
[    5.765306] IR JVC protocol handler initialized
[    5.766439] dvb-usb: found a 'USB DVB-T Device' in warm state.
[    5.766446] dvb-usb: will pass the complete MPEG2 transport stream to the sof
tware demuxer.
[    5.767470] IR Sony protocol handler initialized
[    5.768708] IR MCE Keyboard/mouse protocol handler initialized
[    5.768847] DVB: registering new adapter (USB DVB-T Device)
[    5.770281] lirc_dev: IR Remote Control driver registered, major 252
[    5.770635] IR LIRC bridge handler initialized
[    5.783837] RTL2832U usb_init_bulk_setting : USB2.0 HIGH SPEED (480Mb/s)
[    6.024032] usb 3-3: new low-speed USB device number 2 using ohci_hcd
[    6.024058] RTL2832U check_tuner_type : E4000 tuner on board...
[...]

Remote Control Support

Untested.

External Links