From: <for...@gm...> - 2006-03-27 00:35:10
|
Everything seems to be fine, but when I run lcd4linux, nothing happens on m= y 40x2 display (A few LED's on the test ciruit are lit up, but do nothing). Here's what I've got for my config: Display HD44780-40x2 { Driver 'HD44780' Model 'generic' #UseBusy 1 Port '/dev/parport0' Size '40x2' Wire { RW 'AUTOFD' RS 'INIT' ENABLE 'STROBE' ENABLE2 'GND' GPO 'GND' } } Widget CPU { class 'Text' expression uname('machine') prefix 'CPU ' width 9 align 'L' update tick } Layout Default { Row1 { Col1 'CPU' } } Variables { tick 500 } Display 'HD44780-40x2' Layout 'Default' Here's the output of lsmod: $ lsmod | grep parport parport_pc 31812 2 parport 32072 3 ppdev,parport_pc,lp I tried running lcd4linux a few times: $ sudo lcd4linux -Fvv Version 0.10.1-CVS starting plugin_cfg.c: Variable tick =3D '500' (500) lcd4linux.c: initializing driver HD44780 HD44780: using model 'generic' HD44780: using parallel port HD44780: using 1 Controller(s) HD44780: using 8 bit mode udelay: CPU supports Time Stamp Counter udelay: CPU runs at 599.660000 MHz udelay: using TSC delay loop, 600 ticks per microsecond HD44780: using ppdev /dev/parport0 After nothing happened on the display, and ther terminal sat at that last line, I killed it and checked dmesg, finding this repeated a few times: [4309928.636000] ppdev0: registered pardevice [4309982.517000] ppdev0: unregistered pardevice Any more ideas? I've also tried using a raw port (0x3bc) without any luck. Thanks. |