2019-04-10 16:56:25 +07:00
|
|
|
Video Output Switcher Control
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
2006-12-20 03:56:18 +07:00
|
|
|
|
2019-04-10 16:56:25 +07:00
|
|
|
2006 luming.yu@intel.com
|
2006-12-20 03:56:18 +07:00
|
|
|
|
|
|
|
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
|
2019-04-10 16:56:25 +07:00
|
|
|
method for 'state' with output sysfs class. The user interface under sysfs is::
|
2006-12-20 03:56:18 +07:00
|
|
|
|
2019-04-10 16:56:25 +07:00
|
|
|
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
|
2006-12-20 03:56:18 +07:00
|
|
|
|