Re: [linux-fbdev] fbdev 2.4.0 cleanups

From: Greg Haerr (greg@Censoft.com)
Date: Sun Mar 19 2000 - 16:41:21 EST


: > IIRC, colour depth requires a restart of the server and all applications.
: >
: : Yes, X can't change color depth without restarting.
:
: But `some app' may be something that does support color depth changing (e.g.
: plain fbset).

There are some other servers that _could_ easily support runtime
color depth changing - like Microwindows. What's missing is that
there's no signal to tell an opened process that the fb parms have changed.
(When VT switches occur, you get a signal, it seems that when framebuffer
parms change, you might want a signal) This functionality could be
added to fbset.

Also, on the single-open subject, it is still very desirable to have multiple
procs on multiple consoles open /dev/fb0 simultaneously. If a server
uses hardware extensions, then it could use O_EXCL to keep others
out. Otherwise, graphics programs that just read (or write without using
hardware
registers) could be run on more than one VC simultaneously. If even
this is undesired, then change the permissions on the file system. Tasks
with setuserid root have to be coded with some assumptions.

Regards,

Greg
http://microwindows.org

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:27 EST