^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Video Output Switcher Control
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) 2006 luming.yu@intel.com
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) The output sysfs class driver provides an abstract video output layer that
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) can be used to hook platform specific methods to enable/disable video output
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) device through common sysfs interface. For example, on my IBM ThinkPad T42
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) laptop, The ACPI video driver registered its output devices and read/write
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) method for 'state' with output sysfs class. The user interface under sysfs is::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) linux:/sys/class/video_output # tree .
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) .
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) |-- CRT0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) | |-- device -> ../../../devices/pci0000:00/0000:00:01.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) | |-- state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) | |-- subsystem -> ../../../class/video_output
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) | `-- uevent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) |-- DVI0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) | |-- device -> ../../../devices/pci0000:00/0000:00:01.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) | |-- state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) | |-- subsystem -> ../../../class/video_output
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) | `-- uevent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) |-- LCD0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) | |-- device -> ../../../devices/pci0000:00/0000:00:01.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) | |-- state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) | |-- subsystem -> ../../../class/video_output
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) | `-- uevent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) `-- TV0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) |-- device -> ../../../devices/pci0000:00/0000:00:01.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) |-- state
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) |-- subsystem -> ../../../class/video_output
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) `-- uevent
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34)