Sample Header Ad - 728x90

Installing Firmware and Driver for TV Tuner on Raspberry Pi OS (Pi 5)

0 votes
0 answers
147 views
I am not a total Linux noob, but I do have some knowledge gaps (particularly when it comes to drivers) and I'm kind of at a loss for how to proceed. I tried posting this to the Raspberry Pi forum, but was told I should post this question here. I have an old TV Tuner model Hauppauge WinTV-HVR-950 (not Hauppauge WinTV-HVR-950Q which supposedly has drivers included in the kernel). I was able to successfully configure it on my Raspberry Pi 4, but I'm now trying to set it up my new Raspberry Pi 5. When I set it up on the 4, I followed some guides, but I really didn't know what I was doing. Now, following what I think was the same guide, I have not been able to get it to work and I'm finding conflicting information about what exactly I'm supposed to do. Here is the best source of information I've been able to find on getting this TV Tuner to work in Linux: Hauppauge_WinTV-HVR-950 . So far, I've extracted the firmware from the Windows drivers (per the guide) and copied it to /lib/firmware:
cp xc3028-v27.fw /lib/firmware
I have also verified that the device is connected and detected using lsusb. The next section of the LinuxTV guide says: > Drivers > > Use a recent snapshot of LinuxTV's v4l-dvb drivers > > Both analog and ATSC digital reception are supported Read the above mentioned Firmware section for details on installing the proper firmware. That brings me to this website, LinuxTV : The instructions become very vague at this point and the documentation on that site completely overwhelming without any specific instructions about what to do. A Google search brings up this guide: How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers . The method described under "Retrieving and Building/Compiling the Latest media drivers Source Code" doesn't work because the only thing at git://linuxtv.org/media_build.git is a README file which says the project has been abandoned. I was able to successfully follow the instructions starting at "Retrieving from the upstream development Kernel tree" until I get to "Installing the Compiled Driver Modules" and running this command:
sudo make modules_install install
Which give the following output with an error about unsupported initramfs version (which means nothing to me):
INSTALL [a whole bunch of stuff] ... run-parts: executing /etc/kernel/postinst.d/initramfs-tools 6.14.0-rc1-v8-16k+ /boot/vmlinuz-6.14.0-rc1-v8-16k+
update-initramfs: Generating /boot/initrd.img-6.14.0-rc1-v8-16k+
ERROR: Unsupported initramfs version (6.14.0-rc1-v8-16k+)
run-parts: executing /etc/kernel/postinst.d/z50-raspi-firmware 6.14.0-rc1-v8-16k+ /boot/vmlinuz-6.14.0-rc1-v8-16k+
And this command:
sudo make install
Which gives a similar output, but without all the INSTALL messages, still with the error:
INSTALL /boot
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 6.14.0-rc1-v8-16k+ /boot/vmlinuz-6.14.0-rc1-v8-16k+
update-initramfs: Generating /boot/initrd.img-6.14.0-rc1-v8-16k+
ERROR: Unsupported initramfs version (6.14.0-rc1-v8-16k+)
run-parts: executing /etc/kernel/postinst.d/z50-raspi-firmware 6.14.0-rc1-v8-16k+ /boot/vmlinuz-6.14.0-rc1-v8-16k+
Someone suggested running this command to solve the initramfs error:
apt-get auto-remove && apt-get clean && apt-get update && apt-get upgrade
Which gives:
Removing [a couple of things] ... 
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
E: Unable to lock directory /var/cache/apt/archives/
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
I'm really not sure what this command what meant to accomplish, but it doesn't solve the problem as I still get the same errors when running sudo make install. Now I'm totally stuck and have no idea how to proceed. In sum here is the process and what I've done as I understand it. - Extract firmware from windows driver - Install firmware to Raspberry Pi - Compile LinuxTV's v4l-dvb drivers - Install LinuxTV's v4l-dvb drivers (errors) Any help? Am I at least understanding the process and steps correctly? Some final notes. I've been able to gather that some other DVR/DVB/Media Center applications such as OSMC do not have drivers yet for Raspberry Pi 5, which may be a factor here, but I'm not sure. I've also considered trying to pull the driver from the Pi 4, but I wouldn't know where to look and also I expect that it wouldn't work given that it is on a much older kernel version, but again I'm not very knowledgeable about how drivers work in Linux. I also have a MyGica A681B USB TV tuner that works on Windows. It claims to have a Linux driver, but the instructions provided are not very clear and I've never seen a case of someone actually getting it to work on Linux. I've followed the instructions here: and installed the driver here: , but I have never been able to get it to work. In this post: Someone suggests that it won't work since the driver provided is not "suitable for Debian ARMHF". Someone else suggests that it should be possible since "they're kernel drivers they should all be platform agnostic". Either way, the post ends without any resolution and I was never able to get it working on the Pi 4, so I don't have a lot of hope here, but I'm open to suggestions on that device as well.
Asked by imfm (15 rep)
Feb 25, 2025, 08:38 PM