35 lines · plain
1Video Output Switcher Control2~~~~~~~~~~~~~~~~~~~~~~~~~~~~~3 42006 luming.yu@intel.com5 6The output sysfs class driver provides an abstract video output layer that7can be used to hook platform specific methods to enable/disable video output8device through common sysfs interface. For example, on my IBM ThinkPad T429laptop, The ACPI video driver registered its output devices and read/write10method for 'state' with output sysfs class. The user interface under sysfs is::11 12 linux:/sys/class/video_output # tree .13 .14 |-- CRT015 | |-- device -> ../../../devices/pci0000:00/0000:00:01.016 | |-- state17 | |-- subsystem -> ../../../class/video_output18 | `-- uevent19 |-- DVI020 | |-- device -> ../../../devices/pci0000:00/0000:00:01.021 | |-- state22 | |-- subsystem -> ../../../class/video_output23 | `-- uevent24 |-- LCD025 | |-- device -> ../../../devices/pci0000:00/0000:00:01.026 | |-- state27 | |-- subsystem -> ../../../class/video_output28 | `-- uevent29 `-- TV030 |-- device -> ../../../devices/pci0000:00/0000:00:01.031 |-- state32 |-- subsystem -> ../../../class/video_output33 `-- uevent34 35