From: Michael R. <re...@eu...> - 2003-08-14 05:37:27
|
[I'm CCing this to the list. YOu should always post such questions to the list, maybe someone else could help you, and, more important, these questions and answers will be available to the public] Jan Kloppenburg wrote: > I have a HD44780 comatible lcd, nut also a problem. > I cannot run the LCD at all, because of the following error: > > [root@kernel lcd4linux-0.9.9]# ./lcd4linux -F -vvv > Version 0.9.9 starting > lcd4linux.c: initializing driver HD44780 > wiring: [PARPORT:GND]==>[DISPLAY:RW] > wiring: [PARPORT:AUTOFD]==>[DISPLAY:RS] > wiring: [PARPORT:STROBE]==>[DISPLAY:ENABLE] > wiring: [PARPORT:INIT]==>[DISPLAY:GPO] > udelay.c: CPU supports Time Stamp Counter > udelay.c: CPU runs at 908.108000 MHz > udelay.c: using TSC delay loop, 909 ticks per microsecond > parport.c: using ppdev /dev/printers/0 > parport: ioctl(/dev/printers/0, PPCLAIM) failed: 22 Invalid argument > HD44780: could not initialize parallel port! The solution is simple: you have to use /dev/parports/0 and not /dev/printers/0. /dev/parports/* are "raw" parport devices with major number 99, while /dev/printers/* are "printer" devices (major number 6). bye, Michael -- netWorks Vox: +43 316 698260 Michael Reinelt Fax: +43 316 692343 Geisslergasse 4 GSM: +43 676 3079941 A-8045 Graz, Austria e-mail: re...@eu... |
From: Michael R. <re...@eu...> - 2004-11-29 04:59:37
|
Hi Petri, > I was playing with the CVS version of the lcd4linux. The new config file > syntax looks good, but why there is 99.999s limit in update time? I use > lcd4linux to check email and have used update times like 300 seconds. I > changed the limit in source code to bigger value and it seems to work OK. Thanks for pointing this out. There's no real reason, apart from writing '99999' being so convenient :-) Fixed in CVS. Note for developers: range checking for upper limit on cfg_nubmer() will *not* be performed if (max==-1 && max < min) bye, Michael -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Michael R. <re...@eu...> - 2004-12-21 05:01:35
|
Hi Spuds, sorry for the delay, I've been too busy.... > Please help me to start my lcd! > I have a HD44780 display with this wireing: > > Data/instruction signal - RS parallel port pin 16 > Chip enable signal - E parallel port pin 1 > data bit 0 - DB0 parallel port pin 2 > data bit 1 - DB1 parallel port pin 3 > data bit 2 - DB2 parallel port pin 4 > data bit 3 - DB3 parallel port pin 5 > data bit 4 - DB4 parallel port pin 6 > data bit 5 - DB5 parallel port pin 7 > data bit 6 - DB6 parallel port pin 8 > data bit 7 - DB7 parallel port pin 9 > Led anode - LED+ 4.2V > Led cathode - LED- ground > Ground - Vss ground > Supply voltage for logic - Vdd 5V > Input voltage for LCD - V0 ground > Read/Write mode - R/W ground The wiring entries in lcd4linux.conf should be: Wire.RW "GND" Wire.RS "INIT" Wire.ENABLE "STROBE" Wire.ENABLE2 "GND" Wire.GPO "GND" HTH, Michael -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Michael R. <re...@eu...> - 2004-12-22 20:21:47
|
Hi there, >> The wiring entries in lcd4linux.conf should be: >> >> Wire.RW "GND" >> Wire.RS "INIT" >> Wire.ENABLE "STROBE" >> Wire.ENABLE2 "GND" >> Wire.GPO "GND" > thanks, it workz!! Fine! > can you make a GUI for this amaizing stuff? (like jalcds clean & useful) No, I'm afraid I don't want to. I'm focussing on the internals of lcd4linux. If you or someone wants to create a GUI (mainly for creating/modifying the lcd4linux.conf), you're welcome! bye, michael -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Michael R. <re...@eu...> - 2007-01-15 05:42:49
|
Hi Alexey, > Is there any possibility that lcd4linux works with > usb-lpt devices, such as Trendnet TU-P1284, based > on Prolific PL2305 S\USB-LPT Bridge? > Kernel drivers create /dev/usblp0 Well, I never tried, but I think it will NOT work. These USB-LPT-Bridges emulate somehow a Printer interface; where LCD4Linux requires a lower level, the ability to change every single line with a neat timing. Therefore on a real parport, LCD4Linux does not use the lp interface, but the ppdev interface. As you wrote above, your kernel driver provides the lp interface only, but no ppdev. bye, Michael -- Michael Reinelt <re...@eu...> http://home.pages.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |