TerraTec Cinergy T USB Dual RC

From LinuxTVWiki
Jump to navigation Jump to search
Vendor
Device/Model
Supported ID on
Interface
Hardware Firmware Comment / Pictures URL E
TerraTec Cinergy T USB Dual RC Yes, in kernel since 2.6.37 0ccd:0099 USB2.0 Afatech AF9013A, MaxLinear MxL5007T dvb-usb-af9015.fw Dual Receivers (one for viewing and one for recording TerraTec Linux Driver Information [1] Jump to the place where you can edit this entry

Rev 2 of this stick is not supported, but a description for a workaround/patch exists. Alternatively; if you don't want to recompile kernels, the rev 2 can be hacked to work:

sudo sed -i 's/\x8d\x04\x35\x91/\xcd\x0c\x99\x00/g' /lib/modules/`uname -r`/kernel/drivers/media/dvb/dvb-usb/dvb-usb-it913x.ko

Make sure you backup your module before applying this binary patch!!

AF9013

USB ID: 0ccd:0099 Manufacturer: Afatech

Uses tuner MaxLinear MxL5007T and AF9013. Use Kernel-2.6.37 (Kernel-2.6.28 ??) or v4l-dvb git.

You can find Firmware on the TerraTec Linux site ore direct at otit.fi. Copy Firmware to /lib/firmware.

After loading dvb-usb-af9015 you should see the following:

usb 2-4.2: new high speed USB device number 4 using ehci_hcd
usb 2-4.2: New USB device found, idVendor=0ccd, idProduct=0099
usb 2-4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-4.2: Product: DVB-T 2
usb 2-4.2: Manufacturer: Afatech
usb 2-4.2: SerialNumber: xxxxxxxxxxxxxx
dvb-usb: found a 'TerraTec Cinergy T Stick Dual RC' in cold state, will try to load a firmware
dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
dvb-usb: found a 'TerraTec Cinergy T Stick Dual RC' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (TerraTec Cinergy T Stick Dual RC)
af9013: firmware version:4.95.0.0
DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
mxl5007t 4-00c0: creating new instance
mxl5007t_get_chip_id: unknown rev (3f)
mxl5007t_get_chip_id: MxL5007T detected @ 4-00c0
dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
DVB: registering new adapter (TerraTec Cinergy T Stick Dual RC)
af9013: found a 'Afatech AF9013 DVB-T' in warm state.
af9013: firmware version:4.95.0.0
DVB: registering adapter 1 frontend 0 (Afatech AF9013 DVB-T)...
mxl5007t 4-00c0: attaching existing instance
Registered IR keymap rc-terratec-slim
input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:13.2/usb2/2-4/2-4.2/rc/rc0/input8
rc0: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:13.2/usb2/2-4/2-4.2/rc/rc0
dvb-usb: schedule remote query interval to 500 msecs.
dvb-usb: TerraTec Cinergy T Stick Dual RC successfully initialized and connected.
input: Afatech DVB-T 2 as /devices/pci0000:00/0000:00:13.2/usb2/2-4/2-4.2/2-4.2:1.1/input/input9
generic-usb 0003:0CCD:0099.0007: input,hidraw4: USB HID v1.01 Keyboard [Afatech DVB-T 2] on usb-0000:00:13.2-4.2/input1


Output from lsusb

# lsusb -vv -s 003:003

Bus 003 Device 003: ID 0ccd:0099 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          0x0099 
  bcdDevice            2.00
  iManufacturer           1 Afatech
  iProduct                2 DVB-T 2
  iSerial                 3 xxxxxxxxxxxxxx
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           71
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           4
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      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
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x84  EP 4 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x85  EP 5 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           1
      bInterfaceClass         3 Human Interface Device
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.01
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      65
         Report Descriptors: 
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x83  EP 3 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval              10
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      1
Device Status:     0x0000
  (Bus Powered)