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... |