# cd /usr/local/src # wget http://vdr.bluox.org/d/vdr-graphlcd/graphlcd-base-0.1.3.tgz # tar xvfz graphlcd-base-0.1.3.tgz # cd /usr/local/src/graphlcd-base-0.1.3 # make all # make install # cp graphlcd.conf /etc # ldconfig
A présent, on va modifier le fichier /etc/graphlcd.conf pour ajuster les paramètre de l'écran LCD. Mon écran LCD est un écran de CrystalFontz basé sur un chip Samsung KS0108. Il propose 128x64 pixels.
... # WaitMethod # Select the method that is used for sleeping. # Possible values: # 0 - usleep # 1 - nanosleep # 2 - nanosleep (sched_rr) - This is recommended on kernel 2.4 systems # 3 - gettimeofday - This is recommended on kernel 2.6 systems # Defaukt value: 2 WaitMethod=2 ... [ks0108] # ks0108 driver # This is a driver module for the Samsung KS0108 LCD controller. # Default size: 128 x 64 Driver=ks0108 # port 0x378 correspond au port parallele Port=0x378 #Device=/dev/parport0 Width=128 Height=64 UpsideDown=yes #Invert=yes #AdjustTiming=0 RefreshDisplay=1 ....A présent, on va compiler le plugin vdr qui gère l'écran LCD
# cd /usr/local/src # wget http://vdr.bluox.org/d/vdr-graphlcd/vdr-graphlcd-0.1.3.tgz # tar xvfz vdr-graphlcd-0.1.3.tgz -C VDR/PLUGINS/src # cd VDR/PLUGINS/src # ln -sf graphlcd-0.1.3 graphlcd # cd ../.. # make plugins # cd .. # rm vdr-graphlcd-0.1.3.tgz
Il ne reste plus qu'à installer l'ensemble des fichiers de graphlcd.
# cd /usr/local/src/VDR/PLUGINS/src/vdr-graphlcd # cp -Rv graphlcd /VDRConf/plugins # cd /VDRConf/plugins/graphlcd # ln -sf logonames.alias.1.3 logonames.aliasPensez à modifier votre fichier /VDRConf/plugins/plugin_setup.conf pour adapter à les paramètres du plugin.
0::graphlcd -c /etc/graphlcd.conf -d ks0108::Ecran LCD Graphique::Maintenant, il ne vous reste plus qu'à ajouter le plugin via le menu de VDR si vous utilisez le plugin vdr-pluginsetup .