Hallo,
ich habe mir ein LCD-Display 4x20 gekauft mit HD44780-Kompatiblem Controller und ein Parallelport-Kabel angeschlossen, alle elektrischen Leitungen überprüft, es ist genau nach diesem Schema angeschlossen, alle Verbindungen sind ausgemessen (s. angehängte Datei)
Dann habe ich das Parallelport-Kabel an LPT1 angeschlossen, der auf 0x278
im BIOS mit ECP+EPP eingestellt ist sowie von einem Laufwerkstecker die +5V / -5V-Leitung abgezwackt und laut Anschlussplan angeschlossen.
In /etc/LCDd.conf habe ich folende Einträge vorgenommen:
QuoteDisplay More
[server]
# Server section with all kinds of settings for the LCDd server
Driver=HD44780
Bind=127.0.0.1
# Tells the driver to bind to the given interface
Port=13666
# Listen on this specified port; defaults to 13666.
ReportLevel=5
ReportToSyslog=no
WaitTime=5
User=nobody
ServerScreen=no
Foreground=no
Heartbeat=open
InitialHeartbeat=on
Backlight=open
InitialBacklight=on
BacklightBrightness=255
BacklightOffBrightness=0
# Driver sections are below this line, in alphabetical order
[HD44780]
# Hitachi HD44780 driver
# See docs/hd44780_howto.txt
Port=0x278
# Port where the LPT is. Usual values are 0x278, 0x378 and 0x3BC
ConnectionType=winamp
# 4bit, 8bit, winamp
# Select what type of connection. See documentation for types.
Keypad=no
# If you have a keypad connected. Keypad layout is currently not
# configureable from the config file.
Backlight=yes
# If you have a switchable backlight.
Size=20x4
# Specifies the size of the LCD.
# In case of multiple combined displays, this should be the total size.
#vspan=1,2
# For multiple displays: at what 'logical' lines do the individual displays
# start.
#extended=yes
# If you want to use more than 3 HD44780 controllers on the LPT, you need to
# specify this. See documentation.
#DelayMult=2
# If your display is slow and cannot keep up with the flow of data from
# LCDd, garbage can appear on the LCDd. Set this delay factor to 2 or 4
# to increase the delays. Default: 1.
DelayBus=true
# You can reduce the inserted delays by setting this to false.
# On fast PCs it is possible your LCD does not respond correctly.
# Default: true.
#Device=/dev/ttyS0
# For PIC-an-LCD connection type only: the serial device to which the LCD
# is connected. Default: /dev/lcd
Ergebnis: Das LCD flackert zwar (die Hintergrundbeleuchtung), aber ich erhalte folgende Fehler bei logread -f:
QuoteDisplay More
Sep 14 12:25:34 linvdr user.notice LCDd: LCDd version 0.4.5 starting
Sep 14 12:25:34 linvdr user.info LCDd: Built on Nov 12 2004, protocol version 0.3, API version 0.4
Sep 14 12:25:34 linvdr user.notice LCDd: Set report level to 5, output to syslog
Sep 14 12:25:34 linvdr user.info LCDd: init_drivers()
Sep 14 12:25:34 linvdr user.info LCDd: load_driver(HD44780,,)
Sep 14 12:25:36 linvdr user.info LCDd: init_sockets()
Sep 14 12:25:36 linvdr user.info LCDd: sock_create_server()
Sep 14 12:25:36 linvdr user.info LCDd: sock_create_inet_socket(13666)
Sep 14 12:25:36 linvdr user.err LCDd: Could not bind to port 13666
Sep 14 12:25:36 linvdr user.err LCDd: sock_create_server: Error creating socket
Sep 14 12:25:36 linvdr user.err LCDd: Error opening socket
Sep 14 12:25:36 linvdr user.crit LCDd: Critical error: main.c:239, abort
Wo liegt der Fehler, warum zeigt das Display nichts an? Kann mir jemand helfen? Wäre super!! Danke!