From: <unb...@ar...> - 2006-01-23 21:10:13
|
Hallo, does lcd4linux work with ubuntu? I cannot compile the files Thanks, Max |
From: <for...@gm...> - 2006-03-13 00:35:26
|
I've also had trouble with LCD4Linux with Ubuntu 5.10. (Using the HD44780 display setup) When I try to compile it I get this error: In file included from drv_generic_i2c.c:76 lcd4linux_i2c.h:81: error: array type has incomplete element type make: *** [drv_generic_i2c.o] Error 1 Instead, I tried installing the dapper package, which installed succesfully= . However I get this error when I run it with -Fvv: Version 0.10.1-CVS starting plugin_cfg.c: Variable minute =3D '60000' (60000) plugin_cfg.c: Variable tack =3D '100' (100) plugin_cfg.c: Variable tick =3D '500' (500) lcd4linux.c: initializing driver LCD-Linux drv_init(LCD-Linux) failed: no such driver As a first time user, I'm not really sure what the problem is with either installation method. For now, I'm trying to solve the problem with the package and somehow get it working with my HD44780 display. Any help would be appreciated. |
From: Michael R. <re...@eu...> - 2006-03-20 19:40:28
|
Hi there, > I've also had trouble with LCD4Linux with Ubuntu 5.10. (Using the > HD44780 display setup) > When I try to compile it I get this error: > In file included from drv_generic_i2c.c:76 > lcd4linux_i2c.h:81: error: array type has incomplete element type > make: *** [drv_generic_i2c.o] Error 1 Which version are you using? from CVS? > Instead, I tried installing the dapper package, which installed > succesfully. However I get this error when I run it with -Fvv: > Version 0.10.1-CVS starting > plugin_cfg.c: Variable minute = '60000' (60000) > plugin_cfg.c: Variable tack = '100' (100) > plugin_cfg.c: Variable tick = '500' (500) > lcd4linux.c: initializing driver LCD-Linux > drv_init(LCD-Linux) failed: no such driver This means that the LCD-Linux driver isn't part of the distribution. Maybe due to the fact that the last release of lcd4linux is quite old.... You may want to try the CVS version. If your first problem persists, maybe some of the I2C guys can help... (are there any I2C guys listening here?) bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: <for...@gm...> - 2006-03-25 21:14:37
|
It seems I misunderstood how the config file should be set up. Anyway, I ended up successfully compiling the 0.10 version (as opposed to the -RC1). = I set up the config file as shown on the page for the HD44780, and have the uname widget included. However, when I try to run LCD4Linux, I recieve no errors, yet the screen does nothing. I've triple checked my circuit, it is exactly the same as the schematic on the HD44780 page. Can anyone offer me some advice on troubleshooting and debugging this? |
From: Simon C. <sim...@ho...> - 2006-03-26 20:18:10
|
Sir I had a few problems with ubuntu i did not have the parport module loaded.. run lsmod in a consule look for parport after i modprobed the module lcd4linux worked fine.. regards Simon Clare >From: for...@gm... >To: lcd...@li... >Subject: [lcd4linux] Lcd4Linux and ubuntu >Date: Sat, 25 Mar 2006 16:14:34 -0500 > >It seems I misunderstood how the config file should be set up. Anyway, I >ended up successfully compiling the 0.10 version (as opposed to the -RC1). >I >set up the config file as shown on the page for the HD44780, and have the >uname widget included. However, when I try to run LCD4Linux, I recieve no >errors, yet the screen does nothing. I've triple checked my circuit, it is >exactly the same as the schematic on the HD44780 page. Can anyone offer me >some advice on troubleshooting and debugging this? |
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. |
From: Michael R. <re...@eu...> - 2006-01-24 04:50:09
|
Hi Max, > does lcd4linux work with ubuntu? It should, really! > I cannot compile the files What exactly is your problem? Can you provide error messages? bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Johan S. <Joh...@xs...> - 2006-01-24 20:00:03
|
unb...@ar... wrote: > Hallo, > > does lcd4linux work with ubuntu? > I cannot compile the files Did you apt-get the development stuff, like make and gcc? > > Thanks, > Max > > |
From: Norbert T. <tre...@te...> - 2006-01-30 09:48:16
|
* unb...@ar... wrote: > does lcd4linux work with ubuntu? Yes. > I cannot compile the files There's a package in dapper. Norbert |