Hello,
I would know how, if it's possible, to use VDR without Xorg. I'm using a NanoPi M4 with a Debian like distribution, Armbian : https://www.armbian.com/nanopi-m4/ . I've tested with success MLD on a RaspberyPi 3, but I can't make all I want.
I would use only the console mode (not X) to reduce the memory consumption. If this not possible, I would have the main VDR's menu on X - I prefer Xfce4 because the less memory used.
Thanks in advance for you advices.
My configuration with too many things probably :
~# vdr --version
vdr (2.2.0/2.2.0) - The Video Disk Recorder
xineliboutput (2.0.0-cvs) - X11/xine-lib output plugin
epgsearch (1.0.1.beta5) - search the EPG for repeats and more
epgsearchonly (0.0.1) - Direct access to epgsearch's search menu
quickepgsearch (0.0.1) - Quick search for broadcasts
conflictcheckonly (0.0.1) - Direct access to epgsearch's conflict check menu
femon (2.2.1) - DVB Signal Information Monitor (OSD)
For VDR, this is the list of the packages :
vdr/stable,now 2.2.0-6+b1 arm64 [installé]
vdr-plugin-epgsearch/stable,now 1.0.1~beta6+git20150211-4+b1 arm64 [installé]
vdr-plugin-femon/stable,now 2.2.1-1 arm64 [installé]
vdr-plugin-xineliboutput/stable,now 1.1.0+cvs20150907-3+b2 arm64 [installé]
vdradmin-am/stable,stable,now 3.6.10-3 all [installé]
xineliboutput-fbfe/stable,now 1.1.0+cvs20150907-3+b2 arm64 [installé]
xineliboutput-sxfe/stable,now 1.1.0+cvs20150907-3+b2 arm64 [installé]
I've take the /etc/vdr/remote.conf file from my MLD box :
KBD.Up 00000000001B5B41
KBD.Down 00000000001B5B42
KBD.Menu 0000000000000020
KBD.Ok 000000000000000D
KBD.Back 000000000000007F
KBD.Back 000000000000001B
KBD.Left 00000000001B5B44
KBD.Left 000000001B5B357E
KBD.Right 00000000001B5B43
KBD.Right 000000001B5B367E
KBD.Red 000000001B5B5B41
KBD.Green 000000001B5B5B42
KBD.Yellow 000000001B5B5B43
KBD.Blue 000000001B5B5B44
KBD.0 0000000000000030
KBD.1 0000000000000031
KBD.2 0000000000000032
KBD.3 0000000000000033
KBD.4 0000000000000034
KBD.5 0000000000000035
KBD.6 0000000000000036
KBD.7 0000000000000037
KBD.8 0000000000000038
KBD.9 0000000000000039
KBD.Power 0000001B5B32347E
KBD.Volume+ 000000000000002B
KBD.Volume- 000000000000002D
KBD.Mute 0000001B5B32307E
KBD.User1 0000000000000071
KBD.User2 0000000000000077
KBD.User3 0000000000000065
KBD.User4 0000000000000072
KBD.User5 0000000000000074
KBD.User6 0000000000000079
KBD.User6 000000000000007A
KBD.User7 0000000000000075
KBD.User8 0000000000000069
KBD.User9 000000000000006F
LIRC.Up KEY_UP
LIRC.Down KEY_DOWN
LIRC.Menu KEY_MENU
LIRC.Ok KEY_OK
LIRC.Back KEY_ESC
LIRC.Left KEY_LEFT
LIRC.Right KEY_RIGHT
LIRC.Red KEY_RED
LIRC.Green KEY_GREEN
LIRC.Yellow KEY_YELLOW
LIRC.Blue KEY_BLUE
LIRC.0 KEY_0
LIRC.1 KEY_1
LIRC.2 KEY_2
LIRC.3 KEY_3
LIRC.4 KEY_4
LIRC.5 KEY_5
LIRC.6 KEY_6
LIRC.7 KEY_7
LIRC.8 KEY_8
LIRC.9 KEY_9
LIRC.Info KEY_INFO
LIRC.Play KEY_PLAY
LIRC.Pause KEY_PAUSE
LIRC.Stop KEY_STOP
LIRC.Record KEY_RECORD
LIRC.FastFwd KEY_FASTFORWARD
LIRC.FastRew KEY_REWIND
LIRC.Next KEY_NEXT
LIRC.Prev KEY_BACK
LIRC.Power KEY_POWER2
LIRC.Channel+ KEY_CHANNELUP
LIRC.Channel- KEY_CHANNELDOWN
LIRC.PrevChannel KEY_PREVIOUS
LIRC.Volume+ KEY_VOLUMEUP
LIRC.Volume- KEY_VOLUMEDOWN
LIRC.Mute KEY_MUTE
LIRC.Audio KEY_MODE
LIRC.Subtitles KEY_SUBTITLE
LIRC.Schedule KEY_EPG
LIRC.Channels KEY_CHANNEL
LIRC.Timers KEY_TIME
LIRC.Recordings KEY_PVR
LIRC.Setup KEY_SETUP
LIRC.Commands KEY_FAVORITES
LIRC.User0 KEY_TEXT
LIRC.User1 KEY_PROG1
LIRC.User2 KEY_PROG2
LIRC.User3 KEY_PROG3
LIRC.User4 KEY_PROG4
LIRC.User5 KEY_AUDIO
LIRC.User6 KEY_VIDEO
LIRC.User7 KEY_IMAGES
LIRC.User8 KEY_FN
LIRC.User9 KEY_SCREEN
VDR is working :
~# systemctl status vdr
● vdr.service - Video Disk Recorder
Loaded: loaded (/lib/systemd/system/vdr.service; enabled; vendor preset: enabled)
Drop-In: /etc/systemd/system/vdr.service.d
└─switch-tty.conf
Active: active (running) since Wed 2019-05-08 22:22:00 CEST; 13min ago
Process: 3888 ExecStartPre=/usr/bin/setterm --clear all --cursor off (code=exited, status=0/SUCCESS)
Process: 3882 ExecStartPre=/bin/chvt 8 (code=exited, status=0/SUCCESS)
Process: 3869 ExecStartPre=/bin/sh /usr/lib/vdr/merge-commands.sh reccmds (code=exited, status=0/SUCCESS)
Process: 3854 ExecStartPre=/bin/sh /usr/lib/vdr/merge-commands.sh commands (code=exited, status=0/SUCCESS)
Main PID: 3894 (vdr)
Status: "Ready"
Tasks: 10 (limit: 4915)
CGroup: /system.slice/vdr.service
└─3894 /usr/bin/vdr
mai 08 22:30:12 npi1 vdr[3894]: [3894] connect from 127.0.0.1, port 46476 - accepted
mai 08 22:30:13 npi1 vdr[3894]: [3894] closing SVDRP connection
mai 08 22:31:21 npi1 vdr[3894]: [3899] frontend 0/0 timed out while tuning to channel 1 (TF1), tp 514
mai 08 22:32:00 npi1 vdr[3894]: [4227] epg data writer thread started (pid=3894, tid=4227, prio=low)
mai 08 22:32:00 npi1 vdr[3894]: [4227] epg data writer thread ended (pid=3894, tid=4227)
mai 08 22:32:30 npi1 vdr[3894]: [3899] frontend 0/0 timed out while tuning to channel 1 (TF1), tp 514
mai 08 22:33:39 npi1 vdr[3894]: [3899] frontend 0/0 timed out while tuning to channel 1 (TF1), tp 514
mai 08 22:34:27 npi1 vdr[3894]: [3894] connect from 127.0.0.1, port 46478 - accepted
mai 08 22:34:27 npi1 vdr[3894]: [3894] closing SVDRP connection
mai 08 22:34:47 npi1 vdr[3894]: [3899] frontend 0/0 timed out while tuning to channel 1 (TF1), tp 514
The "vdradmin-am" plugin give me access to VDR. My DVD-B card, Sundtek MediaPro III, is active. And with "vdradmin-am" the channels displayed by "systemctl status vdr" can be changed.
This my /etc/default/vdr.conf
~# cat /etc/default/vdr
# /etc/default/vdr
#
# See also /usr/share/doc/vdr/README.Debian.gz
#
ENABLED=1
KEYB_TTY="/dev/tty8"
KEYB_TTY_SWITCH=1
ENABLE_SHUTDOWM=0
The file /usr/share/doc/vdr/README.Debian.gz propose to use /dev/tty8 as screen for VDR :
vdr for Debian
--------------
The following options can be configured in /etc/default/vdr.
KEYB_TTY="<CONSOLE>"
Default: "" (No console input)
Console for controlling VDR by keyboard (e.g. /dev/tty8). On startup VDR
will automatically switch to this console.
NOTE: This setting only works with the SysVinit-Script.
For systemd copy /usr/share/doc/vdr/examples/switch-tty.conf to
/etc/systemd/system/vdr.service.d/
e.g.:
sudo mkdir -p /etc/systemd/system/vdr.service.d/ && \
sudo cp /usr/share/doc/vdr/examples/switch-tty.conf /etc/systemd/system/vdr.service.d/ && \
sudo systemctl daemon-reload && \
sudo systemctl restart vdr
KEYB_TTY_SWITCH=<0|1>
Default: 0
Set this to 1, to make VDR switch to the console specified in KEYB_TTY
on startup.
NOTE: This setting only works with the SysVinit-Script.
See the note above for setting this up for systemd.
Following the README.gz :
~# cat /etc/systemd/system/vdr.service.d/switch-tty.conf
[Unit]
Conflicts=getty@tty8.service
[Service]
StandardInput=tty
TTYPath=/dev/tty8
ExecStartPre=/bin/chvt 8
ExecStartPre=/usr/bin/setterm --clear all --cursor off
The switch on /dev/tty8 is done, but no menu