public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: si2157 not working at all?
       [not found] <08125fef-3cb4-4f01-975c-d7c409153c4a@gmx.net>
@ 2023-10-22 10:08 ` Bagas Sanjaya
  2023-10-23 13:18   ` JPT
  0 siblings, 1 reply; 5+ messages in thread
From: Bagas Sanjaya @ 2023-10-22 10:08 UTC (permalink / raw)
  To: JPT, Linux Media Subsystem, Linux Kernel Mailing List
  Cc: Antti Palosaari, Mauro Carvalho Chehab, Gon Solo

[-- Attachment #1: Type: text/plain, Size: 1120 bytes --]

On Sun, Oct 22, 2023 at 09:57:07AM +0200, JPT wrote:
> 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
> 

Do you already have latest linux-firmware package?

> This patch added the "skipping firmware download":
> https://patchwork.kernel.org/project/linux-media/patch/20191010095103.3803-3-gonsolo@gmail.com/
> 
> 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?

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

Can you also attach full kernel logs from both systems?

Confused...

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: si2157 not working at all?
  2023-10-22 10:08 ` si2157 not working at all? Bagas Sanjaya
@ 2023-10-23 13:18   ` JPT
  2023-10-23 17:44     ` JPT
  0 siblings, 1 reply; 5+ messages in thread
From: JPT @ 2023-10-23 13:18 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Media Subsystem, Linux Kernel Mailing List
  Cc: Antti Palosaari, Mauro Carvalho Chehab, Gon Solo

Hi,

Am 22.10.23 um 12:08 schrieb Bagas Sanjaya:
 > 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.

> On Sun, Oct 22, 2023 at 09:57:07AM +0200, JPT wrote:
>> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: si2157 not working at all?
  2023-10-23 13:18   ` JPT
@ 2023-10-23 17:44     ` JPT
  2023-10-25  0:26       ` Bagas Sanjaya
  0 siblings, 1 reply; 5+ messages in thread
From: JPT @ 2023-10-23 17:44 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Media Subsystem, Linux Kernel Mailing List
  Cc: Antti Palosaari, Mauro Carvalho Chehab, Gon Solo

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:
> Hi,
>
> Am 22.10.23 um 12:08 schrieb Bagas Sanjaya:
>  > 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.
>
>> On Sun, Oct 22, 2023 at 09:57:07AM +0200, JPT wrote:
>>> 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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: si2157 not working at all?
  2023-10-23 17:44     ` JPT
@ 2023-10-25  0:26       ` Bagas Sanjaya
       [not found]         ` <CANL0fFQMiubX3saR7fmQvYjKqDVCbDNTwyzj1_-aiN6HSB-hwg@mail.gmail.com>
  0 siblings, 1 reply; 5+ messages in thread
From: Bagas Sanjaya @ 2023-10-25  0:26 UTC (permalink / raw)
  To: JPT, Linux Media Subsystem, Linux Kernel Mailing List
  Cc: Antti Palosaari, Mauro Carvalho Chehab, Gon Solo, Hans Verkuil,
	Uwe Kleine-König

[-- Attachment #1: Type: text/plain, Size: 983 bytes --]

On Mon, Oct 23, 2023 at 07:44:28PM +0200, JPT wrote:
> 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

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...

-- 
An old man doll... just what I always wanted! - Clara

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: si2157 not working at all?
       [not found]         ` <CANL0fFQMiubX3saR7fmQvYjKqDVCbDNTwyzj1_-aiN6HSB-hwg@mail.gmail.com>
@ 2023-10-25 12:37           ` JPT
  0 siblings, 0 replies; 5+ messages in thread
From: JPT @ 2023-10-25 12:37 UTC (permalink / raw)
  To: Gonsolo, Bagas Sanjaya
  Cc: Linux Media Subsystem, Linux Kernel Mailing List, Antti Palosaari,
	Mauro Carvalho Chehab, Hans Verkuil, Uwe Kleine-König


[TerraTec Cinergy TC2]
> > 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");
---
 >                        "firmware upload does not work, using firmware
already installed\n");

thank you very much

Jan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-10-25 12:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <08125fef-3cb4-4f01-975c-d7c409153c4a@gmx.net>
2023-10-22 10:08 ` si2157 not working at all? Bagas Sanjaya
2023-10-23 13:18   ` JPT
2023-10-23 17:44     ` JPT
2023-10-25  0:26       ` Bagas Sanjaya
     [not found]         ` <CANL0fFQMiubX3saR7fmQvYjKqDVCbDNTwyzj1_-aiN6HSB-hwg@mail.gmail.com>
2023-10-25 12:37           ` JPT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox