From: Simon C. <sim...@ho...> - 2004-12-22 03:59:23
|
hi all small problem i have a REDHAT 9 2.4.20-8 i got the source got it going but my lcd will not work got xterm to work (no entries in stderr?) and got the X11 too work great... #lcd4linux -Fvv version 0.9.11 starting lcd4linux.c: initialising driver HD44780 HD:44780: controlling 0 GPOs wiring: using display with 1 controllers wiring: using 8 bit mode wiring: [DISPLAY:RS]<==>[PARPORT:AUTOFD] wiring: [display :rw ]<==>[parport:gnd] wiring: [display:enable]<==>[parport:strobe] wiring: [display:enable2]<==>[parport:select] wiring: [display:gpo]<==>[parport:init] udelay.c: cpu supports time stamp counter udelay.c: cpu runs at 800.055000 mhz udelay.c: using tsc delay loop,801 ticks per microsecond parport.c using raw port 0x378 processor.c: Display: 4 rows, 20 columns, 5x8 pixels, 0 icons, 0 gpos processor.c: ==================== processor.c: Timings: processor.c: 500 msec text updates processor.c: 100 msec bar updates processor.c: 100 msec icon updates processor.c: 100 msec GPO updates processor.c: ------------------------------- processor.c: 100 msec data collection processor.c: 100 msec data processing processor.c: ================= processor.c: Row1: ** %o %v ** processor.c: Row2: %p CPU %r MB RAM processor.c: Row3: BUSY %cb%% $r 10cs+cb processor.c: Row4: LOAD%1l%L$r10L1 lcd4linux.c: starting main loop system.c: open(/proc/loadavg)=3 system.c: open (/proc/stat)=4 system.c: uname(sysname)=Linux system.c: uname(release)=2.4.20-8 system.c: uname(machine)=i686 system.c: sizeof(/proc/kcore)=135454720 bytes i tried a 2x16 which had been working with a small pic micrcontroller and a new 4x20 also a hd44780 heres lcd4linux.conf Display HD44780 Port 0x378 Size 20x4 Bits 8 Wire.RW "GND" #RW (pin 5 lcd hardwired to ground) Wire.RS "AUTOFD" #RS (pin 4 lcd to pin 14 DB-25 "Autofd") Wire.ENABLE "STROBE" #E (pin 6 lcd to pin 1 DB-25 "strobe") Wire.GPO "INIT Row1 "** %o %v **" Row2 "%p CPU %r MB RAM " Row3 "BUSY %cb%% $r 10cs+cb" Row4 "LOAD%1L%L$r10L1 " the data lines (DB0........DB7 on the display,DB1 ....DB8 on the parrallel port)are connected directly RS pin 4 lcd to pin 14 "autofd" RW hardwired to gnd E pin 6 lcd to pin 1 DB-25 hope this can shed some light thanks Simon Clare |