On Sat, Sep 23, 2006 at 01:30:49PM -0700, jfj wrote: > Hi. > > I'm going to use DirectFB for providing some very basic applications > in an embeded system (like OLPC). Hopefully. > > Now I see that DirectFB *can* work without iopl() (in the general > case we'll just miss waitretrace(), pitty the FBIOWAITRETRACE wasn't > accepted).
? Some fb drivers support the FBIO_WAITFORVSYNC ioctl (matroxfb and atyfb at least). > Now, except waitretrace() are there any other places > that need this kind of priviledges? No. > Does DirectFB use /dev/mem or other hacks that are disabled by > BSD Secure levels? I don't know what BSD secure levels do but I don't think so. > If I allow all users to rw /dev/fb0 and /dev/mouse, will it > work? The mouse device depends on which input driver you use. ps2mouse driver needs access to /dev/psaux, /dev/misc/psaux or /dev/input/mice. keyboard driver needs read access to /dev/tty0 and rw access to the current vt's /dev/tty? device. You can replace both ps2mouse and keyboard drivers with the linuxinput driver which needs rw access to /dev/input/event? devices. -- Ville Syrjälä [EMAIL PROTECTED] http://www.sci.fi/~syrjala/ _______________________________________________ directfb-dev mailing list [email protected] http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
