Project

General

Profile

TvHeadend not showing Adapter, but is initialized in system

Added by Patrick Hess over 5 years ago

Hello everybody,

I can't find a solution for my problem, so I just ask for it:

Installation:
Proxmox VE 5.4-6 with a debian 9.0 container (Kernel 4.15.18-16-pve)

TvHeadend:
HTS Tvheadend 4.3-1792~g466a01431

DVB:
DVBSky S960 USB Adapter

Description:
I successfully mounted the /dev/dvb/adapter0 to my Debian container. Both systems response on "dmesg | grep DVB"

root@PH-CT-TvHeadend:/home/hess# dmesg | grep DVB
[ 7.287970] usb 3-1: dvb_usb_v2: found a 'DVBSky S960/S860' in warm state
[ 7.288089] dvbdev: DVB: registering new adapter (DVBSky S960/S860)
[ 7.479438] usb 3-1: DVB: registering adapter 0 frontend 0 (Montage Technology M88DS3103)...
[ 7.579995] rc rc0: DVBSky S960/S860 as /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/usb3/3-1/rc/rc0
[ 7.580027] input: DVBSky S960/S860 as /devices/pci0000:00/0000:00:1c.4/0000:07:00.0/usb3/3-1/rc/rc0/input12
[ 7.580066] usb 3-1: dvb_usb_v2: 'DVBSky S960/S860' successfully initialized and connected

BUT I can't see the adapter in TvHeadend under "Configuration -> DVB Inputs -> TV Adapters

Informations:
If I use a virtual machine instead of the container with exactly the same TvHeadend Version, everything is working.
Expect of some continouity errors (That's the reason I want to try the container)

The only difference between the VM and the Container is, that I must compile v4l driver on VM. I tried this on host of Proxmox,
but I get some errors, wich need some linux-header files... On VM I just installed them with apt install linux-headers-$(uname -r),
but on Proxmox host, there is only a package "pve-headers" available wich I successfully installed. But there are still errors left,
wich need some libs from the linux-headrs:

Makefile:976: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /home/hess/media_build/v4l/cec-edid.o

A little search on google says, that these libs are included in the linux-header files, wich seems not available for proxmox?!

Maybe it's not possible for TVHeadend to see the adapter, because I can't compile the v4l drivers? But whhy does dmesg show everything is succeessfully initialized?

I'm a little bit confused about this issue...

I'm not new to linux systems, but I'm not a professian... Still learning... So please be patient with me, if i need some steps explained on how to fix this problem.


Replies (1)

RE: TvHeadend not showing Adapter, but is initialized in system - Added by Patrick Hess over 5 years ago

Ok guy's I got it! I'm not new to linux, but new to LXC containers!

Proxmox automatically creates unprivileged containers... using a privileged one fixed this issue for me!

    (1-1/1)