From: Kevin K. <sup...@gm...> - 2004-12-21 15:29:42
|
As Martin said, i'm blocked from directly accessing the port - that's why i'm onto the parport type access. I neglected to mention that i'm really not familiar with linux that much and have only learned as much as required to setup and use this LEAF box. i'd really love some direction as to how to check how exactly the parport device should be accessed. if i look under /dev/ i see parport0, parport1, etc. up to parport3. i believe leaf does not use the subdirectory system for parport devices like some other linux distributions (i'm always up for being corrected, though).. i'm not sure what you mean by major/minor number of /dev/parport0 - please direct me as to how to provide more information on this front. is there a way to check and see that the parallel port is actually configured and ready for use? how do i know if i'm just not calling it properly with the port specification of /dev/parport0 ? i greatly appreciate the help, i'd love to sort this out but i don't know enough about it to move ahead any farther on my own. On Tue, 21 Dec 2004 10:55:37 +0100, Martin Hejl <ma...@he...> wrote: > Hi Michael, > > Michael Reinelt wrote: > > - 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 :-) > no, that will not work on a LEAF box - raw I/O is not allowed from > userspace on the LEAF kernels (part of the grsecurity patches we apply). > > Martin > |