Results 1 to 7 of 7

Thread: Terratec T5 / Cinergy DT USB XS Diversity remote control

  1. #1

    Question Terratec T5 / Cinergy DT USB XS Diversity remote control

    Hello Forum.

    First my system data:
    - OpenSuse 11.4 x64
    - KDE SC 4.6.2
    - Terratec T5 / Cinergy DT USB XS Diversity -> linuxtv.org wiki

    I have a this new USB DVB-T Stick and the tv reception works perfect. I tried to set up the remote control as well, but i got stuck. I followed this instruction.

    excerpt from lsusb:
    Code:
    Bus 001 Device 005: ID 0ccd:10a1 TerraTec Electronic GmbH
    excerpt from cat /proc/bus/input/devices :
    Code:
    I: Bus=0003 Vendor=0ccd Product=10a1 Version=0100
    N: Name="IR-receiver inside an USB DVB receiver"
    P: Phys=usb-0000:00:12.2-4/ir0
    S: Sysfs=/devices/pci0000:00/0000:00:12.2/usb1/1-4/rc/rc0/input7
    U: Uniq=
    H: Handlers=kbd event7 
    B: EV=100013
    B: KEY=14afc336 284284d00000000 0 480058000 219040000801 9e96c000000000 90020000000ffc
    B: MSC=10
    When I try to record the keys with the command
    Code:
    irrecord -H dev/input -d /dev/input/event7 /home/alexander/remote
    irrecord does not recognize anything. This input device is also mapped to /dev/input/ir but this device doesn't work neither.
    I also checked the remote cotrol with a digital camera: it sends ir light on pressing a key.

    Does anybody have experience with this remote control or can give me a hint what I can try next?

    Thanks in advance.

  2. #2

    Default Re: Terratec T5 / Cinergy DT USB XS Diversity remote control

    I had a closer look at the dmesg look and found the following message:
    Code:
    dib0700: rc submit urb failed
    Is that the cause of my problem?

  3. #3
    Join Date
    Oct 2008
    Location
    near Munich
    Posts
    507

    Default Re: Terratec T5 / Cinergy DT USB XS Diversity remote control

    Maybe you can print the whole output of dmesg when plug the dvb-t stick in
    your computer.

  4. #4

    Default Re: Terratec T5 / Cinergy DT USB XS Diversity remote control

    That's dmesg output after plug in the stick:
    Code:
    [ 8870.704120] usb 2-1: new high speed USB device using ehci_hcd and address 2
    [ 8870.819427] usb 2-1: New USB device found, idVendor=0ccd, idProduct=10a1
    [ 8870.819436] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 8870.819443] usb 2-1: Product: TerraTec T5
    [ 8870.819448] usb 2-1: Manufacturer: TerraTec
    [ 8870.819452] usb 2-1: SerialNumber: 100802000436
    [ 8870.820058] dvb-usb: found a 'Terratec Cinergy DT USB XS Diversity/ T5' in cold state, will try to load a firmware
    [ 8870.871809] dvb-usb: downloading firmware from file 'dvb-usb-dib0700-1.20.fw'
    [ 8871.073143] dib0700: firmware started successfully.
    [ 8871.574237] dvb-usb: found a 'Terratec Cinergy DT USB XS Diversity/ T5' in warm state.
    [ 8871.574358] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
    [ 8871.574476] DVB: registering new adapter (Terratec Cinergy DT USB XS Diversity/ T5)
    [ 8871.793130] DVB: registering adapter 0 frontend 0 (DiBcom 7000PC)...
    [ 8872.001597] DiB0070: successfully identified
    [ 8872.001605] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
    [ 8872.001673] DVB: registering new adapter (Terratec Cinergy DT USB XS Diversity/ T5)
    [ 8872.150711] DVB: registering adapter 1 frontend 0 (DiBcom 7000PC)...
    [ 8872.357432] DiB0070: successfully identified
    [ 8872.357447] Registered IR keymap rc-dib0700-rc5
    [ 8872.357457] ir_create_table: Allocated space for 256 keycode entries (2048 bytes)
    [ 8872.357463] ir_setkeytable: Allocated space for 256 keycode entries (2048 bytes)
    [ 8872.357471] ir_update_mapping: #0: New scan 0x0700 with key 0x0071
    [ 8872.357477] ir_update_mapping: #1: New scan 0x0701 with key 0x008b
    [ 8872.357482] ir_update_mapping: #2: New scan 0x0739 with key 0x0074
    [ 8872.357488] ir_update_mapping: #2: New scan 0x0703 with key 0x0073
    ...
    [ 8872.358606] ir_update_mapping: #83: New scan 0x1d37 with key 0x00a7
    [ 8872.358613] ir_update_mapping: #84: New scan 0x1d3b with key 0x0162
    [ 8872.358621] ir_update_mapping: #85: New scan 0x1d3d with key 0x0074
    [ 8872.358867] input: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:13.2/usb2/2-1/rc/rc0/input9
    [ 8872.358991] rc0: IR-receiver inside an USB DVB receiver as /devices/pci0000:00/0000:00:13.2/usb2/2-1/rc/rc0
    [ 8872.358999] __ir_input_register: Registered input device on dib0700 for rc-dib0700-rc5 remote.
    [ 8872.359371] dvb-usb: schedule remote query interval to 50 msecs.
    [ 8872.359380] dvb-usb: Terratec Cinergy DT USB XS Diversity/ T5 successfully initialized and connected.

  5. #5
    Join Date
    Oct 2008
    Location
    near Munich
    Posts
    507

    Default Re: Terratec T5 / Cinergy DT USB XS Diversity remote control

    I had the same problem with a similar remote control.

    The the linuxtv wiki is out of date here. The option
    dvb_usb_dib0700_ir_proto for the kernel driver does no longer exist.

    Instead, you need the program "ir-keytable", it's part of v4l-utils.

    I couldn't find a (working) RPM, therefore I check out the latest git
    version:
    git clone git://linuxtv.org/v4l-utils.git
    cd v4l-utils
    make (I could not compile the whole package, but it stopped after compiling
    keytable.)

    The tool will be at utils/keytable. With "ir-keytable" you can change the
    protocol and load another keymap.
    My remote uses the "nec" protocol and the keymap in
    rc_keymaps/nec_terratec_cinergy_xs worked for me (comes with ir-keytable).

    Unfourtunatly you have to change the protocol and load the keymap everytime
    you reboot.

  6. #6

    Default Re: Terratec T5 / Cinergy DT USB XS Diversity remote control

    Thanks, you are my hero!

    Indeed the wrong protocol was loaded. NEC works for me, too.

    But I only needed to compile so subdirectoy ./v4l-utils/utils/keytable/
    Calling ./ir-keytable after successful compilation I got:
    Code:
    Found /sys/class/rc/rc0/ (/dev/input/event7) with:
            Driver dib0700, table rc-dib0700-rc5
            Supported protocols: NEC RC-5 RC-6 
            Enabled protocols: RC-5 
            Repeat delay = 500 ms, repeat period = 33 ms
    To change the protocol I called:
    Code:
    ./ir-keytable --protocol=nec --sysdev=rc0
    To create a custom lircd config file I followed the instruction on Remote controllers-V4L - LinuxTVWiki .

    Again, thank you very much for your hint!


    Alexander

  7. #7
    Join Date
    Oct 2008
    Location
    near Munich
    Posts
    507

    Default Re: Terratec T5 / Cinergy DT USB XS Diversity remote control

    Your are welcome, but I had some help myself to figure this out.

    So, thanks to mchehab form #linuxtv

    Hopefully someone updates the LinuxTV wiki and/or we get better support from
    the distributions ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •