Canadian TV, Computing and Home Theatre Forums banner
41 - 60 of 61 Posts

·
Registered
Joined
·
231 Posts
Discussion Starter · #41 · (Edited)
Trying to upgrade the system via pacman, but it dies on unresolved dependencies (related to the GUI), so I'll wait for your updated image. Now I have vague recollections of why I went back to Debian back in the day -- the upgrade process is more robust, in my experience.
 

·
Registered
Joined
·
5,142 Posts
hang tight... still playin here...
 

·
Registered
Joined
·
231 Posts
Discussion Starter · #44 ·
There is progress.
It does complete the boot process, there is no overscan and I am brought to a GUI.
The '5930 is seen, but the driver trips on firmware. See attached screenshot.

I suspect I just need to copy some files into the proper directories, so nothing major, but it is getting late. I will look into this tomorrow.

Computer Personal computer Font Terrestrial plant Screenshot
 

·
Registered
Joined
·
5,142 Posts
cool, I must have missed putting that there...
I have the correct fw file here if you need it...
If you already have it someplace, just copy it to /lib/firmware
here's the md5sum for the fw file I have here
Code:
md5sum dvb-usb-id5930.fw
34393fe6c7991e3a96dbfc1483f860f2  dvb-usb-id5930.fw
 

·
Registered
Joined
·
5,142 Posts
one more thing, in case u have the mpeg2 codec license for ur pi3b+.
Don't forget to put them in your config.txt.
This just allows ya to use omxplayer as a videoplayer using the built in Hardware gpu when playing mpeg2 based streams, like ATSC OTA TV for example.

Code:
################################################################################
##  Licensed Codecs
##
##  Hardware decoding of additional codecs can be enabled by purchasing a
##  license that is locked to the CPU serial number of your Raspberry Pi.
##
##  Up to 8 licenses per CODEC can be specified as a comma seperated list.
##
################################################################################

## decode_MPG2
##     License key to allow hardware MPEG-2 decoding.
##
#decode_MPG2=0x12345678

## decode_WVC1
##     License key to allow hardware VC-1 decoding.
##
#decode_WVC1=0x12345678
 

·
Registered
Joined
·
231 Posts
Discussion Starter · #47 ·
So after after a more hectic week-end than expected, I finally grabbed copies of the following files off my TVHE box:
(1) dvb-usb-id5930.fw
(2) dvb-demod-m88rs6060.fw
and I copied them onto the raspberrypi 3+, in /lib/firmware.
Reboot, and a 'dmesg' said it was a success -- the '5930 is recognised.
Though I am surprised that it only used dvb-usb-id5930.fw, as the official TBS Linux drivers make use of both files, one after the other.

Here's some copy-pasta illustrating this (the official TBS drivers on my TVHE box):

###start###
[ 207.343742] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in cold state, will try to load a firmware
[ 207.344262] dvb-usb: downloading firmware from file 'dvb-usb-id5930.fw'
[ 207.465827] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in warm state.
[ 207.466016] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 207.470051] dvbdev: DVB: registering new adapter (TurboSight TBS 5930 DVB-S/S2/S2x)
[ 207.478540] dvb-usb: MAC address reading failed.
[ 207.570229] m88rs6060 9-0069: downloading firmware from file 'dvb-demod-m88rs6060.fw'
[ 207.589912] dvb-usb: TurboSight TBS 5930 DVB-S/S2/S2x successfully initialized and connected.
[ 207.592372] dvb-usb: TurboSight TBS 5930 DVB-S/S2/S2x successfully deinitialized and disconnected.
[ 209.378924] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in cold state, will try to load a firmware
[ 209.378927] dvb-usb: downloading firmware from file 'dvb-usb-id5930.fw'
[ 209.501814] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in warm state.
[ 209.502041] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 209.502184] dvbdev: DVB: registering new adapter (TurboSight TBS 5930 DVB-S/S2/S2x)
[ 209.734921] dvb-usb: MAC address: 00:22:ab:c0:5f:4e
[ 209.819980] m88rs6060 9-0069: downloading firmware from file 'dvb-demod-m88rs6060.fw'
[ 211.430283] dvb-usb: TurboSight TBS 5930 DVB-S/S2/S2x successfully initialized and connected.
[email protected]:~$
###end###


As for what's happening on the raspberrypi, here it is:

###start###
[[email protected] ~]$ dmesg | grep dvb
[ 10.535529] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in cold state, will try to load a firmware
[ 10.627656] dvb-usb: downloading firmware from file 'dvb-usb-id5930.fw'
[ 10.793990] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in warm state.
[ 10.794248] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 10.795979] dvbdev: DVB: registering new adapter (TurboSight TBS 5930 DVB-S/S2/S2x)
[ 10.874989] dvb-usb: MAC address reading failed.
[ 10.887288] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 10.954048] dvbdev: dvb_create_media_entity: media entity 'TurboSight TBS 5930 DVB-S/S2/S2x' registered.
[ 10.955591] dvb-usb: TurboSight TBS 5930 DVB-S/S2/S2x successfully initialized and connected.
[ 11.018242] dvb-usb: TurboSight TBS 5930 DVB-S/S2/S2x successfully deinitialized and disconnected.
[ 12.824610] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in cold state, will try to load a firmware
[ 12.837291] dvb-usb: downloading firmware from file 'dvb-usb-id5930.fw'
[ 12.974003] dvb-usb: found a 'TurboSight TBS 5930 DVB-S/S2/S2x' in warm state.
[ 12.986855] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 13.000085] dvbdev: DVB: registering new adapter (TurboSight TBS 5930 DVB-S/S2/S2x)
[ 13.211539] dvb-usb: MAC address: 00:22:ab:c0:5f:4e
[ 13.223650] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
[ 13.349952] dvbdev: dvb_create_media_entity: media entity 'TurboSight TBS 5930 DVB-S/S2/S2x' registered.
[ 13.370531] dvb-usb: TurboSight TBS 5930 DVB-S/S2/S2x successfully initialized and connected.
[[email protected] ~]$
[[email protected] ~]$
[[email protected] ~]$
[[email protected] ~]$ lsusb
Bus 001 Device 004: ID 046d:c52e Logitech, Inc. MK260 Wireless Combo Receiver
Bus 001 Device 007: ID 734c:5930 TBS Technologies China TBS 5930
Bus 001 Device 006: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[[email protected] ~]$
[[email protected] ~]$
[[email protected] ~]$
###end###

So this is good news, or at least a very good start. Question now is how does it fare with TVHE on a pi3? Could it scan PBS Montana, for example?

...to be continued.
 

·
Registered
Joined
·
231 Posts
Discussion Starter · #48 ·
A series of family emergencies, friends that needed help and some bad timing has prevented from testing tvheadend with the '5930 on the raspberry pi since my last post. Hopefully, next week-end might be quieter (I hope I didn't jinx myself saying this) and I should be able to do these tests, especially trying to see if I can get Montana PBS to be scanned and viewed.

@majortom : what's the secret handshake to enable/disable the GUI on this distro? I think getting the Pi to boot in text mode if I choose to might make for a better TVHE experience.

I also received today (tuesday 7 sept.) the Sundtek SkyTV Dual 2x unit I ordered some time ago: despite the products' photos on the manufacturer's website, I was still stunned how small it can be. To get an idea of its diminutive size, imagine a naked DVBSky S960. Anyway, I hope to see how it behaves with Montana PBS, but also if it can be used with a Pi, or if it is x86 only.
 

·
Registered
Joined
·
6 Posts
If you have any question about the dual S2 USB device just let me know.
Again the installation:

Code:
sudo -s
cd /tmp
wget http://sundtek.de/media/sundtek_netinst.sh
chmod 777 sundtek_netinst.sh
./sundtek_netinst.sh
 

·
Registered
Joined
·
5,142 Posts
No secret handshakes.... Just plug it in and boot, boots right up....
 

·
Registered
Joined
·
231 Posts
Discussion Starter · #51 ·
I'm talking about booting the pi not in desktop GUI mode, as it is doing currently, but in simple ASCII console mode, to make it run just as a TVHeadEnd server. I would use another machine's browser to configure TVHE to make use of the '5930.

There must be a command to disable graphical boot mode, or to re-enable it later?
 

·
Registered
Joined
·
231 Posts
Discussion Starter · #52 ·
If you have any question about the dual S2 USB device just let me know.
Again the installation:

Code:
sudo -s
cd /tmp
wget http://sundtek.de/media/sundtek_netinst.sh
chmod 777 sundtek_netinst.sh
./sundtek_netinst.sh
Thanks for the reminder. I will test this ASAP (the week-end is getting closer!), am very curious to see how it deals with Montana PBS when used with TVHeadEnd.
 

·
Registered
Joined
·
5,142 Posts
Ahh I see. I just let mine boot up to GUI. But I actually use it headless as ur wanting to. Doesn’t hurt anything. Sync up ur ssh keys and ur in business.

but if ur really interested the arch Linux wiki is the place to go. I think if you asked any Linux beard they’ll alll admit They have the best documentation of all…
 

·
Registered
Joined
·
231 Posts
Discussion Starter · #54 ·
@sundtek: I should have asked earlier, but do the drivers work on a raspberry pi?

I know I could find out the hard way (i.e., try to install and see), but then again I could just ask beforehand and possibly save what's left of my hair.
 

·
Registered
Joined
·
6 Posts
@sundtek: I should have asked earlier, but do the drivers work on a raspberry pi?

I know I could find out the hard way (i.e., try to install and see), but then again I could just ask beforehand and possibly save what's left of my hair.
of course.

just for your information since another user recently stumbled over a raspberry PI 4 issue (that's the link to the solution):

rpi-update firmware

The RPI4 stores the USB Controller firmware on an eeprom (on older RPI4). Just be sure you're using the latest USB Controller firmware on it.
 

·
Registered
Joined
·
231 Posts
Discussion Starter · #56 ·
@sundtek: I'm using a pi3+ for these tests, not sure if I'll have a similar issue. We'll see.

The other machine that I'll be testing on runs Ubuntu x86 20.04LTS (that's my main TVHE box that combines OTA with FTA), if this is important for you to know.
 

·
Registered
Joined
·
6 Posts
@sundtek: I'm using a pi3+ for these tests, not sure if I'll have a similar issue. We'll see.

The other machine that I'll be testing on runs Ubuntu x86 20.04LTS (that's my main TVHE box that combines OTA with FTA), if this is important for you to know.
RPI3 doesn't need a USB Controller FW update.
 

·
Registered
Joined
·
231 Posts
Discussion Starter · #58 ·
Quick update, more to follow:

* tried tvheadend on the pi3+ and the '5930 to see how well it behaves. Tuning/signal lock is quick, even on Montana PBS! @majortom, you did fantastic work on those drivers, tuning Montana is quicker with the '5930 than with my Amiko STB.

* tried the Sundtek unit on my x86 TVHE box and after a reboot, the device(s) appeared in TVHE. It locks and tunes Montana PBS, so that works. Leaving this new tuner connected to my box until further notice.

To be continued.
 

·
Registered
Joined
·
5,142 Posts
Good deal. Really can't take any credit at all. We just merged the source code for it in to UDL's tree, and compiled it...
Performance depends primarily on what you have in the yard, then the TBS hardware and their driver.
 

·
Registered
Joined
·
231 Posts
Discussion Starter · #60 ·
Briefly:

I was actually surprised how well a lowly raspi3+ performed as a TVHE back-end. If I could find a dual input external ATSC tuner that can work with Linux, replacing my x86 box running Ubuntu (which has a pair of Hauppauge 1250 for OTA, one per antenna) with a pi4 4/8GB could be an option.

One of the things I noted was that the '5930 & pi3+ combo seemed to tune and switch channels quicker using VLC on my macbook (flipping between two .m3u files, Montana PBS & PBS East HD) than using the TVHE client for Kodi (running on a x86 HTPC). Using VLC, tuning to Montana PBS was near instantaneous . With a Kodi client, it took a few seconds before displaying.

I'd like to try the sundtek with the pi3+ next weekend to try to compare the two FTA tuners.

FYI, the display driver on that Arch/pi distro doesn't seem to like displays that are not 1080p.
 
41 - 60 of 61 Posts
Top