From: Kenneth S. <ke...@gm...> - 2005-06-01 20:40:24
|
Hello all!=20 I have a 20x4 HD44780-compatible parallel LCD-display which I would like t= o=20 use with my Fedora (Core 3) home webserver. The display works fine in Windows (Smartie53) thus it is not a hw-problem,= =20 but I can't get it to work with lcd4linux...=20 The display is wired like this: LCD Pin - Symbol - Parallell pin 1 Vss GND 2 Vdd +5V=20 3 Vo GND 4 RS Parallelpin 16=20 5 R/W GND 6 E Parallelpin 1=20 7 DB0 Parallelpin 2=20 8 DB1 Parallelpin 3=20 9 DB2 Parallelpin 4=20 10 DB3 Parallelpin 5=20 11 DB4 Parallelpin 6=20 12 DB5 Parallelpin 7=20 13 DB6 Parallelpin 8=20 14 DB7 Parallelpin 9=20 15 A +5V=20 16 K GND Is this a predefined wiring (like 8-bit, winamp and so on)? Anyone who can help with a lcd4linux.conf? I suspect it to be a driver=20 problem, as long as the Driver section of the .conf is ok, I will probably= =20 be able to configure the rest myself... Thankful for all help... Ken |
From: Paul K. <pau...@xs...> - 2005-06-01 22:09:51
|
Hi Kenneth, I did a quick check, your wiring seems to be nearly similar to the winamp wiring. Only exception could be the RW signal. Not sure if it could be the problem. But you could try to specify it as GND. check the WIKI page for the winamp wiring description: https://ssl.bulix.org/projects/lcd4linux/wiki/HD44780 something like this. # generic HD44780 display (WinAmp wiring) Display HD44780-winamp { Driver 'HD44780' Model 'generic' UseBusy 1 Port '/dev/parport0' Size '20x4' Wire { RW 'GND' RS 'INIT' ENABLE 'STROBE' ENABLE2 'GND' GPO 'GND' } } Are you sure you have set the correct display and layout to be used? (near the end of the config sample file) Display 'HD44780-winamp' Layout 'L20x4' Both of these entries are not in the default sample conf file. If you stay having problems, please send me your config file kind regards, Paul Kenneth Solberg wrote: > Hello all! > > I have a 20x4 HD44780-compatible parallel LCD-display which I would > like to use with my Fedora (Core 3) home webserver. > > The display works fine in Windows (Smartie53) thus it is not a > hw-problem, but I can't get it to work with lcd4linux... > > The display is wired like this: > > LCD Pin - Symbol - Parallell pin > 1 Vss GND > 2 Vdd +5V > 3 Vo GND > 4 RS Parallelpin 16 > 5 R/W GND > 6 E Parallelpin 1 > 7 DB0 Parallelpin 2 > 8 DB1 Parallelpin 3 > 9 DB2 Parallelpin 4 > 10 DB3 Parallelpin 5 > 11 DB4 Parallelpin 6 > 12 DB5 Parallelpin 7 > 13 DB6 Parallelpin 8 > 14 DB7 Parallelpin 9 > 15 A +5V > 16 K GND > > Is this a predefined wiring (like 8-bit, winamp and so on)? > > Anyone who can help with a lcd4linux.conf? I suspect it to be a driver > problem, as long as the Driver section of the .conf is ok, I will > probably be able to configure the rest myself... > > Thankful for all help... > > Ken > |
From: paul k. <pau...@xs...> - 2005-06-03 11:05:47
|
Hi Kenneth, For some reason I can't read your config file. It appears emtpy. Could you try starting lcd4linux using: lcd4linux -vv -F -f /etc/lcd4linux.conf This will start lcd4linux in the forground with verbose output. One more thing, what version of lcd4linux are you using? Cheers, Paul Kenneth Solberg wrote: > Hello Paul, I'm sorry to bother you with these newbiw questions... > > I edited my lcd4linux.conf the way you suggested, now I get this error > message when trying to run lcd4linux: > > [root@localhost bin]# lcd4linux -f /etc/lcd4linux.conf > i2c_sensors: unable to autodetect i2c sensors! > [root@localhost bin]# > > I have a pretty old motherboard (some Compaq model with a PIII 930MHz > processor) and I don't think it has got any temperature sensors on it. > (At least Motherboard Monitor didn't show any when I was running > Windows on it) > > Is there a way to disable lcd4linux temp probinf (i2c)? > > I have attached my lcd4linux.conf. > > Greatful for any help you are able to provide. > > Kenneth > > On 6/2/05, *Paul Kamphuis* <pau...@xs... > <mailto:pau...@xs...>> wrote: > > Hi Kenneth, > > I did a quick check, your wiring seems to be nearly similar to the > winamp wiring. > Only exception could be the RW signal. Not sure if it could be the > problem. But you could try to > specify it as GND. > check the WIKI page for the winamp wiring description: > https://ssl.bulix.org/projects/lcd4linux/wiki/HD44780 > > something like this. > > # generic HD44780 display (WinAmp wiring) > Display HD44780-winamp { > Driver 'HD44780' > Model 'generic' > UseBusy 1 > Port '/dev/parport0' > Size '20x4' > Wire { > RW 'GND' > RS 'INIT' > ENABLE 'STROBE' > ENABLE2 'GND' > GPO 'GND' > } > } > > Are you sure you have set the correct display and layout to be used? > (near the end of the config sample file) > > Display 'HD44780-winamp' > Layout 'L20x4' > > Both of these entries are not in the default sample conf file. > > If you stay having problems, please send me your config file > > kind regards, > > Paul > > > > Kenneth Solberg wrote: > > > Hello all! > > > > I have a 20x4 HD44780-compatible parallel LCD-display which I would > > like to use with my Fedora (Core 3) home webserver. > > > > The display works fine in Windows (Smartie53) thus it is not a > > hw-problem, but I can't get it to work with lcd4linux... > > > > The display is wired like this: > > > > LCD Pin - Symbol - Parallell pin > > 1 Vss GND > > 2 Vdd +5V > > 3 Vo GND > > 4 RS Parallelpin 16 > > 5 R/W GND > > 6 E Parallelpin 1 > > 7 DB0 Parallelpin 2 > > 8 DB1 Parallelpin 3 > > 9 DB2 Parallelpin 4 > > 10 DB3 Parallelpin 5 > > 11 DB4 Parallelpin 6 > > 12 DB5 Parallelpin 7 > > 13 DB6 Parallelpin 8 > > 14 DB7 Parallelpin 9 > > 15 A +5V > > 16 K GND > > > > Is this a predefined wiring (like 8-bit, winamp and so on)? > > > > Anyone who can help with a lcd4linux.conf? I suspect it to be a > driver > > problem, as long as the Driver section of the .conf is ok, I will > > probably be able to configure the rest myself... > > > > Thankful for all help... > > > > Ken > > > > > > |
From: paul k. <pau...@xs...> - 2005-06-03 12:34:41
|
Ok, As far as I can tell, the i2c sensors thing is not the source of your problem. Second, now I am getting a bit confused too. :-) I am using a display connect to an i2c bus, not a parallel port. I did just check, I don't have a /dev/parport0 on my system either. So this deveice specification wouldn't work for me either. I do have a dev/lp0 and a dev/par0 on my system, but I am not sure if it would mean the same device. Since you are using FC3, I found this. http://forums.fedoraforum.org/archive/index.php/t-49358.html There is an entry from Terry Polzin in there. maybe that could solve it. This one could also help https://www.redhat.com/archives/fedora-test-list/2004-October/msg00251.html Let me know if you have any luck. regards, Paul I did notice that on of the other displays actually identifies the device as /dev/parports/0 (maybe that could work for you) Kenneth Solberg wrote: > Sorry Paul, I seem to have installed to different versions. I tried > again and this is what came up: > > [root@localhost bin]# lcd4linux -vv -F -f /etc/lcd4linux.conf > Version 0.10.0-RC1 starting > cfg.c: Warning: key <Row2>: value <Load%l1%L$r14l1> overwritten with > <%p CPU %r MB RAM> > cfg.c: Warning: key <Row1>: value <Busy %cb%% $r14cs+cb> overwritten > with <Load%l1%L$r10cs+cb> > cfg.c: Warning: key <Row2>: value <%p CPU %r MB RAM> overwritten with > <Disk%dm$R10dr+dw> > i2c_sensors: unable to autodetect i2c sensors! > [POP3] No 'Plugin:POP3.server1' entry from /etc/lcd4linux.conf, > disabling POP3 account #1 > [POP3] No 'Plugin:POP3.server2' entry from /etc/lcd4linux.conf, > disabling POP3 account #2 > [POP3] No 'Plugin:POP3.server3' entry from /etc/lcd4linux.conf, > disabling POP3 account #3 > lcd4linux.c: initializing driver HD44780 > HD44780: using model 'generic' > HD44780: using parallel port > HD44780: using 1 controller(s) > HD44780: using 8 bit mode > udelay: The file 'include/asm/msr.h' was missing at compile time. > udelay: Even if your CPU supports TSC, it will not be used! > udelay: You *really* should install msr.h and recompile LCD4linux! > udelay: using gettimeofday() delay loop > HD44780: using ppdev /dev/parport0 > HD44780: ioctl(/dev/parport0, PPCLAIM) failed: 6 No such device or address > HD44780: could not initialize parallel port! > HD44780: start display failed! > > > I'm really getting confused now > > Kenneth |
From: Michael R. <re...@eu...> - 2005-06-03 16:41:08
|
Hi there, > I did just check, I don't have a /dev/parport0 on my system either. So > this deveice specification wouldn't work for me either. > I do have a dev/lp0 and a dev/par0 on my system, but I am not sure if it > would mean the same device. The device lcd4linux needs is the "ppdev" device, it is very important not to confuse it with the lp device. Normally you have to load the ppdev module (unless it's compiled into the kernel, which would be unusual. So the first step is always a 'modprobe ppdev'. You can verify that the driver is loaded by looking for a line in /proc/devices which reads ' 99 ppdev' (the major number of the character device is 99) If you can't find the corresponding device file in /dev, try this: find /dev -type c -major 99 well, at least I thought so :-) unfortunately there is no -major option to 'find'. unless you can locate the correct device file yourself, just create one: 'mknod /dev/parport0 c 99 0' HTH, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Kenneth S. <ke...@gm...> - 2005-06-05 11:41:22
|
I would just like to thank everyone who spends time developing this project= ,=20 especially Paul who helped me a lot trying to configure my lcd4linux. Using= =20 his help I got it to work. Great. For future development I would wish for a multiple layout-function,=20 enabling lcd4linux to scroll through different layouts based on a timer etc= . Ken |
From: Michael R. <re...@eu...> - 2005-06-08 08:27:01
|
Hi Kenneth, > For future development I would wish for a multiple layout-function, > enabling lcd4linux to scroll through different layouts based on a timer etc. This will be one of the first things addressed after lcd4linux-0.10.0 is released (which should have happened this weekend, but there were some issues with the mysql plugin (which should be solved now), and I had a fight with my solering iron and a SMD connector :-) bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |