From: Michael R. <mi...@re...> - 2011-11-12 08:29:07
|
Looks like ypu're using busy-flag checking (lcd4linux.conf:useBusy 1) which is not working (HD44780: timeout waiting for busy flag on controller 1 (0x80)) Try to disable busy-flag checking (set useBusy to 0 or remove this entry completely) hope this helps, michael Am 2011-11-10 21:18, schrieb Joao Bonina: > Hi, > > you're absolutely right Mattia. > > Here is the output: > > # lcd4linux -Fvvq -f lcd4linux.conf > Version 0.10.1-RC2-796 starting > plugin_cfg.c: Variable tick = '500' (500) > [KVV] Using station 89 > [KVV] Using default port 80 > [KVV] Using default refresh interval of 60 seconds > [KVV] Default abbreviation setting: off > lcd4linux.c: initializing driver HD44780 > HD44780: $Rev: 773 $ > HD44780: using model 'generic' > HD44780: using parallel port > HD44780: using 1 Controller(s) > HD44780: using 8 bit mode > udelay: using gettimeofday() delay loop > HD44780: using ppdev /dev/parport0 > HD44780: wiring: DISPLAY:RS - PARPORT:INIT (Pin 16) > HD44780: wiring: DISPLAY:RW - PARPORT:AUTOFD (Pin 14) > HD44780: wiring: DISPLAY:ENABLE - PARPORT:STROBE (Pin 1) > HD44780: wiring: DISPLAY:ENABLE2 - PARPORT:GND > HD44780: wiring: DISPLAY:ENABLE3 - PARPORT:GND > HD44780: wiring: DISPLAY:ENABLE4 - PARPORT:GND > HD44780: wiring: DISPLAY:BACKLIGHT - PARPORT:GND > HD44780: wiring: DISPLAY:GPO - PARPORT:GND > HD44780: wiring: DISPLAY:POWER - PARPORT:GND > HD44780: timing: CY = 1000 ns (default) > HD44780: timing: PW = 450 ns (default) > HD44780: timing: AS = 140 ns (default) > HD44780: timing: AH = 20 ns (default) > HD44780: timing: INIT1 = 4100 us (default) > HD44780: timing: INIT2 = 100 us (default) > HD44780: timing: EXEC = 80 us (default) > HD44780: timing: WRCG = 120 us (default) > HD44780: timing: CLEAR = 2250 us (default) > HD44780: timing: HOME = 2250 us (default) > HD44780: timing: ONOFF = 2250 us (default) > HD44780: using busy-flag checking > HD44780: using 0 GPI's and 0 GPO's > initializing layout 'Default' > lcd4linux.c: starting main loop > HD44780: timeout waiting for busy flag on controller 1 (0x80) > ^Clcd4linux.c: got signal 2 > lcd4linux.c: leaving main loop > HD44780: shutting down display. > HD44780: shutting down GPIO driver. > drv_generic_parport.c: closing ppdev /dev/parport0 > > > > The lcd4linux.conf file is: > > > Display HD44780-20x1 { > Driver 'HD44780' > Model 'generic' > UseBusy 1 > Port '/dev/parport0' > Size '20x1' > Wire { > RW 'AUTOFD' > RS 'INIT' > ENABLE 'STROBE' > ENABLE2 'GND' > GPO 'GND' > > } > } > > Widget CPU { > class 'Text' > expression 'CPU' > width 3 > align 'L' > } > > Layout Default { > Row1 { > Col1 'CPU' > } > > > Variables { > tick 500 > } > > Display 'HD44780-20x1' > Layout 'Default' > > > Best regards, > Joao > > ------------------------------------------------------------------------------------------------------------------------ > *From:* Mattia Jona-Lasinio <mat...@gm...> > *To:* "lcd...@li..." <lcd...@li...> > *Sent:* Thursday, 10 November 2011, 12:07 > *Subject:* Re: [lcd4linux] Parallel HD44780 Lcd display keeps scrolling > > Hi, > > can you be more specific on what exactly you do and what exactly happens? > > Posting your current lcd4linux configuration file and a verbose output > from lcd4linux wouldn't harm either. > > Best, > > M > > > On Thu, Nov 10, 2011 at 12:57 PM, Joao Bonina <bon...@ya... <mailto:bon...@ya...>> wrote: > > Hello, > > I just got a parallel HD44780-compatible lcd display and got it working with > > LCD4Linux. > > The first time I tried it, it workined really fine with the CPU widget > > showing. > > Then, I stopped/started LCD4Linux, and the text started scrolling > > left-to-right. This happens always, no matter what settings I tried to > > change or what else. > > LCD4Linux version is 0.10.1-RC2 on Debian Squeeze with 2.6.38 kernel. > > > > Can anyone give me a hint on how to debug this? > > Cheers, > > Joao > > > > ------------------------------------------------------------------------------ > > RSA(R) Conference 2012 > > Save $700 by Nov 18 > > Register now > > http://p.sf.net/sfu/rsa-sfdev2dev1 > > _______________________________________________ > > Lcd4linux-users mailing list > > Lcd...@li... <mailto:Lcd...@li...> > > https://lists.sourceforge.net/lists/listinfo/lcd4linux-users > > > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Lcd4linux-users mailing list > Lcd...@li... <mailto:Lcd...@li...> > https://lists.sourceforge.net/lists/listinfo/lcd4linux-users > > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > > > > _______________________________________________ > Lcd4linux-users mailing list > Lcd...@li... > https://lists.sourceforge.net/lists/listinfo/lcd4linux-users -- Michael Reinelt <mi...@re...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |