Hallo zusammen,
ich schlage mich seit Tagen mit dem Einrichten der Fernbedienung herum. Es ist eine HAMA MCE Remote. Ich bin nun soweit, dass irw (fast) alle Tasten erkennt. Nach dem reboot reagiert der VDR überhaupt nicht auf die Fernbedienung. Erst wenn ich übers Webfrontend das VDR Backend neu starte werden die Tasten erkannt. Es scheint also nicht an der lirc Konfig zu liegen.
Im log sehe ich folgendes:
Code
Sep 20 22:11:21 ubuntu vdr: [850] ERROR: /dev/lircd: No such file or directory
Sep 20 22:11:21 ubuntu vdr: [850] ERROR: remote control XineRemote not ready!
Sep 20 22:11:21 ubuntu vdr: [850] ERROR: remote control LIRC not ready!
und später erst
Code
Sep 20 22:11:23 ubuntu lircd-0.8.6[1273]: lircd(devinput) ready, using /dev/lircd1
Sep 20 22:11:23 ubuntu lircd-0.8.6[1275]: lircd(devinput) ready, using /dev/lircd
Sep 20 22:11:23 ubuntu lircd-0.8.6[1273]: accepted new client from 127.0.0.1
Sep 20 22:11:23 ubuntu lircd-0.8.6[1273]: initializing '/dev/input/by-id/usb-05a4_9881-event-kbd'
Sep 20 22:11:23 ubuntu lircd-0.8.6[1275]: connected to localhost
Ich habe folgendes verändert.
In /etc/rc.local:
eingefügt.
In /home/bernd/lircstart.sh:
Bash
#!/bin/sh
/etc/init.d/lirc stop
lircd --driver=dev/input --device=/dev/input/by-id/usb-05a4_9881-event-kbd --output=/dev/lircd1 --pidfile=/var/run/lircd1.pid --listen=9988
lircd --driver=dev/input --device=/dev/input/by-id/usb-05a4_9881-event-mouse --output=/dev/lircd --pidfile=/var/run/lircd.pid --connect=localhost:9988
Ausserdem folgende /etc/lirc/hardware.conf
Code
#################################################################################
## The following configuration file is generated automatically by the yaVDR
## system. Don't change this file as every update of yaVDR will overwrite
## the local changes. Instead put your required customizations
## into /etc/yavdr/templates_custom/ based on the original templates ## under /usr/share/yavdr/templates. ## ## http://www.vdr-wiki.de/wiki/index.php/YaVDR-FAQ#Templating.2FCustomizing # #
## #################################################################################
#Chosen Remote Control
REMOTE="linux-input-layer"
REMOTE_MODULES=""
REMOTE_DRIVER="devinput"
REMOTE_DEVICE="/dev/input/by-id/usb-05a4_9881-event-mouse"
REMOTE_LIRCD_CONF="/etc/lirc/lircd.conf"
REMOTE_LIRCD_ARGS=""
REMOTE_SOCKET="/dev/lircd"
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="false"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF="/etc/lirc/lircd.conf"
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
Alles anzeigen
Weiss jemand Rat ?