DVB-T2 tuner for Omnia


#16

Now I am little bit confused…

You mean, as possible workaround to DVB-T2 tuner for Omnia ? Any chance you have some link for Omnia/Turris-compatible package for us to use?


#17

I am unsure. At ubuntu you call:

sudo apt-add-repository ppa:strukturag/libde265
sudo apt-get update
sudo apt-get install vlc-plugin-libde265

and you are done

at other distros
sudo apt-get install gstreamer0.10-libde265
sudo apt-get install gstreamer1.0-libde265


#18

I think there is less complicated way without any waiting for spring. If you want to use rpi2 as player (imho not a good idea, no hw support for h265 and no enough performance for sw decoding), then rpi2 will be placed by the tv and connected through HDMI. You have access to antenna cable there as well - maybe unlike the place where the Omnia is now.
In this case you can plug USB DVB-T2 dongle(s) into rpi2 and install LibreELEC which already contains drivers for many DVB-T(2) tunners. LibreELEC uses tvheadend as backgroud service for streaming and Kodi as media player capable of playing HTSP.
You can of course access tvheadend from any device in your network like tablets, mobile phones etc.


#19

Lack of HW resources is the reason, why I dont consider Rpi2 as server… Havent tested it, but I test some h265 files, and playback wasnt much good (LibreELEC). Thats why I have idea about Omnia taking care of server part. And also, because its more stable than Rpi (which is autorestarted many times, because bugs on youtube plugin etc.).

Fortunatelly Omnia is in the box with Antenna splits etc. on the hallway, so I hope it will take care TV signal, when DVB-T1 will be abandoned :slight_smile:

EDIT: Just read “HEVC codec support is irrelevant since there is no video processing in the router.”. Ah, I see. I was hoping in some kind of (TVHeadend) transcoding there. Well, lets see. Maybe, until DVBT1 will be abandoned, guys do some hw support for h265 as well :sweat:

Rpi2 is so far the best solution for TV from my point of view (well, lets say viewing device, as I practically dont watch TV).


#20

You don’t need hw resources and performance on a server device. Tvheadend does nothing with streams, no h264/5 decoding. I am using rpi1 ! as a tvheadend server 24/7 a there is no problem with 5+ devices playing T2 streams concurrently from this “server”. CPU utilising is 20% for one T2 stream and 23% for 5 streams :wink:
You need performance and resources for a media/stream player. Kodi (or other media player) does h264/5 decoding and that is why rpi2 is much better as a server and not so good as player (for the future), because it is lacking of hw h265 decoder.


#21

Lets see. I sucessfully configured AverMedia Volar (A815) DVB-T1 on Omnia, to get in touch with TVHeadend. So far I am quite impressed, it looks very handy. Hope the USB dongle could be somehow turned off, when its not used, because the chip seems to be very hot.

I hope the drivers will be just fine for the DVB-T2 dongle, I will wait for the HEVC support. Cross fingers!

Edit: Power save works fine for A815. If someone will need this specific dongle in future:

wget http://palosaari.fi/linux/v4l-dvb/firmware/af9015/4.95.0.0/dvb-usb-af9015.fw 
mv dvb-usb-af9015.fw /lib/firmware/
opkg install kmod-dvb-core
opkg install kmod-dvb-usb-v2
opkg install kmod-dvb-usb-af9015
opkg install kmod-media-tuner-mxl5005s
opkg install tvheadend
mkdir /etc/tvheadend
touch /etc/tvheadend/superuser

#22

I’m still trying to set up mythtv backend on the Omnia. Since I have trouble getting full support for my DVB-T2 stick (AstroTek/Panasonic MN88473), I’m looking for recommendations for a stick that works reliably with the Omnia so I can concentrate on the software side of things first.

So, does anybody use their Omnia for terrestrial TV reception and has a stick they can confirm works reliably? This would be for german TV in case it makes any difference.

Thanks in advance!


#23

duplicite to https://forum.turris.cz/t/dvb-t2-tuner-for-omnia/

Personally, I bought that one, and now waiting for T2 support in Omnia.


#24

Sorry for missing the original thread – and thanks to whoever moved my post here!

That’s exactly the stick I have. With a self-compiled driver the Omnia recognises it okay. However, w_scan only finds about half the available channels in my area. That’s why I was looking for a stick that’s supported out of the box.


#25

According this is T2 support in kernel from 4.6. So hopefully some day on Omnia.

According this / this is needed demodulator driver, you can try 88472 / 88473 firmware meanwhile.

My experience from previous stick is that best result are with firmare, which is dumped from the exact Win drivers with your specific revision. Maybe you will have luck with some version from that page.

I see some older posts about linux patches… Personally, I hope that kernel 4.6 will include all needed for this stick.

For me on 3.9.1 is

