Pearl-LCD-Display an der Synology

Status
Für weitere Antworten geschlossen.

hvkls

Benutzer
Mitglied seit
23. Dez 2012
Beiträge
463
Punkte für Reaktionen
0
Punkte
22
EDIT: Tut mir leid, jetzt sollte es gehen. Mit "-F -f /path/to/lcd4linux.conf" starten.

Display DPF {
Driver 'DPF'
Port 'usb0'
Font '60x80'
Background '000000'
Foreground 'ffffff'
Basecolor '000000'
Orientation 0
Backlight 5
}
Widget TIME {
class 'Text'
expression strftime('%H %M',time()).' '
width 9
align 'L'
update 1000
}
Layout test {
Row1 {
Col1 'TIME'
}
}
Display 'DPF'
Layout 'test'
 
Zuletzt bearbeitet:

laserdesign

Benutzer
Mitglied seit
11. Jan 2011
Beiträge
2.530
Punkte für Reaktionen
38
Punkte
94
Edit: sorry war mein Fehler !!!! copy and past

Rich (BBCode):
root@syn:/etc# lcd4linux -F -f /usr/local/lcd4linux/etc/lcd4linux.conf
Found AX206 DPF
Got LCD dimensions: 320x240
Huh? Not even a single timer left? Dazed and confused...
root@syn:/etc#


Rich (BBCode):
root@syn:/etc# lcd4linux -vv
LCD4Linux 0.11.0-SVN-1158 starting
invoked without full path; restart may not work!
Dump of /etc/lcd4linux.conf:
  Display                 'DPF'
  Display:DPF.Background  '000000'
  Display:DPF.Backlight   5
  Display:DPF.Basecolor   '000000'
  Display:DPF.Driver      'DPF'
  Display:DPF.Font        '60x80'
  Display:DPF.Foreground  'ffffff'
  Display:DPF.Orientation 0
  Display:DPF.Port        'usb0'
  Layout                  'test'
  Layout:test.Row1.Col1   'TIME'
  Widget:TIME.align       'L'
  Widget:TIME.class       'Text'
  Widget:TIME.expression  strftime('%H %M',time()).' '
  Widget:TIME.update      1000
  Widget:TIME.width       9
 
lcd4linux.c: going background...
root@syn:/etc#


ich glaube auch nicht, dass es an der config liegt.
 
Zuletzt bearbeitet:

hvkls

Benutzer
Mitglied seit
23. Dez 2012
Beiträge
463
Punkte für Reaktionen
0
Punkte
22
OK, hier kommt die Copy&Paste-Version für den Benutzer root auf der Kommandozeile der DS.

Rich (BBCode):
echo "# lcd4linux DPF minimal configuration
Display DPF {
Driver 'DPF'
Port 'usb0'
Font '60x80'
Background '000000'
Foreground 'ffffff'
Basecolor '000000'
Orientation 0
Backlight 5
}
Widget TIME {
class 'Text'
expression strftime('%H %M',time()).' '
width 9
align 'L'
update 1000
}
Layout dpfminimal {
Row1 {
Col1 'TIME'
}
}
Display 'DPF'
Layout 'dpfminimal'
" > /tmp/lcd4linux.conf
chmod 0600  /tmp/lcd4linux.conf
killall lcd4linux 2>/dev/null
lcd4linux -F -f /tmp/lcd4linux.conf
 

laserdesign

Benutzer
Mitglied seit
11. Jan 2011
Beiträge
2.530
Punkte für Reaktionen
38
Punkte
94
ja, ich hatte falsch kopiert, siehe #302

hier noch die Ausgabe von deinem copy&past script

Rich (BBCode):
root@syn:/etc# echo "# lcd4linux DPF minimal configuration
> Display DPF {
> Driver 'DPF'
> Port 'usb0'
> Font '60x80'
> Background '000000'
> Foreground 'ffffff'
> Basecolor '000000'
> Orientation 0
> Backlight 5
> }
> Widget TIME {
> class 'Text'
> expression strftime('%H %M',time()).' '
> width 9
> align 'L'
> update 1000
> }
> Layout dpfminimal {
> Row1 {
> Col1 'TIME'
> }
> }
> Display 'DPF'
> Layout 'dpfminimal'
> " > /tmp/lcd4linux.conf
root@syn:/etc# chmod 0600  /tmp/lcd4linux.conf
root@syn:/etc# killall lcd4linux 2>/dev/null
root@syn:/etc# lcd4linux -F -f /tmp/lcd4linux.conf
Found AX206 DPF
Got LCD dimensions: 320x240
Huh? Not even a single timer left? Dazed and confused...
root@syn:/etc#
 
Zuletzt bearbeitet:

hvkls

Benutzer
Mitglied seit
23. Dez 2012
Beiträge
463
Punkte für Reaktionen
0
Punkte
22
Die Fehlermeldung interpretiere ich so, dass lcd4linux läuft und demnach auch keine Libraries fehlen, dass es jedoch es einen Fehler in der Konfiguration geben muss – welche andererseits mit C&P bei mir einwandfrei läuft. Als letzten Versuch hänge ich meine Konfiguration an. Darüber hinaus fällt mir leider nichts mehr dazu ein.

Anhang anzeigen lcd4linux.conf.txt
 
Status
Für weitere Antworten geschlossen.
 

Kaffeautomat

Wenn du das Forum hilfreich findest oder uns unterstützen möchtest, dann gib uns doch einfach einen Kaffee aus.

Als Dankeschön schalten wir deinen Account werbefrei.

:coffee:

Hier gehts zum Kaffeeautomat