Hi,
ich habe ein 16x2 (hd44780 @ parport) in einem VDR drin. Das Display funktioniert, aber vdr-plugin-lcdproc liefert die Daten verzögert. Soll heißen, der VDR startet, das Display wird von LCDd initialisiert, dann dauert es ca. 30-40 Sekunden bis die VDR Informationen erscheinen. Man könnte jetzt meinen das LCDd nicht rechtzeitig genug oben ist, aber die Startreihenfolge habe ich schon angepasst und bei einem einfachen Neustart der VDR Software ohne Neustart des Rechners bzw. LCDd ist das aber auch so.
M.E. ist alles rechtzeitig da, das Plugin findet den LCDd Server und initialisiert sich auch:
cat /var/log/syslog | grep -e parport -e LCD -e lcdproc
May 29 12:55:31 vdr1 kernel: [ 10.892365] parport_pc 0000:01:06.0: PCI INT A -> Link[APC1] -> GSI 16 (level, low) -> IRQ 16
May 29 12:55:31 vdr1 kernel: [ 10.892404] parport0: PC-style at 0xcc00 (0xc800), irq 16, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
May 29 12:55:31 vdr1 kernel: [ 11.045166] lp0: using parport0 (interrupt-driven).
May 29 12:55:31 vdr1 LCDd: LCDd version 0.5.3 starting
May 29 12:55:31 vdr1 LCDd: Using Configuration File: /etc/LCDd.conf
May 29 12:55:31 vdr1 LCDd: Listening for queries on 127.0.0.1:13666
May 29 12:55:32 vdr1 vdr: [1246] loading plugin: /usr/lib/vdr/plugins/libvdr-lcdproc.so.1.7.14
May 29 12:55:33 vdr1 vdr: [1246] initializing plugin: lcdproc (0.0.10-jw7): LCDproc Ausgabe
May 29 12:55:33 vdr1 vdr: [1246] starting plugin: lcdproc
May 29 12:55:33 vdr1 LCDd: Connect from host 127.0.0.1:55431 on socket 5
May 29 12:55:34 vdr1 vdr: connection to LCDd at localhost:13666 established.
May 29 12:55:34 vdr1 vdr: LCDproc-Plugin started at localhost:13666.
May 29 12:55:34 vdr1 vdr: LCD output thread started (pid=1246), display size: 2x16
Display More
Aber Informationen werden erst 30-40 sek. später dargestellt.
Die relevanten Teile meiner LCDd.conf:
[server]
DriverPath=/usr/lib/lcdproc/
Driver=hd44780
Bind=127.0.0.1
Port=13666
ReportLevel=3
ReportToSyslog=yes
User=nobody
Hello=" Welcome to"
Hello=" VDR!"
GoodBye="Thanks for using"
GoodBye=" VDR!"
WaitTime=5
ServerScreen=blank
Backlight=open
Heartbeat=open
###
[hd44780]
ConnectionType=winamp
Port=0xcc00
Device=/dev/ttyS0
Speed=0
Keypad=no
Contrast=0
Backlight=no
OutputPort=no
Size=16x2
CharMap=hd44780_euro
DelayBus=false
Display More
Irgendwie scheint das Plugin beim ersten Start nicht richtig zu initialisieren, sondern erst beim nächste "Daten-Update". Ist das ein Schutzmechanismus, damit der VDR Start nicht gefährdet wird? Wenn ja, könnte man den sinnvoll umgehen?
[Solution]
VDR OSD Menu / Einstellungen / Plugins / lcdproc / SetClientPriority = an
[/Solution]
Gruß
Frank