[1596631.655438] usbcore: registered new interface driver dvb_usb_rtl28xxu
[1597653.500602] usb 4-1: new high-speed USB device number 2 using xhci-hcd
[1597653.657349] usb 4-1: dvb_usb_v2: found a 'Astrometa DVB-T2' in warm state
[1597653.728655] usb 4-1: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
[1597653.728760] DVB: registering new adapter (Astrometa DVB-T2)
[1597653.735104] i2c i2c-9: Added multiplexed i2c bus 10
[1597653.735115] rtl2832 9-0010: Realtek RTL2832 successfully attached
[1597653.735409] usb 4-1: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
[1597653.735481] r820t 10-003a: creating new instance
[1597653.746916] r820t 10-003a: Rafael Micro r820t successfully identified
[1597653.753432] Registered IR keymap rc-empty
[1597653.753607] input: Astrometa DVB-T2 as /devices/platform/soc/soc:internal-regs/f10f8000.usb3/usb4/4-1/rc/rc0/input0
[1597653.753615] rc0: Astrometa DVB-T2 as /devices/platform/soc/soc:internal-regs/f10f8000.usb3/usb4/4-1/rc/rc0
[1597653.757979] usb 4-1: dvb_usb_v2: schedule remote query interval to 200 msecs
[1597653.769834] usb 4-1: dvb_usb_v2: 'Astrometa DVB-T2' successfully initialized and connected

but I am really not sure about T2 in tvheadend - I dont see any message regarding 8847x, and I think tvheadend doesnt have T2 support in Turris 3.9.1 OS. DVB-T seems to work.


#26

Thank you! I had found some of that information myself but some is new to me. With a self compiled kernel module, I do get DVB-T2 reception on the Omnia, it just doesn’t find all channels. In comparison, the same stick in a Raspberry Pi with a 4.9 kernel picks up all available channels.

I don’t know about the version in Omnia, but tvheadend does support DVB-T2 in principle. However, I’m planning to use mythtv – which, on the Omnia, detects no channels at all so far. That’s why I was looking for an alternative USB stick to narrow down the problem.


#27

My two cents. when MN88472/88473 is not detected, then whole dongle works only through RTL2832 which is DVB-T only.

Moreover there is some “newer” version of Astrometa T2 clone which looks like this. Beware of that, this one doesn’t work. Even as DVB-T only. They changed demodulator from Panasonc MN88473 to Sony CXD2837ER and RTL2832 is not even connected to the tuner (so the only way how to tune is through Sony demodulator only - which isn’t recognized behind the RTL chip. I mean generaly in Linux kernel, not just Turris).


#28

That’s certainly true. However, my Omnia detects the MN88473 just fine and, as I said, w_scan finds about half of the available channels while mythtv finds nothing at all.

I’m still open to suggestions for a stick that works with the Omnia out of the box. According to this table the PCTV nanostick T2 and the Geniatech T230 should work, but the former is ridiculously expensive and the latter seems to exist in many variations not all of which seem to be supported equally. Therefore it would be great to read of somebody’s personal experience.


#29

Did you have a spare time? /ie. did you need to solve this soon

If yes, I would wait for newer kernel. Maybe it will work as it should then. The Rpi results are promising in that way. Turris team wrote something about Spring 2018 regarding T2. Its not that far. And if it doesnt work even in newer Turris OS, you could compare Rpi vs Omnia differences, and find possible missing patch.

Although, you could share your compiled driver with us to test purposes :slight_smile:

I personally find out, that DVB-T2 situation on Linux is generally bad, as most of cheap sticks supports only Win and drivers for Linux seems little bit DIY, varied piece from piece.

I believe there is plenty of Omnia users, which would benefit from DVB-T2, and even in this situation I didnt see there a lot “This HW will work with that SW” use cases - propably because T2 isnt support out of box on Omnia yet.


#30

Depends on how you define “need”. I’ve lived without TV for almost a year now so I can probably cope a little longer. On the other hand, the prospect of getting it to work as a TV backend was one of the reasons I chose the Omnia when I was looking for a new router. So, basically, I have the time but I’m a bit impatient as well. :wink:

I (kind of) offered to share it here but didn’t receive any feedback so I assumed there was no interest. I can upload my version in that thread if you like, just let me know.


#31

Understand :slight_smile:

Yes, if you dont mind, please post module/fw, I can try it on my DVB dongle, and post results here. I just not sure, If I can scan T2 from my version of TVHeadend.


#32

Uploaded/linked in other thread.


#33

Does anyone know if MyGica T230 (not T230C) is supported in Omnia? I’ve just bought it since it should be working on Linux, but I cannot get it to work, looks like it’s missing the firmware even though I see it should have been already added previously:

This is what I get when I connect the stick:

root@turris:~# dmesg
[1049712.894248] usb 4-1: new high-speed USB device number 7 using xhci-hcd
[1049713.034361] usb 4-1: config 1 interface 0 altsetting 0 bulk endpoint 0x86 has invalid maxpacket 188
[1049713.034694] usb 4-1: language id specifier not provided by device, defaulting to English

root@turris:~# lsusb
Bus 004 Device 007: ID 0572:c688 Conexant Systems (Rockwell), Inc.

Thanks.


#34

Hello,
in Czech section, I helped one guy to get working Geniatech T230 tuner, which is also known as MyGica T230.

TL;DR: Login to the SSH and run following commands:

opkg update
opkg install kmod-dvb-usb-cxusb kmod-media-tuner-si2157  kmod-dvb-si2168 

It’s also possible to install these packages via LuCI.


#35

Thanks! It’s working now.

For the record: I also downloaded following firmware files and put them in the /lib/firmware. I don’t know if it is required (I would suppose not), but without doing so, dmesg was complaining about missing firmware files. Anyway, I would recommend skipping it and only installing the recommended packages. I would think that these two files are actually what they contain.

dvb-demod-si2168-b40-01.fw
dvb-tuner-si2158-a20-01.fw

You can grab them here in the OpenElec repository.