Skip to contentSkip to conversation

Add output class document

PATCH Applied [email protected] 1 participant 1 message Dec 19, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 12/19 Add output class document

From: Yu Luming <[email protected]>

Add output class document

Cc "Antonino A. Daplas" <[email protected]>
Cc "Brown, Len" <[email protected]>
Cc Greg KH <[email protected]>

---

 Documentation/video-output.txt |   34 +++++++++++++++++++++++++++++++
 1 files changed, 34 insertions(+)
Documentation/video-output.txt new file +34 -0
diff -puN /dev/null Documentation/video-output.txt
@@ -0,0 +1,34 @@
+
+		Video Output Switcher Control
+		~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+		2006 [email protected]
+
+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
+

_