Project

General

Profile

DVB-C Adapter recognized as DVB-T

Added by Fresh Mike almost 4 years ago

Hi All,

https://tvheadend.org/issues/2711

I looked at this fixed bug, but my TVH still doesn't recognize the adapter as DVB-C.

Panasonic MN88473 (DVB-T)
RealTek RTL2832 (DVB-T)

I'm running a RPI
Linux pi-tvserver 4.1.6+ #810 PREEMPT Tue Aug 18 15:19:58 BST 2015 armv6l GNU/Linux
with TVH version HTS Tvheadend 4.1-415~geab75c2

Below the kernel output:
[ 13.665335] udevd159: starting version 175
[ 16.344285] usb 1-1.3: dvb_usb_v2: found a 'Astrometa DVB-T2' in warm state
[ 16.638246] usb 1-1.3: dvb_usb_v2: will pass the complete MPEG2 transport str eam to the software demuxer
[ 16.798917] DVB: registering new adapter (Astrometa DVB-T2)
[ 16.820996] cfg80211: Calling CRDA to update world regulatory domain
[ 16.974394] i2c i2c-3: Added multiplexed i2c bus 4
[ 17.042382] rtl2832 3-0010: Realtek RTL2832 successfully attached
[ 17.218567] mn88473: module is from the staging directory, the quality is unk nown, you have been warned.
[ 17.251799] mn88473 3-0018: Panasonic MN88473 successfully attached
[ 17.310408] usb 1-1.3: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[ 17.397323] usb 1-1.3: DVB: registering adapter 0 frontend 1 (Panasonic MN884 73)...

I'm building TVH with following commands:
git pull
make clean && ./configure --enable-libffmpeg_static && make
sudo make install

Thanks for any help!


Replies (16)

RE: DVB-C Adapter recognized as DVB-T - Added by Robin A. Jensen almost 4 years ago

Hey Fresh Mike.

