Advertisement
Guest User

/etc/X11/xorg.conf.d/fbtft.conf

a guest
Apr 6th, 2016
421
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. # FBTFT xorg config file
  2. #
  3. # startx -- -layout TFT
  4. # startx -- -layout HDMI
  5. #
  6. # startx
  7. # When -layout is not set, the first is used: TFT
  8. #
  9.  
  10. Section "ServerLayout"
  11. Identifier "TFT"
  12. Screen 0 "ScreenTFT"
  13. EndSection
  14.  
  15. Section "ServerLayout"
  16. Identifier "HDMI"
  17. Screen 0 "ScreenHDMI"
  18. EndSection
  19.  
  20. Section "Screen"
  21. Identifier "ScreenHDMI"
  22. Monitor "MonitorHDMI"
  23. Device "DeviceHDMI"
  24. Endsection
  25.  
  26. Section "Screen"
  27. Identifier "ScreenTFT"
  28. Monitor "MonitorTFT"
  29. Device "DeviceTFT"
  30. Endsection
  31.  
  32. Section "Monitor"
  33. Identifier "MonitorHDMI"
  34. Endsection
  35.  
  36. Section "Monitor"
  37. Identifier "MonitorTFT"
  38. Endsection
  39.  
  40. Section "Device"
  41. Identifier "DeviceHDMI"
  42. Driver "fbturbo"
  43. Option "fbdev" "/dev/fb0"
  44. Option "SwapbuffersWait" "true"
  45. EndSection
  46.  
  47. Section "Device"
  48. Identifier "DeviceTFT"
  49. Option "fbdev" "/dev/fb1"
  50. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement