Back to home page

OSCL-LXR

 
 

    


0001 Video Output Switcher Control
0002 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
0003 
0004 2006 luming.yu@intel.com
0005 
0006 The output sysfs class driver provides an abstract video output layer that
0007 can be used to hook platform specific methods to enable/disable video output
0008 device through common sysfs interface. For example, on my IBM ThinkPad T42
0009 laptop, The ACPI video driver registered its output devices and read/write
0010 method for 'state' with output sysfs class. The user interface under sysfs is::
0011 
0012   linux:/sys/class/video_output # tree .
0013   .
0014   |-- CRT0
0015   |   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
0016   |   |-- state
0017   |   |-- subsystem -> ../../../class/video_output
0018   |   `-- uevent
0019   |-- DVI0
0020   |   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
0021   |   |-- state
0022   |   |-- subsystem -> ../../../class/video_output
0023   |   `-- uevent
0024   |-- LCD0
0025   |   |-- device -> ../../../devices/pci0000:00/0000:00:01.0
0026   |   |-- state
0027   |   |-- subsystem -> ../../../class/video_output
0028   |   `-- uevent
0029   `-- TV0
0030      |-- device -> ../../../devices/pci0000:00/0000:00:01.0
0031      |-- state
0032      |-- subsystem -> ../../../class/video_output
0033      `-- uevent
0034