Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
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>
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|