UK Live TV HD problem with Hauppauge Dual-TV tuner on Pi 5

Server Version#: 1.41.2.9200
Player Version#: Various - Roku, Firestick

I am trying to run Plex Media server on a Pi 5 using a Hauppauge USB WinTV-dualHD tuner to watch and record UK live TV. It seems that Plex will only find SD DVB-T/T2 channels in the UK and not the main HD channels. Specifically it will not tune the PSB3 Mux showing the main BBC and ITV channels in HD. After much testing with different hardware and software combinations it seems that Linux does not have the correct drivers installed unless using kernel 5.19 or a close version thereof. Using the Hauppauge PPA in Ubuntu 24.04 does not work. Neither does loading the drivers to /lib/firmware on PI OS (Bookworm). I have got this to work correctly on an old x86/64 PC with Ubuntu 20.04 with an old Kernel. All expected HD channels are picked up. It also works correctly on a modern Ryzen 5 PC running Windows 10. For the Ubunutu install I have tried the solutions for Linux suggested on the TV tuner install on Ubuntu with Hauppauge web page - " TV tuner install on Ubuntu with PPA" . This fails as the mediatree insatllation gives an error message that seems to relate to the kernel being too new. And for the Pi 5 install I have loaded the si2168 driver into the /lib/firware directory. As per : Hauppauge Support | Running WinTV TV tuners and HD PVR 2 under Linux.
No error messages with the Pi, but again no PSB3 / BBCB mux. Does anyone have any solution / drivers to work with either Pi 5 OS or Ubuntu 24.04 on the Pi 5? I can’t run an older version of Ubuntu on the Pi 5 as only 24.04 and 24.10 are supported on the Pi 5.

Hi.
I’m in the UK and had a similar problem, I might be able to point you in the right direction. I have PMS running on Ubuntu 22.04.4 on a intel N100, also with a Hauppauge USB WinTV-dualHD tuner.
I discovered that a patch is applied to si2168 to make it autodetect DVB-T2. Without this I only got DVB-T MUXs and SD channels when using PLEX.

The patch is applied when you follow the Hauppauge PPA instructions, but only for specific Linux distros. I can only see raspi_5.19 included which explains why that works.

Look in (Ubuntu-media-tree-kernel-builder/patches at master · b-rad-NDi/Ubuntu-media-tree-kernel-builder · GitHub) for the list of distros.

The patch is https://github.com/b-rad-NDi/Ubuntu-media-tree-kernel-builder/blob/master/patches/mainline-extra/tip/10.random.patches/0001-si2168-Change-from-DVB-T-to-DVB-T-T2-autodetect.patch

I ended up building my own kernal applying all the Hauppauge patches manually and got it working.

Hope that helps.

Hi -
I don’t really follow some of your response. I see all the lines of code in the links you have posted but I do not know what to do with them. They seem to be for Ubuntu and while I don’t mind if I run Ubuntu or Pi OS, I can’t get either to work.
I know I tried Ubuntu 22.04 on an AMD x86/64 and the media tree installation failed.
I can’t install 20.04 or 22.04 on the Pi 5 - they won’t install.
I’m really trying to get this running on the Pi 5 with PI OS (Raspian as was) so the below is what I tried :

Instructions from Hauppauge :

Firmware install instructions for the WinTV-dualHD and WinTV-soloHD (European or Australia/New Zealand DVB)

Move to the tmp directory

$ cd /tmp

Download the SI2168 firmware version B40

wget https://www.hauppauge.com/linux/dvb-demod-si2168-b40-01.fw

Download the SI2168 firmware version D60

wget https://github.com/LibreELEC/dvb-firmware/raw/master/firmware/dvb-demod-si2168-d60-01.fw

verify first couple and last couple chars match b267…8f6e

md5sum dvb-demod-si2168-b40-01.fw

copy the firmware to the /lib/firmware directory

sudo cp dvb-demod-si2168-b40-01.fw /lib/firmware
sudo cp dvb-demod-si2168-d60-01.fw /lib/firmware

Is there a better 2168.fw file that I can download and copy to the /lib/firmware directory and get the DVB-T2 Mux to work?

Regards

I saw your post and thought I would share my experience. As stated not exactly the same HW and OS but same PLEX and Tuner.

The first link shows what versions I think the Hauppauge PPA script has been designed for. Looks like they stopped support at kernel version 5.19, that’s why you get the “kernel too new” warning for Ubuntu 22.04 as that uses Kernel 6.5. Thats something for Hauppauge to sort out.

If your problem is the same then it’s the kernel patch that will fix it, but if the PPA script cant be used you have to apply the patch manually and build the kernel.

The second link is the patch file the PPA script tries to use.

