Hi,
so sieht das Log aus:
Code
Oct 30 14:33:39 raspberrypi vdr: [2649] VDR version 2.0.4 started
Oct 30 14:33:39 raspberrypi vdr: [2649] switched to user 'pi'
Oct 30 14:33:39 raspberrypi vdr: [2649] codeset is 'ISO-8859-1' - known
Oct 30 14:33:39 raspberrypi vdr: [2649] found 28 locales in /usr/local/share/locale
Oct 30 14:33:39 raspberrypi vdr: [2649] loading plugin: /usr/local/lib/vdr/libvdr-rpihddevice.so.2.0.0
Oct 30 14:33:39 raspberrypi vdr: [2649] loading /var/lib/vdr/sources.conf
Oct 30 14:33:39 raspberrypi vdr: [2649] loading /var/lib/vdr/diseqc.conf
Oct 30 14:33:39 raspberrypi vdr: [2649] loading /var/lib/vdr/scr.conf
Oct 30 14:33:39 raspberrypi vdr: [2649] loading /var/lib/vdr/channels.conf
Oct 30 14:33:39 raspberrypi vdr: [2649] loading /var/lib/vdr/svdrphosts.conf
Oct 30 14:33:39 raspberrypi vdr: [2649] loading /var/lib/vdr/keymacros.conf
Oct 30 14:33:39 raspberrypi vdr: [2649] registered source parameters for 'A - ATSC'
Oct 30 14:33:39 raspberrypi vdr: [2649] registered source parameters for 'C - DVB-C'
Oct 30 14:33:39 raspberrypi vdr: [2649] registered source parameters for 'S - DVB-S'
Oct 30 14:33:39 raspberrypi vdr: [2649] registered source parameters for 'T - DVB-T'
Oct 30 14:33:39 raspberrypi vdr: [2649] no DVB device found
Oct 30 14:33:39 raspberrypi vdr: [2649] initializing plugin: rpihddevice (0.0.4): HD output device for Raspberry Pi
Oct 30 14:33:39 raspberrypi vdr: [2656] epg data reader thread started (pid=2649, tid=2656, prio=high)
Oct 30 14:33:39 raspberrypi vdr: [2656] reading EPG data from /var/cache/vdr/epg.data
Oct 30 14:33:39 raspberrypi vdr: [2656] epg data reader thread ended (pid=2649, tid=2656)
Oct 30 14:33:39 raspberrypi vdr: [2655] video directory scanner thread started (pid=2649, tid=2655, prio=high)
Oct 30 14:33:39 raspberrypi vdr: [2654] video directory scanner thread started (pid=2649, tid=2654, prio=high)
Oct 30 14:33:39 raspberrypi vdr: [2649] new device number 9
Oct 30 14:33:40 raspberrypi vdr: [2649] rpihddevice: started with 20 video and 16 audio buffers
Oct 30 14:33:40 raspberrypi vdr: [2649] setting primary device to 1
Oct 30 14:33:40 raspberrypi vdr: [2649] rpihddevice: new cOsdProvider()
Oct 30 14:33:40 raspberrypi vdr: [2649] rpihddevice: SetVolumeDevice(255)
Oct 30 14:33:40 raspberrypi vdr: [2649] assuming manual start of VDR
Oct 30 14:33:40 raspberrypi vdr: [2649] SVDRP listening on port 6419
Oct 30 14:33:40 raspberrypi vdr: [2649] setting current skin to "lcars"
Oct 30 14:33:40 raspberrypi vdr: [2649] loading /var/lib/vdr/themes/lcars-default.theme
Oct 30 14:33:40 raspberrypi vdr: [2649] starting plugin: rpihddevice
Oct 30 14:33:40 raspberrypi vdr: [2664] rpihddevice: cOvg() thread started
Oct 30 14:33:40 raspberrypi vdr: [2649] ERROR (lirc.c,45): /var/run/lirc/lircd: Datei oder Verzeichnis nicht gefunden
Oct 30 14:33:40 raspberrypi vdr: [2649] ERROR: remote control LIRC not ready!
Oct 30 14:33:40 raspberrypi vdr: [2649] remote control KBD - learning keys
Oct 30 14:33:40 raspberrypi vdr: [2665] KBD remote control thread started (pid=2649, tid=2665, prio=high)
Oct 30 14:33:40 raspberrypi vdr: [2665] cTimeMs: using monotonic clock (resolution is 1 ns)
Oct 30 14:33:41 raspberrypi vdr: [2655] video directory scanner thread ended (pid=2649, tid=2655)
Oct 30 14:33:41 raspberrypi vdr: [2654] video directory scanner thread ended (pid=2649, tid=2654)
Oct 30 14:33:47 raspberrypi vdr: [2649] new KBD code: 00000000010C0039 = Up
Oct 30 14:33:49 raspberrypi vdr: [2649] new KBD code: 00000000010D0039 = Down
Oct 30 14:33:50 raspberrypi vdr: [2649] new KBD code: 00000000006D0039 = Menu
Oct 30 14:33:51 raspberrypi vdr: [2649] new KBD code: 00000000000D0039 = Ok
Oct 30 14:33:51 raspberrypi vdr: [2649] new KBD code: 00000000007F0039 = Back
Oct 30 14:33:52 raspberrypi vdr: [2649] new KBD code: 00000000010E0039 = Left
Oct 30 14:33:52 raspberrypi vdr: [2649] new KBD code: 00000000010F0039 = Right
Oct 30 14:33:53 raspberrypi vdr: [2649] new KBD code: 0000000000720039 = Red
Oct 30 14:33:53 raspberrypi vdr: [2649] new KBD code: 0000000000670039 = Green
Oct 30 14:33:54 raspberrypi vdr: [2649] new KBD code: 0000000000790039 = Yellow
Oct 30 14:33:54 raspberrypi vdr: [2649] new KBD code: 0000000000620039 = Blue
Oct 30 14:33:55 raspberrypi vdr: [2649] new KBD code: 0000000000300039 = 0
Oct 30 14:33:55 raspberrypi vdr: [2649] new KBD code: 0000000000310039 = 1
Oct 30 14:33:56 raspberrypi vdr: [2649] new KBD code: 0000000000320039 = 2
Oct 30 14:33:56 raspberrypi vdr: [2649] new KBD code: 0000000000330039 = 3
Oct 30 14:33:56 raspberrypi vdr: [2649] new KBD code: 0000000000340039 = 4
Oct 30 14:33:57 raspberrypi vdr: [2649] new KBD code: 0000000000350039 = 5
Oct 30 14:33:57 raspberrypi vdr: [2649] new KBD code: 0000000000360039 = 6
Oct 30 14:33:57 raspberrypi vdr: [2649] new KBD code: 0000000000370039 = 7
Oct 30 14:33:57 raspberrypi vdr: [2649] new KBD code: 0000000000380039 = 8
Oct 30 14:33:58 raspberrypi vdr: [2649] new KBD code: 0000000000390039 = 9
Oct 30 14:33:59 raspberrypi vdr: [2649] new KBD code: 000000000000006D = Info
Alles anzeigen
Meine runvdr:
Bash
#!/bin/bash
# runvdr: Loads the DVB driver and runs VDR
#
# If VDR exits abnormally, the driver will be reloaded
# and VDR restarted.
#
# In order to actually use this script you need to implement
# the functions DriverLoaded(), LoadDriver() and UnloadDriver()
# and maybe adjust the VDRPRG and VDRCMD to your particular
# requirements.
#
# Since this script loads the DVB driver, it must be started
# as user 'root'. Add the option "-u username" to run VDR
# under the given user name.
#
# Any command line parameters will be passed on to the
# actual 'vdr' program.
#
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
# $Id: runvdr.template 2.2 2011/04/17 12:34:30 kls Exp $
export LANG=de_DE
export LC_COLLATE=de_DE
setterm -clear -cursor off > /dev/tty9; chvt 9;
VDRPRG="/usr/local/bin/vdr"
VDROPTIONS="-w 60 -t /dev/tty9 -u pi -c /var/lib/vdr -s /usr/local/bin/vdrpoweroff.sh"
# For other options see manpage vdr.1
VDRPLUGINS="-P rpihddevice < /dev/tty9; chvt 1 -P streamdev-client"
# You will need to select your output device plugin if you want
# to use VDR to watch video. For instance, for a "Full Featured"
# SD DVB card that would be
# VDRPLUGINS="-P dvbsddevice"
# For a "Full Featured" HD DVB card you could use
# VDRPLUGINS="-P dvbhddevice"
# There are also other output device plugins available, see
# http://www.vdr-wiki.de/wiki/index.php/Plugins.
VDRCMD="$VDRPRG $VDROPTIONS $VDRPLUGINS $*"
KILL="/usr/bin/killall -q -TERM"
# Detect whether the DVB driver is already loaded
# and return 0 if it *is* loaded, 1 if not:
function DriverLoaded()
{
return 1
}
# Load all DVB driver modules needed for your hardware:
function LoadDriver()
{
return 0
}
# Unload all DVB driver modules loaded in LoadDriver():
function UnloadDriver()
{
return 0
}
# Load driver if it hasn't been loaded already:
if ! DriverLoaded; then
LoadDriver
fi
while (true) do
eval "$VDRCMD"
if test $? -eq 0 -o $? -eq 2; then exit; fi
echo "`date` reloading DVB driver"
$KILL $VDRPRG
sleep 10
UnloadDriver
LoadDriver
echo "`date` restarting VDR"
done
Alles anzeigen
Mit diesem Stand wird die Tastatur vom VDR erkannt und ich kann Tasten anlernen. Möchte ich allerdings Tasten beim anlernen überspringen wird die bereits gelernte Taste als neue verwendet.
Auch wenn ich eine bereits konfigurierte remote.conf verwende kann ich den VDR nicht mit der Tastatur bedienen.