Skip to contentSkip to conversation

si2157 not working at all?

DISCUSSION JPT 2 participants 6 messages Oct 22, 2023 – Oct 25, 2023 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore

JPT

author
#0 lore raw

Hi,

I've got a
TerraTec Cinergy TC2 Stick / Terratec Cinergy H6 rev. 2
DVB-T2/DVB-C USB stick using chips:

	IT9306, Si2157, Si2168-B40

Is there a way to make it work?
Or is the si2157 chip just not supported?

si2157 7-0063: device is buggy, skipping firmware download si2157 7-0063: firmware version: �.�.255

This patch added the "skipping firmware download":
https://patchwork.kernel.org/project/linux-media/patch/[email protected]/

is there a way to tell the module to force load the firmware? Or do I have to patch the kernel?

I tried on Kubuntu 23.4, kernel 6.2.0-35-generic
and on Libreelec 9.2@raspberry 3B, kernel 4.19.127? , where it failed differently.

libreelec log see http://ix.io/4JBp

thank you very much

Jan

#1 lore raw
Quoted 5 lines · JPT

Hi,

I've got a
TerraTec Cinergy TC2 Stick / Terratec Cinergy H6 rev. 2
DVB-T2/DVB-C USB stick using chips:

Quoted 8 lines
	IT9306, Si2157, Si2168-B40

Is there a way to make it work?
Or is the si2157 chip just not supported?

si2157 7-0063: device is buggy, skipping firmware download si2157 7-0063: firmware version: �.�.255

Do you already have latest linux-firmware package?

Quoted 9 lines

This patch added the "skipping firmware download":
https://patchwork.kernel.org/project/linux-media/patch/[email protected]/

is there a way to tell the module to force load the firmware? Or do I have to patch the kernel?

I tried on Kubuntu 23.4, kernel 6.2.0-35-generic
and on Libreelec 9.2@raspberry 3B, kernel 4.19.127? , where it failed differently.

Can you check latest mainline (currently v6.6-rc6) instead?

Quoted 3 lines

libreelec log see http://ix.io/4JBp

Can you also attach full kernel logs from both systems?

Confused...

Signature · 1 line
An old man doll... just what I always wanted! - Clara
author
#2 lore raw

Hi,

Am 22.10.23 um 12:08 schrieb Bagas Sanjaya:

Quoted 1 line

Can you check latest mainline (currently v6.6-rc6) instead?

sorry. My backup laptop broke down while trying, so I wont be able to build and test a selfbuilt kernel any time soon.

I was able to make the device partly work on
LibreElec12@raspberry pi 3B+ kernel 6.1.58
dmesg see http://ix.io/4JKJ

But I wasn't able to tune into anything yet.
The Hardware ID is a dublette and pulled a wrong driver on LibreElec. After blacklisting em28xx, the correct driver was loaded.

I still get the message regarding firmware not loaded because buggy.

Quoted 9 lines · JPT
Quoted 6 lines

Hi,

I've got a
TerraTec Cinergy TC2 Stick / Terratec Cinergy H6 rev. 2
DVB-T2/DVB-C USB stick using chips:

	IT9306, Si2157, Si2168-B40

Do you already have latest linux-firmware package?

From what source? Ubuntu repo?

I manually fetched from openelec github:

d8da7ff67cd56cd8aa4e101aea45e052  dvb-demod-si2168-02.fw
c8e089c351e9834060e962356f8697b8  dvb-demod-si2168-b40-01.fw
d643a75d2ced161bc5fb635aec694d9f  dvb-demod-si2168-b40-01.fw.bak (bad?)
0c3f6bc5028bc37cfbf3a16d480bbaa5  dvb-usb-it9303-01.fw
9822ca23d24c46569ede9e07b1f13eee  dvb-usb-terratec-htc-stick-drxk.fw

thanks

Jan

author
#3 lore raw

Well,

I was able to make a fresh ubuntu install and build 6.6-rc7

find the logfile here:
https://pastebin.com/9zsRuYFv

comments inside, at the end.
the last lines are:

si2168 8-0067: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' si2168 8-0067: firmware version: B 4.0.25
si2157 9-0063: device is buggy, skipping firmware download si2157 9-0063: firmware version: \xff.\xff.255

so even in the newest kernel, the chip is marked as buggy.

could someone please have a look what is the problem with si2157?

here seems to be a patch for kernel 4.19
https://github.com/brandsimon/debian-kernel-terratec-cinergy-tc2

thank you very much

Jan

Am 23.10.23 um 15:18 schrieb JPT:

Quoted 40 lines

Hi,

Am 22.10.23 um 12:08 schrieb Bagas Sanjaya:

Quoted 1 line

Can you check latest mainline (currently v6.6-rc6) instead?

sorry. My backup laptop broke down while trying, so I wont be able to build and test a selfbuilt kernel any time soon.

I was able to make the device partly work on
LibreElec12@raspberry pi 3B+ kernel 6.1.58
dmesg see http://ix.io/4JKJ

But I wasn't able to tune into anything yet.
The Hardware ID is a dublette and pulled a wrong driver on LibreElec. After blacklisting em28xx, the correct driver was loaded.

I still get the message regarding firmware not loaded because buggy.

Quoted 9 lines · JPT
Quoted 6 lines

Hi,

I've got a
    TerraTec Cinergy TC2 Stick / Terratec Cinergy H6 rev. 2 DVB-T2/DVB-C USB stick using chips:
    IT9306, Si2157, Si2168-B40

Do you already have latest linux-firmware package?

From what source? Ubuntu repo?

I manually fetched from openelec github:
d8da7ff67cd56cd8aa4e101aea45e052  dvb-demod-si2168-02.fw c8e089c351e9834060e962356f8697b8  dvb-demod-si2168-b40-01.fw d643a75d2ced161bc5fb635aec694d9f  dvb-demod-si2168-b40-01.fw.bak (bad?) 0c3f6bc5028bc37cfbf3a16d480bbaa5  dvb-usb-it9303-01.fw 9822ca23d24c46569ede9e07b1f13eee  dvb-usb-terratec-htc-stick-drxk.fw

thanks

Jan

#4 lore raw
Quoted 15 lines · JPT

Well,

I was able to make a fresh ubuntu install and build 6.6-rc7

find the logfile here:
https://pastebin.com/9zsRuYFv

comments inside, at the end.
the last lines are:

si2168 8-0067: downloading firmware from file 'dvb-demod-si2168-b40-01.fw' si2168 8-0067: firmware version: B 4.0.25
si2157 9-0063: device is buggy, skipping firmware download si2157 9-0063: firmware version: \xff.\xff.255

Quoted 6 lines

so even in the newest kernel, the chip is marked as buggy.

could someone please have a look what is the problem with si2157?

here seems to be a patch for kernel 4.19
https://github.com/brandsimon/debian-kernel-terratec-cinergy-tc2

Please don't top-post; reply inline with appropriate context instead.

What patch do you mean on that repo? Can you try applying that to see if it helps?

Confused...

Signature · 1 line
An old man doll... just what I always wanted! - Clara

A message that is not in the archive (sent off-list or not yet received): CANL0fFQMiubX3saR7fmQvYjKqDVCbDNTwyzj1_-aiN6HSB-hwg@mail.gmail.com

author
#6 lore raw

[TerraTec Cinergy TC2]

Quoted 6 lines
Quoted 1 line

could someone please have a look what is the problem with si2157?

No problem.

Support for your stick was added here:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0e0d3138896f <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c0e0d3138896f>

Oops. Thank you very much.
I was on the wrong trace all along.
Sorry, for bothering. I have tried hard to learn a little bit of kernel development, but I am far from all of you :o)

could someone please change the kernel message to something more specific?

for example:

drivers/media/tuners/si2157.c
153c153
< "device is buggy, skipping firmware download\n");
---

Quoted 1 line

"firmware upload does not work, using firmware

already installed\n");

thank you very much

Jan