Re: kill -9 <pid of X>

Ian Collier (imc@comlab.ox.ac.uk)
Thu, 13 Aug 1998 16:51:29 +0100 (BST)


OK, it's obvious what the answer is. [ :-) ]

Collect together a minimal set of display device drivers out of the
X server and put them into a kernel module. Then have the X server
insmod the correct drivers for your graphics card. No one needs to
bother Linus or write kernel patches.

So you end up with a module that creates a /dev/Xgraphics device
[using the gift of dev_fs (-: ] which does all your mode switches.
The X server opens this device and instructs it to change modes,
do some acceleration, whatever. When the device is closed it resets
the graphics mode. This even works if X got killed by an OOM error.

imc

-
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.altern.org/andrebalsa/doc/lkml-faq.html