diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-06-26 09:27:06 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-26 18:58:32 +0200 |
commit | 5428b04405af1bb441aa8aabd314e48b870bc58e (patch) | |
tree | f5f94e7ddc3df72e9c323fdab82b0805cf32abe6 /COPYING | |
parent | [PATCH] Detaching fbcon: clean up exit code (diff) | |
download | linux-5428b04405af1bb441aa8aabd314e48b870bc58e.tar.xz linux-5428b04405af1bb441aa8aabd314e48b870bc58e.zip |
[PATCH] Detaching fbcon: add capability to attach/detach fbcon
Add the ability to detach and attach the framebuffer console to and from the
vt layer. This is done by echo'ing any value to sysfs attributes located in
class/graphics/fbcon. The two attributes are:
attach - bind fbcon to the vt layer
detach - unbind fbcon from the vt layer
Once fbcon is detached from the vt layer, fbcon can be unloaded if compiled as
a module. This feature is quite useful for developers who work on the
framebuffer or console subsystem. This is also useful for users who want to
go to text mode or graphics mode without having to reboot.
Directly unloading the fbcon module is not possible because the vt layer
increments the module reference count for all bound consoles. Detaching fbcon
decrements the module reference count to zero so unloading becomes possible.
Detaching fbcon may interfere with X and/or DRM.
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions