aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2007-02-03 01:39:22 -0500
committerLen Brown <len.brown@intel.com>2007-02-03 01:39:22 -0500
commit274ec7a8c07036bd02e8f2301456e443ef30b8a8 (patch)
tree1ed2159c6a9c18e78ac3d769f221fdb0f0237d59 /Documentation
parentPull trivial into test branch (diff)
parentoutput: Add output class document (diff)
downloadlinux-dev-274ec7a8c07036bd02e8f2301456e443ef30b8a8.tar.xz
linux-dev-274ec7a8c07036bd02e8f2301456e443ef30b8a8.zip
Pull output-switch into test branch
Diffstat (limited to 'Documentation')
-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 000000000000..e517011be4f9
--- /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
+