Ubuntu HD VDR mittels Xine und VDPAU - LCDProc

Aus VDR Wiki
Wechseln zu: Navigation, Suche

Inhaltsverzeichnis

LCDProc

Installationsdateien herunterladen

cd /data/installfiles/irtrans/
wget http://www.irtrans.de/download/Server/Linux/lcdproc.tar.gz

alternativ den aktuellen LCDProc Treiber von der 'LCDProc Homepage'

cd /data/installfiles/irtrans/
wget http://downloads.sourceforge.net/lcdproc/lcdproc-0.5.2.tar.gz?modtime=1177680916&big_mirror=0

LCDProc Installieren

Diese Installation beschreibt das vorgehen mit dem IRTrans LCPProc Treiber.

cd /tmp
tar -xzf /data/installfiles/irtrans/lcdproc.tar.gz
cd lcdproc/
./configure --enable-drivers=irtrans && make && make install
cp -a LCDd.conf /etc/
cd /tmp/
rm -r lcdproc/

LCDdproc.conf anpassen

cd /etc/
vi LCDd.conf
Foreground=no

LCDProc manuell starten

Nach dem Start sollte auf dem Display etwas vom LCDProc angezeigt werden.

cd /usr/local/sbin/
./LCDd -c /etc/LCDd.conf

LCDRProc in den Autostart

Skript erstellen

cd /etc/init.d/
vi lcdproc
#!/bin/sh
### BEGIN INIT INFO
# Provides:          lcdproc
# Required-Start:    $irtrans
# Required-Stop:     $irtrans 
# Default-Start:     3 5
# Default-Stop:      0 1 2 6
# Description:       Start, Stop or Restart the LCDProc Server
### END INIT INFO

# Shell functions sourced from /etc/rc.status:
. /etc/rc.status

# Reset status of this service
rc_reset

# 
case "$1" in
    start)
        echo -n "Starting LCDProc Server "
        /usr/local/sbin/LCDd -c /etc/LCDd.conf

        # Remember status and be verbose
        rc_status -v
        ;;
    stop)
        echo -n "Shutting down LCDProc Server "
        killall LCDd
        sleep 2

        # Remember status and be verbose
        rc_status -v
        ;;
    restart)
        echo -n "Restart LCDProc Server "
        $0 stop
        $0 start

        # Remember status and be quiet
        rc_status
        ;;
    *)
        echo "Usage: $0 {start|stop|restart}"
        exit 1
        ;;
esac
rc_exit

Skript ausführbar machen

cd /etc/init.d/
chmod +x lcdproc

Skript in den Autostart aufnehmen

chkconfig lcdproc 35

System neu starten

init 6

Links

  1. LCDProc Homepage