Terratec CINERGY TC2 Stick does not work - actually works with correct firmware and correct muxes

  • Hi,

    I just installed a fresh LE 11 on Raspberry 3B+.

    Now I wanted to try my DVB-T/DVB-C USB stick: Terratec CINERGY TC2 Stick

    But it doesn't work.

    I already tried on my PC, where I had to fetch dvb-usb-it9303-01.fw, dvb-demod-si2168-b40-01.fw, dvb-usb-terratec-htc-stick-drxk.fw, dvb-demod-si2168-02.fw from OpenElec Github repo.

    on the PC it does not work either, because the Si2157 "device is buggy" and it does not load the firmware.

    is here someone who supports making it work?

    I am currently building mainline kernel to check if a newer kernel helps.

    The errors shown below look like what I was getting on my PC when the firmware wasn't installed yet. But here there are no requests for firmware?

    The chips used are:

    ITE IT9306, Silicon Labs Si2157 ("device is buggy") and Si2168-B40


    thanks

    JPT

    PS. tried putting the firmware in /storage/.config/firmware but this did not change anything. Why doesn't it load the firmware?

    Edited once, last by oJPTo (October 22, 2023 at 2:32 PM).

  • Still does not work.

    Where do I put the firmware? Looks like it did not find the firmware in

    /storage/.config/firmware/

    dmesg says

    kernel-overlays-setup: added firmware from /storage/.config/firmware

  • thanks, this is the guide i followed.

    on the PC it does not need sub directories.

    and in the log it does not use sub directories as well.

    so if I should place it into a sub dir, what dir do you suggest?

    or is there anything else I was wrong about?

  • This is a completely different device.

    but that was the plan already in the first place.

    Trying different platforms to make it work.

    My backup laptop broke down yesterday while tring to build 6.5 kernel.

    Got another spare PC now for experimenting.

    ps: seems like one of the firmware files was bad. replaced it and now I get the "buggy device" messages again. So same state as on the PC.

    see http://ix.io/4JKR

    next try is compiling 6.5 kernel

    but maybe I should give up trying on libreelec for now. Will mark the thread as "given up".

    thanks to all people who tried to help.

  • The biggest problem using DVB devices on LE directly is breakage on every kernel update. And that’s if you’re lucky enough to get the device working in the first place. That’s why I suggested using a separate RPI with the USB attached acting as a server, pin the kernel version on the server and you can do what you like with the LE client without worrying about breaking your server install.

    Many of those USB sticks are hit and miss in Linux and many don’t even work no matter what firmware you throw at them. Again you can see from this list that your stick might be supported http://www.linux-hardware-guide.de/2012-11-02-ter…tc-usb-stick-hd

  • Yeah, thanks. The device actually works. Problem was I didn't know the exact symbol rates.

    There are a ton of sources for firmware, not all identical, some broken.

    I made it work with these

    Code
    $ md5sum *
    d8da7ff67cd56cd8aa4e101aea45e052  dvb-demod-si2168-02.fw
    c8e089c351e9834060e962356f8697b8 dvb-demod-si2168-b40-01.fw
    0c3f6bc5028bc37cfbf3a16d480bbaa5  dvb-usb-it9303-01.fw
    9822ca23d24c46569ede9e07b1f13eee  dvb-usb-terratec-htc-stick-drxk.fw

    Edited once, last by oJPTo (October 26, 2023 at 6:03 PM).

  • Yeah, thanks. The device actually works. Problem was I didn't know the exact symbol rates.

    There are a ton of sources for firmware, not all identical, some broken.

    I made it work with these

    Code
    $ md5sum *
    d8da7ff67cd56cd8aa4e101aea45e052  dvb-demod-si2168-02.fw
    d643a75d2ced161bc5fb635aec694d9f  dvb-demod-si2168-b40-01.fw
    0c3f6bc5028bc37cfbf3a16d480bbaa5  dvb-usb-it9303-01.fw
    9822ca23d24c46569ede9e07b1f13eee  dvb-usb-terratec-htc-stick-drxk.fw

    When you say you made it work with these, was that in LE or something else. The big problem is the different revisions of this stick. It is usually down to the Vendor ID reported not matching the actual installed on the chip.

    Could you supply a little more detail on the cable service you are using and maybe someone here could supply you with the relevant S/R.

  • It works in LibreElec and on PC/Ubuntu.

    But on LibreElec 11 the USB stick does not come up on boot-up. I have to remove and re-insert it.

    There should be a simple solution, but I don't know it ;)

    I think this is triggered bei udev?

    dmesg log of bootup is here:

    http://ix.io/4K1e

    dmesg log of remove and reinsert USB device is here:

    http://ix.io/4K1d

    My provider is Synvia. They deliver FTTH (fiber internet). In my flat they mounted a converter from fiber to cable and LAN. No idea what it does.

    The symbol rate seems to be 6,900,000 for all muxes.

    one of the above was wrong. good one is

    c8e089c351e9834060e962356f8697b8 dvb-demod-si2168-b40-01.fw

    (fixed it in my post, but couldn't in your quote)

    not sure if the vendor id really makes trouble. the stick works fine, even if I do not blacklist the other driver and it is loaded.

    thanks.

  • So when you say “works in LibreElec and on PC/Ubuntu.“ can you successfully scan muxes and view them. What version of LibreELEC does it work in.

    I’ve a feeling the lack of supported drivers in LE 11 on your RPI3 is the problem.

  • You have to re-insert the usb device after every boot, else it won't work.

    I don't know if this still works, and what the PSU requirements are.

    RPi 3: USB not enumerating during boot, fine on hotplug - Raspberry Pi Forums


    But in essence your issue:

    Code
    [   14.777058] usb 1-1.1.2: dvb_usb_v2: 2nd usb_bulk_msg() failed=-110
    [   14.777103] dvb_usb_af9035: probe of 1-1.1.2:1.0 failed with error -110

    Appears to be kernel/bootloader related, nothing to do with LE. Earlier on you can see it enumerating the device, it just later on fails with this. You might want to try logging an issue on https://github.com/raspberrypi/linux and see what they have to say, the forum post suggests it doesn't do anything (would have to check config.txt documentation to see, it might be for RPi2 and earlier)

    More info on max_usb_current, seems applicable to 3B+?

    B+ and max_usb_current - Raspberry Pi Forums