stiziwik
Sie befinden sich hier: Willkommen » VDR » Mein VDR » Plugins » Graphlcd
Zuletzt angesehen: • Graphlcd

Graphlcd

Man kann das OSD des VDR's auf einem grafischen Display ausgeben.
Günstige Displays gibt es bei Neuhold.

Hier eine Anleitung für ein grafisches Display mit der Auflösung 240×128 Pixel und dem Toschiba „t6939“ Treiber.

Vorbereitungen

graphlcd-base, graphlcd-plugin und graphlcd-media herrunterladen und entpacken.

mkdir -p /data/installfiles/vdrplugins/graphlcd
cd /data/installfiles/vdrplugins/graphlcd
wget http://projects.vdr-developer.org/attachments/download/501/graphlcd-base-0.1.9.tgz
wget http://projects.vdr-developer.org/attachments/download/502/vdr-graphlcd-0.1.9.tgz
!!!!ODER!!!!
git clone git://projects.vdr-developer.org/vdr-plugin-graphlcd.git
git clone git://projects.vdr-developer.org/graphlcd-base.git
UND NOCH
wget http://projects.vdr-developer.org/attachments/download/502/vdr-graphlcd-0.1.9.tgz
cd /etc/vdr/plugins/graphlcd/
tar xfz graphlcd-media-0.1.2-pre6.tgz

graphlcd-base installieren.

cd /data/installfiles/vdrplugins/graphlcd/grapglcd-base
make -j2 all && make install

graphlcd.conf konfigurieren

vi /etc/graphlcd.conf

Inhalt:

WaitMethod=3
WaitPriority=0

[t6963c]
# t6963c driver
#  This is a driver module for the Toshiba T6963C LCD controller.
#  Default size: 240 x 128
Driver=t6963c
#Port=0x378
Device=/dev/parport0
#Width=240
#Height=128
#UpsideDown=no
Invert=no #yes
RefreshDisplay=1

# Wiring
#  Select the type of wiring your display is connected with.
#  Possible values: 'Standard', 'Windows', 'Serial'
#  Default value: 'Standard'
Wiring=Windows

# FontSelect
#  Select the font width your display uses for text mode. In most cases
#  this is selectable through one of the pins of your LCD board
#  Possible values: '6', '8'
#  Default value: '6'
FontSelect=6

# AutoMode
#  Enables or disables the usage of T6963C's auto mode which doubles
#  writing speed when enabled.
#  Possible values: 'yes', 'no'
#  Default value: 'yes'
AutoMode=yes

# StatusCheck
#  Enables or disables the usage of T6963C's status check. When using a
#  shielded cable for connecting your display, the disabling may be
#  possible. This results in doubling the speed of writing data to the
#  LCD.
#  Possible values: 'yes', 'no'
#  Default value: 'yes'
StatusCheck=yes

VDR-Plugin

Nun noch das Plugin wie hier (Anleitung bis VDR-1.7.26) beschrieben installieren.

Script kopieren.

cp -r /usr/local/src/vdr/PLUGINS/src/graphlcd/graphlcd /etc/vdr/plugins
cp -r /data/installfiles/vdrplugins/graphlcd/graphlcd-media/* /etc/vdr/plugins/graphlcd/
ln -s /usr/local/lib/libglcdgraphics.so.2.0.0 /usr/lib/libglcdgraphics.so.2
ln -s /usr/local/lib/libglcddrivers.so.1.0.0 /usr/lib/libglcddrivers.so.1

Ab VDR-1.7.26

vi state.h
---    virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber);
+++    virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView);
vi state.c
---void cGraphLCDState::ChannelSwitch(const cDevice * Device, int ChannelNumber)
+++void cGraphLCDState::ChannelSwitch(const cDevice * Device, int ChannelNumber, bool LiveView)

Danach noch diesen Patch einspielen.

Pluginparameter in runvdr

-P'graphlcd -c /etc/graphlcd.conf -d t6963c' \

Im BIOS den parallelen Anschluss auf ECP stellen
Als root benutzer kann nun das grafische LCD getestet werden.

showpic -c /etc/graphlcd.conf -d t6963c /etc/vdr/plugins/graphlcd/logos/3NET_m.glcd

Berechtigungen anpassen.

/data/installfiles/usermod-vdruser.sh

#Damit der User vdruser auch auf den /dev/parport0 zugreifen und schreiben kann

usermod -a -G lp vdruser

Zum Abschluß noch ein Reboot.

Boot- und Shutdownsplash

Beim booten und herunterfahren kann im Display ein Splash angezeigt werden.
So habe ich das konfiguriert.

cd /etc/vdr/plugins/graphlcd/splash
unlink start
ln -s vdr-starting_240x128 start
unlink stop
ln -s vdr-shutdown_240x128 stop

Den Startsplash konfigurieren

vi /etc/init.d/rc

Inhalt nach „export“ (in Datei):

/usr/local/bin/showpic -c /etc/graphlcd.conf -d t6963c -s 650 $(ls /etc/vdr/plugins/graphlcd/splash/start/*.glcd) &

Den Stopsplash konfigurieren

vi /etc/init.d/rcS

Inhalt vor allem anderen (in Datei):

/usr/local/bin/showpic -c /etc/graphlcd.conf -d t6963c -s 650 $(ls /etc/vdr/plugins/graphlcd/splash/stop/*.glcd) &
sleep 3
Previous Next

Webseiten-Werkzeuge

  • Letzte Änderungen
  • Medien-Manager
  • Übersicht

Seiten-Werkzeuge

  • Zeige Quelltext
  • Ältere Versionen
  • Links hierher
  • Nach oben

Benutzer-Werkzeuge

  • Anmelden
vdr/system/plugins/graphlcd.txt · Zuletzt geändert: 2024/02/26 14:36 von 127.0.0.1
stiziwik

Table of Contents

Inhaltsverzeichnis

  • Graphlcd
    • Vorbereitungen
    • VDR-Plugin
      • Ab VDR-1.7.26
    • Boot- und Shutdownsplash
  • Android
  • Bild-und-video
  • Datenverarbeitung
  • Fahrzeuge
  • Hausautomatisation
  • linux
  • Nas
  • Netzwerk
  • PlayGround
  • Programieren
  • Projekte
  • Raspberry Pi
  • sonstiges
  • VDR
    • Einstellungen
    • Mein VDR
      • Hardware
      • Install
      • Plugins
        • 01 Plugins Installieren
        • Burn
        • Channelscan
        • Dvd
        • Epgd
        • Epgsearch
        • Externalplayer
        • Extrecmenu
        • Femon
        • Fullfeatured-karten
        • Graphlcd
        • Image
        • Iptv
        • Isdn
        • Lcdproc
        • Live
        • Markad
        • Osdteletext
        • Premiere-arghdirector
        • Premiere-epg
        • Skinanthra
        • Skinpearlhd
        • Streamdev
        • Text2skin
        • Ttxtsubs
        • Vdradmin
        • Vdrmanager
        • Wakeup
        • Xine-ui
        • Xineliboutput
        • Yaepghd
      • Yavdr
    • Patches
    • Scripte
  • Web
  • Werkstatt
  • Wiki
  • sidebar-acmenu
  • sidebar-indexmenu
  • sidebar-simplenavi