I have the same problem with a Triplestick 292e on Raspberry 2 - Raspbian Wheezy.
I quit sure that there is an error somewhere in tvheadend and it for some reason, it either don't recognize dvb-c or is not providing dvc-b in the frontend or in GUI, with some of latest build or it might be something to do with the kernel.
I can get my stick to scan dvb-c and find service when manual run w_scan on Raspbian Wheezy.
Also i can have had the same stick running with tvheadend but on OSMC and there dvb-t and dvb-c shows as 2 adpaters.
So at this moment i think there is something missing between tvheadend and Raspbian / linuxkernel in some way. :(
I've posted this issue earlyer, but have not yet find some answer to the issue.
There is a log for my system differences.
[[https://tvheadend.org/boards/5/topics/17824?r=17846#message-17846]]

RE: DVB-C Adapter recognized as DVB-T - Added by Fresh Mike almost 4 years ago

I have compiled the latest source (HTS Tvheadend 4.1-509~gd2e0bdb) from git with
./configure --disable-libav
Unfortunately no luck

RE: DVB-C Adapter recognized as DVB-T - Added by Robin A. Jensen almost 4 years ago

Mike, at least you are one step closer than i am.
You got tvheadend to show 2 adapters. When i compiled latest version i ended up with only one dapter.
I'm not sure if it vil help, but have you tried to force a scan with ie. w_scan. Somewhere in here, there was a suggestion on start up the w_scan for a dvb-c scan and break/stop scan right after start, then it would leave the adapter at dvb-c band. I had no success with that suggestion, as the lack of 2 adapters shown.
I'll think it's kind of strange that we compile the same version and your's are showing 2 adapter and mine only 1. adapter. But of course mine stick is all in one, while you have 2 adapters.
I did also try with 4.0.6 and that did not to the trick.

RE: DVB-C Adapter recognized as DVB-T - Added by Fresh Mike almost 4 years ago

I think the kernel needs to be recompiled with a newer version of DVB API or so .. I'm on the latest TVH daily build and this hasn't been resolved in any of the versions.

RE: DVB-C Adapter recognized as DVB-T - Added by Robin A. Jensen almost 4 years ago

Hey Fresh Mike.

If that is the case, i can say that is must be with at least, the same version that's OSMC 08-2015 and Xbian are build with.
Both of those kernel's are providing DVB-T and DVB-C in TvHeadend.

The kernel version of xbian that i'm running for moment:
Linux version 4.1.8+ ([email protected]) (gcc version 4.9.1 (Ubuntu/Linaro 4.9.1-16ubuntu6) ) #55 SMP PREEMPT Wed Sep 30 01:20:43 CEST 2015

Also worked with this OSMC:
Linux version 4.1.5-1-osmc ([email protected]) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 SMP PREEMPT Wed Aug 19 18:37:30 UTC 2015

Hope it helps.
I'll reallly loved to know what's missing, so TvHeadend would be working on a Raspbian (Wheezy or Jessie).
:)

RE: DVB-C Adapter recognized as DVB-T - Added by Anders Gustafsson almost 4 years ago

"I have the same problem with a Triplestick 292e on Raspberry 2 - Raspbian Wheezy."

Had that problem with that adapter on 3.x, works in 4.x though

RE: DVB-C Adapter recognized as DVB-T - Added by Robin A. Jensen over 3 years ago

I've got i to work or sort of "got"...

Did a fresh Raspbian Jessie install and the problem was solved...
But haven't yet figured out what the differens is.
It's working and i'm happy. :D

RE: DVB-C Adapter recognized as DVB-T - Added by Fresh Mike over 3 years ago

I got it working finally ..

sudo dmesg -t | grep dvb

[ 31.201602] mn88473 4-0018: Direct firmware load for dvb-demod-mn88473-01.fw failed with error -2
[ 31.201653] mn88473 4-0018: firmare file 'dvb-demod-mn88473-01.fw' not found

cd /lib/firmware/
sudo wget http://palosaari.fi/linux/v4l-dvb/firmware/MN88473/01/latest/dvb-demod-mn88473-01.fw
sudo reboot

Checking:
$ sudo dmesg -t | grep dvb
usb 1-1.3: Product: dvbt2
usb 1-1.3: Manufacturer: astrometadvbt2
usb 1-1.3: dvb_usb_v2: found a 'Astrometa DVB-T2' in warm state
usb 1-1.3: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
usb 1-1.3: dvb_usb_v2: schedule remote query interval to 200 msecs
input: MCE IR Keyboard/Mouse (dvb_usb_rtl28xxu) as /devices/virtual/input/input1
rc rc0: lirc_dev: driver ir-lirc-codec (dvb_usb_rtl28xxu) registered at minor = 0
usb 1-1.3: dvb_usb_v2: 'Astrometa DVB-T2' successfully initialized and connected
usbcore: registered new interface driver dvb_usb_rtl28xxu

w_scan -fc -c PL > channels.conf

After starting up tvheadend now it sees that adapter that DVB-C.

RE: DVB-C Adapter recognized as DVB-T - Added by Robin A. Jensen almost 3 years ago

Now i know what whent wrong.

Wrong firmware or more precise: only the 1 half of the software was installed. The Triplestick 292e needs 2 firmware files to use DVB-C.
Otherwise it will only show DVB-T in TV-Headend.

[[http://palosaari.fi/linux/v4l-dvb/firmware/Si2168/]]

:)

RE: DVB-C Adapter recognized as DVB-T - Added by Anders Gustafsson almost 3 years ago

Not quite sure that I follow. I have a triplestick and only one firmware file. If you look at the source, it downloads just one, but can select from several, depending on actual chipset version.

RE: DVB-C Adapter recognized as DVB-T - Added by Robin A. Jensen almost 3 years ago

If you look at the link, at the bottom there is 2 firmware files: dvb-demod-si2168-01.fw + dvb-demod-si2168-02.fw
Both of them is needed to get DVB-T and DVB-C to work.
One of my Distros did only have dvb-demod-si2168-01.fw and then TV-Headend did't show DVB-C.
So both firmware file is needed. Took my quite some time to figure it out.
Apparently dvb-demod-si2168-01.fw is the DVB-T firmware and dvb-demod-si2168-02.fw is for the DVB-C.
;)

RE: DVB-C Adapter recognized as DVB-T - Added by Anders Gustafsson almost 3 years ago

Look at the source:

 25 #define SI2168_A20_FIRMWARE "dvb-demod-si2168-a20-01.fw" 
 26 #define SI2168_A30_FIRMWARE "dvb-demod-si2168-a30-01.fw" 
 27 #define SI2168_B40_FIRMWARE "dvb-demod-si2168-b40-01.fw" 
 28 #define SI2168_B40_FIRMWARE_FALLBACK "dvb-demod-si2168-02.fw" 

And the logs. Only one is loaded.

http://lxr.free-electrons.com/source/drivers/media/dvb-frontends/si2168_priv.h
http://lxr.free-electrons.com/source/drivers/media/dvb-frontends/si2168.c

RE: DVB-C Adapter recognized as DVB-T - Added by Robin A. Jensen almost 3 years ago

All i can say is: Whit only firmware-01 on the system i've got DVB-T and no DVB-C.
With only Firmware-02 did't work, so on my system i have both off them and TVHeadend recognize both DVB-T and DVB-C.
:)

RE: DVB-C Adapter recognized as DVB-T - Added by Anders Gustafsson almost 3 years ago

That fw is for the B40 version of the chip, only. What you want is the ones for a20, a30 or b40. It also depends on your kernel version:

tvburk:~ # dmesg |grep si2168
[ 9.382286] si2168 13-0064: Silicon Labs Si2168 successfully attached
[ 1298.506491] si2168 13-0064: found a 'Silicon Labs Si2168-B40'
[ 1298.531758] si2168 13-0064: downloading firmware from file 'dvb-demod-si2168-b40-01.fw'
[ 1299.241937] si2168 13-0064: firmware version: 4.0.11

Ie, the latest si2168.ko will select the appropriate version. Can you do a 'modinfo si2168' and post the output?

Here is the explanation from the developer:

_Difference is just naming. There is many different revisions of that chip and all uses different firmwares. I made driver first for Si2168-B40 chip version and named firmware as 'dvb-demod-si2168-02.fw'. Later Olli Salonen added support for those older chip versions (A20 and A30) and decided to (re)name firmwares 'dvb-demod-si2168-a20-01.fw', 'dvb-demod-si2168-a30-01.fw' and 'dvb-demod-si2168-b40-01.fw' as different firmware was needed for each chip version.

Driver still supports for 'dvb-demod-si2168-02.fw' as a fallback in order to avoid regression (it could be think as a regression if driver does not work after the kernel upgrade). If you install only old firmware 'dvb-demod-si2168-02.fw' driver will print notice to system log asking you to install new firmware 'dvb-demod-si2168-b40-01.fw', but it will still work.

There was also firmware named 'dvb-demod-si2168-01.fw', but it is not supported at all. It was initial firmware, but I discovered it was wrong before the first kernel release and replaced it with 'dvb-demod-si2168-02.fw' so that never went to release kernel.

Official firmwares that are supported are:
dvb-demod-si2168-a20-01.fw
dvb-demod-si2168-a30-01.fw
dvb-demod-si2168-b40-01.fw
and all the others are not needed nor should be used._

http://blog.palosaari.fi/2014/04/naked-hardware-15-pctv-triplestick-292e.html

RE: DVB-C Adapter recognized as DVB-T - Added by Martin Spoelstra 8 months ago

I had the identical issue withthe DVBSKY T980 T/T2/C PCIE card. MythTV on Kubuntu 18.04.1 fails to identify the DVB-C option. I did resolve this via the git repository https;//git.linuxtv.org//media_build.git/about. This git build by default creates the latest linux driver overview via building it on the platform. The linux driver list contains the si2168.c code which support T/T2/C. I interrupted the "build" script, commented/removed the T/T2 options in the si2168.c file, left the C option. Make/ install the resulted in the driver reporting the card as DVB-C with the required options, also with the dvb-demod-si2168-b40-01.fw driver.

    (1-16/16)