I don’t think the Si2168 firmware is the issue as you are getting SD DVB-T, it is the kernel drivers for si2168 that need to be modified. The patch modifies the si2168 kernel driver source code to autodetect DVB-T2, this then has to be compiled and built into a new kernel.

@bridg647 I have a similar problem with the Raspberry Pi TV Hat. If I fire up TVHeadEnd I can detect the HD channels without issue. But, PLEX does not find any of them as far as I can tell.

Are we sure this is a driver issue?

I was previously using TVHeadEnd as a DVR, but decided to try and do this within Plex as this interface is better.

Driver - as in link between the OS and a device? Yes, probably, as in some OS’s work and some don’t. Firmware is low level code running on a device. Do Hauppauge dvb-t2 tuners need a firmware update to receive UK HD under Linux 6 kernels- is that even possible? Unlikely.
So I have paid ÂŁ70 for a Hauppauge tuner that is advertised as working with Raspberry Pi, but cannot access HD channels using Plex with a Pi 5 in the UK where we use dvb-t2. I have been in email discussion with Hauppauge re this, but they have stopped responding once it got beyond following links on their webpages Plex, who I took out a paid subscription to Plex Pass with, to use DVR functionally do not offer technical support.
Oh and please don’t suggest using an Hdhomerun tuner - sounds good, even in the UK. But they are not available to buy & They won’t respond to email requests or a tweet.
Not happy.

1 Like

If you look at the comment in the patch describing what it’s doing I think it may shed some light on the issue.

“DVB-T2 support can be a bit lacking in user land, this provides a module
parameter to allow setting the PLP to auto detect DVB-T and DVB-T2
signals after tuning. If a DVB-T2 signal is found the signal is
processed as DVB-T2, otherwise it is left as DVB-T. The detected
signal type is taken into account when reading status.”

So I think the patch is required for “PLEX” as its “lacking” DVB-T2 Support. The patch works by trying to tune DVB-T2 first and then DVB-T for all frequencies, so it will always find a T2 MuX.

So why does “tvheadend” work ? I also found this didn’t require the patch. I think tvheadend does support DVB-T2 and sends the correct information to the driver.

This is just my guess work as I do not understand all the code.

Looks like 3 options with PI5, Hauppauge and PLEX.

  1. Install the patch.
  2. Use Tvheadend and xTeVe to send PLEX the HD Channels.
  3. Ask PLEX nicely to look at the issue and see if they can make PLEX do what tvheadend is doing and support DVB-T2 *.
  • Plex is developed in the US which uses the ATSC standard and not the DVB-T/T2 European standard so could be difficult to get support, especially given Hauppauge patched the issue on the driver side (for some Linux distributions).
1 Like

Chippy100 - Thanks for all your responses. I think your 3 options make a great deal of sense but options 1. & 2. are beyond me - I just wanted to install Plex and have a system that works. Option 3. should be the route - their software do not do the job. I also understand that a Plex Pass that is required for recording so this software is not really free. However Plex do not offer any technical support that I can see so I can’t “Ask Plex nicely”.
I’m just going to give up on the Pi 5 route. I’ll either have to spend some money on an X86 machine to run old Ubuntu (20.04) or Windows or give up totally and RMA the Hauppauge tuner back to Amazon as not working as advertised.

1 Like

I’ve just set my 2 Hauppauge WinTV Duo USB devices back up after moving to a new property and after Google’ing and Reddit I’m surprised this issue hasn’t been dealt with.
I wonder if @ChuckPa can shed some light on it? unless I’ve missed something then my appologies. I’ve done my tests thinking it was the TV antenna at first, but I was surprised to see here in the UK that Plex isn’t seeing the HD channels, but other applications are.
I’ve set the DVR back up for my kids, and my partner, but really narked that even with the Patch etc for the USB devices, I’m only able to see the SD channels which isn’t exactly what I wanted.

So, could anyone in Plex Dev or employee land finally give us the answer to why this bug hasn’t been fixed yet? Regression? or something else?

Dave

1 Like

Yes - I’ve just managed to get TVHeadend working with the Hauppauge tuner on my Pi 5 and it does pick up the HD channels on my local BBC B Mux. I did have to fiddle around with the Mux setup and set the delivery system to DVB-T2, just for that Mux. I can’t get the EPG to work with the HD channels, but this proves that the HD issue is with Plex.
I still don’t know how to get Plex to link to TVHeadend - I don’t understand the various GitHub patches etc.
Richard

1 Like

[quote=“bridg647, post:10, topic:895945, full:true”]
I’ve managed to get TVHeadend working with the Hauppauge tuner on my Pi 5 and it does pick up the HD channels on my local BBC B Mux. I still don’t know how to get Plex to link to TVHeadend[/quote]

TVHeadEnd is where I started from, and the reason I switched back to giving Plex another go as my PVR.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.