Hi Robert,
Roger E McClurg wrote:
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).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?
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
