Hi,
vdr: no primary device found - using first device!
Is only a status message, no real error.
Thank you for your answer
I tried to do a frequencies scan too with w_scan
But same type of result:
main:4004: FATAL: ***** NO USEABLE TERRESTRIAL CARD FOUND. *****
I didn't add plugins as inside the container,
ls -la /dev/dvb/adapter0
returns some nobody/nogroup
total 0
drwxr-xr-x 2 nobody nogroup 120 May 16 19:25 .
drwxr-xr-x 3 root root 60 May 16 20:36 …
crw-rw----+ 1 nobody nogroup 212, 0 May 16 19:25 demux0
crw-rw----+ 1 nobody nogroup 212, 1 May 16 19:25 dvr0
crw-rw----+ 1 nobody nogroup 212, 3 May 16 19:25 frontend0
crw-rw----+ 1 nobody nogroup 212, 2 May 16 19:25 net0
I was guessing this as to be solved before right?
Was is the the best way (or the only one?) to do the usb dvb adapter passthrough with an unprivileged lxc container?
Does it involve the "video" group (guid 44)?
You can try to use vdr with the dynamite-Plugin (the vdr has to be patched for this plugin, which simulates all tuners are present and mounts a tuner into the slot, if it is found) , then no tuner is needed for starting VDR. Or you can test with the iptv-Plugin (you should add a working channels.conf). Then you'll if VDR starts.
Do you have started a frontend-plugin? This is necessary. Streamdev-Server and the live-plugin will work.
I don't find the dynamite-Plugin in my distribution repos, but I added two pluggins I have on my non lxc test computer where vdr was already working:
- vdr-plugin-streamdev-server
vdradmin-am
But no difference.
Forcreal help, we need a syslog from the system and VDR start.
here are the log:
VDR version 2.4.1 started
codeset is 'UTF-8' - known
found 28 locales in /usr/share/locale
loading plugin: /usr/lib/vdr/plugins/libvdr-streamdev-server.so.2.4.1
loading /var/lib/vdr/sources.conf
loading /var/lib/vdr/diseqc.conf
loading /var/lib/vdr/scr.conf
loading /var/lib/vdr/channels.conf
loading /var/lib/vdr/commands.conf
loading /var/lib/vdr/reccmds.conf
loading /var/lib/vdr/svdrphosts.conf
loading /var/lib/vdr/keymacros.conf
registered source parameters for 'A - ATSC'
registered source parameters for 'C - DVB-C'
registered source parameters for 'S - DVB-S'
registered source parameters for 'T - DVB-T'
epg data reader thread started (pid=829, tid=831, prio=high)
video directory scanner thread started (pid=829, tid=830, prio=low)
reading EPG data from /var/cache/vdr/epg.data
detected /dev/dvb/adapter0/frontend0
video directory scanner thread ended (pid=829, tid=830)
epg data reader thread ended (pid=829, tid=831)
ERROR (dvbdevice.c,1889): /dev/dvb/adapter0/frontend0: Permission denied
no DVB device found
initializing plugin: streamdev-server (0.6.1-git): VDR Streaming Server
ERROR: invalid primary device number: 1
ERROR: no primary device found - using first device!
ERROR: invalid primary device number: 1
ERROR (tools.c,1745): /var/cache/vdr/epg.data.$$$: Permission denied
ERROR (epg.c,1277): Permission denied
deleting plugin: streamdev-server
max. latency time 0 seconds
exiting, exit code 2
Alles anzeigen
It seems to be this permission error with /dev/dvb/adapter0/frontend0
I'm trying to map the video group but when I do:
lxc.idmap = u 0 100000 65535
lxc.idmap = g 0 100000 44
lxc.idmap = g 44 44 1
lxc.idmap = g 45 100045 65490
the container doesn't start anymore.
Is it because I’m trying to get my containers having different idmap rules?
Should I use the security.idmap.isolated=true variable somehow?