From: Michael R. <re...@eu...> - 2004-12-21 04:39:43
|
Hi Kevin, > i posted this yesterday on the leaf mailing list, was hoping to get a > fix soon and it's not had any hits yet, so i'm re-posting - hope > that's not a problem. No. it is not. > the lcd4linux module can't gain access to the parallel port. > i'm using bering-uClibc, 2.1 on a EPIA 5000 mini-itx motherboard. > > on startup i'm loading the ppdev.o, parport.o, and parport_pc.o > modules and the messages file under /var/log shows "parport0: PC-style > at 0x378 [PCSPP(,...)]" on boot-up. > > however, when i run the lcd4linux module - after everything > initializes and it goes to set up the parallel port i get: > parport.c: using ppdev /dev/parport0 > parport: open(/dev/parport0) failed: No such device > HD44780: could not initialize parallel port! > > any assistance would be appreciated, i'm not sure why it says there's > no device parport0, since it seems to initialize properly on boot-up. Hmmm... - is there a /dev/parport0 device file? (or is it called /dev/parport/0)? - what's the major/minor number of /dev/parport0? - as a quick hack, you could try to specify "Port 0x378" in your lcd4linux.conf. Then it will not use ppdev, but raw port i/o (which is ugly, but if it works... who cares :-) bye, Michael -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |