> Just so I understand this better, what exactly would have to go in the
> kernel for it to be able to restore text mode in this sort of situation,
> or perhaps if it is given some kind of keyboard signal.
Something maybe like a /dev/graph, and:
X: open /dev/graph
X: ioctl(fd, GRAPH_SET_MODE, MODE_1024_768_32)
X: CRASH!!!!!! (or kill -9) implicit exit() implicit close (dev_graph_fd)
kernel: ooh usage count on /dev/graph is 0 and we're still in gfx mode
kernel: better tell the driver to revert back to textmode
gfx driver: no problem, I know how to go MODE_1024_768_32 -> MODE_TEXT_80_25
Sounds nice doesn't it?
Chris
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu