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 |
From: Michael R. <re...@eu...> - 2004-12-22 20:21:47
|
Hi Simon, > 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 [...] > 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] looks good... > heres lcd4linux.conf [...] > 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 looks good, too, but just to be sure, you should add/modify these two lines: Wire.ENABLE2 "GND" Wire.GPO "GND" > 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 looks correct, too. so your wiring seems to be ok. You did double-check, did you? Does the display work with some other software? (lcdproc, or windows..) What happens on the display a) if you connect power to it, and b) when you start lcd4linux? Hmmm.... maybe you're facing the problem that the display requires 5V on the data lines, but your parport provides only 3.3V? bye, Michael -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Simon C. <sim...@ho...> - 2004-12-23 03:19:38
|
hi Michael thanks for your reply ..i tried the edited .conf as you said to no avail...when i power up the board no apparent change in lcd ...i will try rebuilding again i tried lcdsmartie still no go ...will keep you posted..thanks any idea why i dont see anything in stderrr window when i run Xterm?.. >From: Michael Reinelt <re...@eu...> >To: Simon Clare <sim...@ho...> >CC: lcd...@li... >Subject: Re: [lcd4linux] HD44780 lcd n/w >Date: Wed, 22 Dec 2004 14:21:50 +0100 > >Hi Simon, > >>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 >[...] >>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] >looks good... > >>heres lcd4linux.conf >[...] >>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 >looks good, too, but just to be sure, you should add/modify these two >lines: >Wire.ENABLE2 "GND" >Wire.GPO "GND" > >>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 >looks correct, too. > >so your wiring seems to be ok. You did double-check, did you? > >Does the display work with some other software? (lcdproc, or windows..) > >What happens on the display a) if you connect power to it, and b) when you >start lcd4linux? > >Hmmm.... maybe you're facing the problem that the display requires 5V on >the data lines, but your parport provides only 3.3V? > >bye, Michael > >-- >Michael Reinelt <re...@eu...> >http://members.eunet.at/reinelt >GPG-Key 0xDF13BA50 >ICQ #288386781 > > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://productguide.itmanagersjournal.com/ >_______________________________________________ >Lcd4linux-users mailing list >Lcd...@li... >https://lists.sourceforge.net/lists/listinfo/lcd4linux-users |
From: Michael R. <re...@eu...> - 2005-01-06 17:09:10
|
Hi SImon, > any idea why i dont see anything in stderrr window when i run Xterm?.. How do you start it? If you just run 'lcd4linux', all output goes to syslog anyway. If you use the '-F' option, there should be stdout and stderr output! bye, Michael -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |