Antonino A. Daplas 6db4063c5b [PATCH] VT binding: Add sysfs control to the VT layer
Add sysfs control to the VT layer.  A new sysfs class, 'vtconsole', and class
devices 'vtcon[n]' are added.  Each class device file has the following
attributes:

/sys/class/vtconsole/vtcon[n]/name - read-only attribute showing the
                                     name of the current backend

/sys/class/vtconsole/vtcon[n]/bind - read/write attribute
             where: 0 - backend is unbound/unbind backend from the VT layer
                    1 - backend is bound/bind backend to the VT layer

In addition, if any of the consoles are in KD_GRAPHICS mode, binding and
unbinding will not succeed.  KD_GRAPHICS mode usually indicates that the
underlying console hardware is used for other purposes other than displaying
text (ie X).  This feature should prevent binding/unbinding from interfering
with a graphics application using the VT.

[akpm@osdl.org: warning fixes]
Signed-off-by: Antonino Daplas <adaplas@pol.net>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-26 09:58:33 -07:00
..
2006-06-26 09:58:17 -07:00
2006-06-25 10:01:16 -07:00
2006-06-23 07:43:06 -07:00
2006-06-23 08:47:27 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:19 -07:00
2006-06-25 10:01:14 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-26 09:58:18 -07:00
2006-06-23 07:43:06 -07:00