From: Matthew H. <ma...@ma...> - 2015-02-16 10:04:48
|
Hi all, Hoping someone can point me in the right direction. I'm running LCD4Linux on a Sophos UTM box (Suse base), I suspect I may have a dud parallel port, but wanted someone elses thoughts. LCD4Linux is compiled with just the HD44870 driver, I'm doing a basic config just to prove I can get a display up on the LCD. I have double/triple checked wiring and I'm sure I have it right. My config file looks like this: ---------------------------------------------------------------- Display HD44780-winamp { Driver 'HD44780' Model 'generic' UseBusy 1 Port '/dev/parport0' Size '16x2' Wire { RW 'AUTOFD' RS 'INIT' ENABLE 'STROBE' ENABLE2 'GND' GPO 'GND' } } Widget MEM { class 'Text' expression meminfo('MemTotal')/1024 prefix 'MB:' width 11 align 'L' precision '0' update 1000 } Layout Default { Row1 { Col1 'MEM' } } Display 'HD44780-winamp' Layout 'Default' ---------------------------------------------------------------- When I run it using: sudo /sbin/lcd4linux -Fvv I get the following: ---------------------------------------------------------------- Version 0.11.0-SVN-965 starting lcd4linux.c: initializing driver HD44780 HD44780: $Rev: 905 $ 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:GPI - 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: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: timeout waiting for busy flag on controller 1 (0xff) HD44780: too many busy flag failures, turning off busy flag checking. HD44780: using 0 GPI's and 0 GPO's initializing layout 'Default' widget 'MEM': Class 'text', Parent '<root>', Layer 1, Row 0, Col 0 lcd4linux.c: starting main loop ---------------------------------------------------------------- But nothing ever displays on the LCD. I get the above regardless if the LCD is connected or not, so I simply don't think it is seeing the LCD at all. I have tried two different LCDs as well with the same result Any pointers from here or how I can trouble shoot further? Thanks in advance! Regards, Matt Hodder |