Martin,

Your memory is pretty good. I loaded the modules, but kept getting errors. 
I did some research and found that the parport_pc module is also required. 
I loaded it, and now I'm getting information on my display. 

Thanks for all the help.

Roger





Martin Hejl <martin
@hejl.de>
11/30/2004 01:45 PM
 
        To:     Roger E McClurg/CEG/[EMAIL PROTECTED]
        cc:     [EMAIL PROTECTED]
        Subject:        Re: [leaf-user] lcd4linux problem


Hi Robert,

Roger E McClurg wrote:
> Martin,
> 
> I was installing lcd4linux on the wrong build of Bering. When I swapped 
to 
> the correct CF the software loaded.
> 
> I am using an HD44780. I read the lcd4linux manual, and configured the 
> lcd4linux.conf accordingly. Unfortunately when I start lcd4linux with 
"svi 
> lcd4linux start" I get the following error:
> Starting LCD4linux:grsec: denied use of ioperm() by (lcd4linux:9573) 
> UID(0) EUID(0), parent (lcd4linux:21905) UID(0) EUID(0) 
> 
> Do you have any idea what is wrong?
Yes. You're trying to use the old (deprecated) method of accessing the 
display via port-io (this is "triggered" by specifying something like 
"Port 0x378" in your config file).

Port-IO from userspace is prohibited by the grsecurity patches that are 
applied to the Bering and Bering-uClibc kernels.

There are two ways of getting around it - either use the more modern 
parport device (you need to install the modules ppdev and parport, if I 
recall correctly) and then adjust the config so it will read something 
like "Port /dev/parport0" (or whatever it is on your system - just note 
that on leaf, the parports are not split into directories, like they are 
in the default config of lcd4linux).
Note, I'm going from memory here, since I don't have a leaf box at the 
moment that even has a parallel port, so I can't check.


The other way to get around it (if for some reason you can't make things 
work with parport) is to build your own kernel, whithout 
"CONFIG_GRKERNSEC_IO=y" in your kernel config.

I hope that helps.

Martin




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to