From: Barry G. <Bar...@pe...> - 2001-09-18 17:19:32
|
Hi, I have a new (version 2.0) CrystalFontz 634 display, and I'm having some trouble getting it to work with lcd4linux. with .97, I edited the Crystalfontz.c, and changed the default speed from 9600 to 19200, and it runs, but shows garbage on the display. With .98, I edited the Crystalfontz.c, and changed the default speed from 9600 to 19200 (for version 2.0 display), and it runs, but shows garbage on the display. It turns out that it actually does work about 1 out of 20 times. LCDd works fine after I changed it to use 19200, but it seems to do a more through job of resetting the display each time it is run. Do I need to use setserial or something to reset the port before running lcd4linux? Thank you, Barry > ./lcd4linux -F -vvv >Version 0.98 starting >lcd4linux.c: initializing driver 634 >Crystalfontz.c: using port /dev/lcd at 19200 baud >processor.c: 4 rows, 20 columns, 6x8 pixels, 0 GPOs >processor.c: Row1: Load%l1%L$r10cs+cb >processor.c: Row2: Disk%dm $R10dr+dw >processor.c: Row3: Net %nm $R10nr+nw >processor.c: Row4: Load %l1%L$r10l1 >lcd4linux.c: starting main loop >system.c: open(/proc/loadavg)=4 >system.c: open (/proc/stat)=5 >system.c: open (/proc/stat)=6 >system.c: open (/proc/net/dev)=7 |