video-output.txt 1.1 KB

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