Unsolved Compile kernel modules for DVB devices
-
Hi all,
next I post a question I've posted too in the Batocera's Discord channel and nobody hasn't answer yet. So because both platforms are quite simmilar I hope anybody can help or guide me.
I want to make a multimedia center based on a mini-PC or laptop but adding DVB TV support for Kodi too.
I have both a TBS5520 multi-standard tuner and a cheap RTL based tuner. My thought is run NextPVR backend (I think I could be possible inside with .NET runtime).
But the big trouble is the device drivers. I read about compiling Batocera or Recalbox, how Buildroot works, etc, but I don't know how to do it nor I how to start it. It seems very difficult to do.
For TBS devices there's instructions to build and install in a Linux running system with several pre-requisites like libraries, kernel headers, ... (instructions for TBS here: https://github.com/tbsdtv/linux_media/wiki. In fact is the media_linux re-compilation for several DVB devices) but for a Buildroot system like Batocera or Recalbox I think the way is different.
I'd appreciate any help or guidance about my case.Thanks in advance.
-
This post is deleted! -
@olivernoah Thank you for your answer and for your encouragement. You are the only one has answered me and gave a path to resolve my problem. In Batocera forums I've not such luck.
By now I've got working the Realtek RTL2832 DVB device: I've noted that .ko files needed (included module dependencies) I use from another distro with upper kernel release are valid in an environment with a lower kernel release (6.x). In fact this should be fine for TBS device but althought I compile against the Batocera kernel release it cannot load the module due to several issues related with symbols and kernel versions I'll troubleshoot later.
With a problem solved next I do is run NextPVR backend. It does with an specific .NET runtime for Linux and it runs fine and can discover DVB devices but it lacks of many software dependencies like libraries and dtv-tables to fully work. These dependencies could be installed from pacman but it shouldn't be like this (documentation also points this) and it "floods" the entire system with files and libraries that could be not necessary.
I'm searching for more self-contained PVR backend solution.
Of course nothing of these could be possible without the overlay system.
I'm keeping look for ... I think the solution for Batocera will be the same for Recalbox.Regards.
-
This post is deleted! -