summaryrefslogtreecommitdiffstats
path: root/Documentation/video-output.txt
diff options
context:
space:
mode:
authorYu Luming <luming.yu@gmail.com>2006-12-19 12:56:18 -0800
committerLen Brown <len.brown@intel.com>2006-12-20 01:46:58 -0500
commitb03637b8863159a4518cb0a9ab90577460fe3417 (patch)
tree2fee495630226adcffeec20f47d1254aaccdc23e /Documentation/video-output.txt
parent2dec3ba8d872aa3ffbcdb8f6f8a2c0bcd44e9910 (diff)
downloadop-kernel-dev-b03637b8863159a4518cb0a9ab90577460fe3417.zip
op-kernel-dev-b03637b8863159a4518cb0a9ab90577460fe3417.tar.gz
output: Add output class document
Signed-off-by: Luming Yu <Luming.yu@intel.com> Cc: "Antonino A. Daplas" <adaplas@pol.net> Cc: Greg KH <greg@kroah.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation/video-output.txt')
-rw-r--r--Documentation/video-output.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/Documentation/video-output.txt b/Documentation/video-output.txt
new file mode 100644
index 0000000..e517011
--- /dev/null
+++ b/Documentation/video-output.txt
@@ -0,0 +1,34 @@
+
+ Video Output Switcher Control
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 2006 luming.yu@intel.com
+
+The output sysfs class driver provides an abstract video output layer that
+can be used to hook platform specific methods to enable/disable video output
+device through common sysfs interface. For example, on my IBM ThinkPad T42
+laptop, The ACPI video driver registered its output devices and read/write
+method for 'state' with output sysfs class. The user interface under sysfs is:
+
+linux:/sys/class/video_output # tree .
+.
+|-- CRT0
+| |-- device -> ../../../devices/pci0000:00/0000:00:01.0
+| |-- state
+| |-- subsystem -> ../../../class/video_output
+| `-- uevent
+|-- DVI0
+| |-- device -> ../../../devices/pci0000:00/0000:00:01.0
+| |-- state
+| |-- subsystem -> ../../../class/video_output
+| `-- uevent
+|-- LCD0
+| |-- device -> ../../../devices/pci0000:00/0000:00:01.0
+| |-- state
+| |-- subsystem -> ../../../class/video_output
+| `-- uevent
+`-- TV0
+ |-- device -> ../../../devices/pci0000:00/0000:00:01.0
+ |-- state
+ |-- subsystem -> ../../../class/video_output
+ `-- uevent
+
OpenPOWER on IntegriCloud