[lcdproc] HD44780 problems

richard lucassen lucassen@bigfoot.com
Sun, 01 Oct 2000 18:52:19 +0200


I just installed 0.4-pre9 in my RedHat-6.2. AFAIK there are no hardware
problems. I use a standard HD44780 20x4 display. The backlight and
contrast is working, but I can't see anything. I must have done
something wrong somewhere, but what?

I tried it on two machines and without result. 

I started the server with:
LCDd -d HD44780 -t 20x4

and the client with:
lcdproc -s localhost M X -p 13666

I can see that there is traffic on port 13666 (server) and the client on
lo. I have never seen lcdproc working but I suppose that this traffic is
normal (between 1101 (client and 13666):

[..]
widget_set M title { MEM -==- SWAP}
widget_set M title {asterix}
listen M
widget_set M title {asterix}
widget_set M memtotl 1 2 {257632k}
[..]

But the pins do not move on the LCD:

pin 4 (RS): 0V
pin 5 (RW): 5V
pin 6 (EN): 0V
pin 11: 0V
pin 12: 5V
pin 13: 0V
pin 14: 5V


root@asterix/tmp/lcdproc-0.4-pre9>dmesg | grep par
parport0: PC-style at 0x3bc [SPP,PS2]


Here is my Makefile.config:

INSTALL_DIR = /usr/local
DEVICE = /dev/ttyS0  <-- is this only for serial devices?
OS=-DLINUX 
LCDPORT=-DLCDPORT=13666
MISC += -DLOAD_MAX=1.3
MISC += -DLOAD_MIN=0.05
MISC += -DSTAT_NFS
MISC += -DSTAT_SMBFS

DRIVERS += -DCURSES_DRV
DOBJ += curses_drv.o
LIB += -lncurses
 
# Regular text output (ugly)
DRIVERS += -DTEXT_DRV
DOBJ += text.o
 
# HD44780 parallel port lcd displays
DRIVERS += -DHD44780_DRV
DOBJ += hd44780.o
LPTPORT = 0x3bc

MISC += -Wno-unused
 
GCC = gcc -Wall -Wp,-lang-c-c++-comments -O6 $(CFLAGS)
VERSION = 0.4-pre9
MISC += $(OS) $(DRIVERS) $(DEBUG) $(LCDPORT) -DVERSION=\"$(VERSION)\"

Richard.


-- 
________________________
recursion: see recursion

+-----------------------------+------------------------------------+
| Richard Lucassen, Utrecht,  | Powered by Linux 2.2.16 RedHat 6.2 |
| The Netherlands             | on an i686/300MHz/256MB            |
+-----------------------------+------------------------------------+


-----------------------------------------------------------
To unsubscribe from this list send a blank message to
lcdproc-unsubscribe@lists.omnipotent.net