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-23 07:52:36 -07:00
2006-06-24 17:37:48 +10:00
2006-03-26 19:18:07 +02:00
2006-06-26 09:58:19 -07:00
2006-06-25 10:01:16 -07:00
2006-06-26 09:58:18 -07:00
2006-04-28 08:33:46 -07:00
2006-06-25 10:01:19 -07:00
2006-05-27 02:27:23 -04:00
2006-05-31 16:27:10 -07:00
2006-05-15 21:38:14 +02:00
2006-01-01 22:21:50 +01:00
2006-03-23 07:38:16 -08:00
2006-06-25 10:01:05 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-11-07 07:54:02 -08:00
2005-04-16 15:20:36 -07:00
2006-04-20 07:54:03 -07:00
2006-06-25 10:01:17 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2005-09-07 16:57:20 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:24:57 -07:00
2006-01-12 09:09:04 -08:00
2006-04-11 06:18:41 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-26 18:17:21 +02:00
2005-09-16 10:38:10 -07:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:17 -07:00
2006-03-28 23:15:54 +11:00
2006-03-23 07:38:14 -08:00
2006-05-01 18:17:47 -07:00
2006-06-26 09:58:20 -07:00
2006-04-01 22:07:51 -05:00
2006-06-09 21:24:18 +10:00
2006-03-28 16:45:26 +11:00
2006-06-09 21:24:20 +10:00
2006-03-28 16:45:26 +11:00
2006-04-01 22:36:57 +11:00
2006-04-22 18:45:07 +10:00
2005-11-12 11:42:32 -08:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:19 -07:00
2006-03-31 12:18:56 -08:00
2005-04-16 15:20:36 -07:00
2006-06-26 09:58:19 -07:00
2006-06-26 09:58:17 -07:00
2005-10-29 19:30:42 +01:00
2005-10-29 19:30:42 +01:00
2005-10-28 09:52:52 -07:00
2006-06-26 09:58:19 -07:00
2005-10-04 09:39:18 -07:00
2005-05-04 07:33:13 -07:00
2006-04-26 14:40:08 +02:00
2006-03-28 09:16:05 -08:00
2006-06-25 10:00:55 -07:00
2006-01-10 09:45:36 -08:00
2006-06-25 10:01:08 -07:00
2006-03-28 09:16:08 -08:00
2006-01-10 08:02:00 -08:00
2006-06-25 10:01:17 -07:00
2006-06-11 20:40:39 -07:00
2006-01-10 08:01:56 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-23 07:38:11 -08:00
2006-03-25 08:22:53 -08:00
2006-01-10 08:01:59 -08:00
2005-10-29 19:30:55 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-04-09 22:29:17 -07:00
2006-03-23 07:38:10 -08:00
2005-04-16 15:20:36 -07:00
2006-03-25 08:22:52 -08:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:25:04 -07:00
2006-06-25 10:01:22 -07:00
2005-04-16 15:20:36 -07:00
2006-06-23 23:15:28 -07:00
2006-03-20 13:42:57 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-12 09:09:00 -08:00
2005-04-16 15:20:36 -07:00
2006-01-10 08:01:59 -08:00
2006-03-23 07:38:14 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-14 10:41:42 -08:00
2006-03-23 07:38:15 -08:00
2006-04-22 09:19:53 -07:00
2006-01-26 13:32:26 -08:00
2006-06-15 21:28:57 -04:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:19 -07:00
2006-03-31 12:18:56 -08:00
2006-03-23 07:38:14 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-06-25 10:01:24 -07:00
2006-03-28 09:16:08 -08:00
2006-06-25 10:01:19 -07:00
2006-03-25 08:22:52 -08:00
2006-03-22 07:53:56 -08:00
2006-04-28 08:33:46 -07:00
2006-04-11 06:18:43 -07:00
2006-03-24 07:33:19 -08:00
2006-06-21 12:40:47 -07:00
2005-06-28 21:20:34 -07:00
2005-12-29 10:19:21 -08:00
2006-01-12 20:09:29 +11:00
2006-05-19 14:35:31 +10:00
2006-03-23 07:38:14 -08:00
2006-03-22 07:53:56 -08:00
2005-11-07 07:53:39 -08:00
2006-06-26 09:58:33 -07:00