SHARE
TWEET

Untitled

a guest May 19th, 2017 40 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. root@bug:~# cat /etc/X11/xorg.conf
  2. #
  3. # Initial version of X11 configuration for BugLabs BUG device.
  4. #
  5. # Up to 2 LCD modules are supported (as DISPLAY=0.0/0.1).
  6. # Touchscreen on both screen works properly (req tslib 0.0.6 driver).
  7. #
  8. # Mouse is not supported yet because the evdev driver need a precise
  9. # dev node and evdev dev nodes are somewhat random
  10. #
  11.  
  12. Section "Module"
  13.         disable    "glx"
  14.         disable    "dri2"
  15. EndSection
  16.  
  17.  
  18. Section "Monitor"
  19.         Identifier      "Monitor 1"
  20. EndSection
  21.  
  22. Section "Monitor"
  23.         Identifier      "Monitor 2"
  24. EndSection
  25.  
  26. Section "Device"
  27.         Identifier      "fbdev Device 2"
  28.         Driver  "fbdev"
  29.     Option "fbdev" "/dev/fb2"
  30.     Option "shadowfb" "true"
  31. EndSection
  32.  
  33. Section "Device"
  34.         Identifier      "fbdev Device 1"
  35.         Driver  "fbdev"
  36.     Option "fbdev" "/dev/fb1"
  37.     Option "shadowfb" "true"
  38. EndSection
  39.  
  40. Section "Screen"
  41.         Identifier      "fbdev Screen 2"
  42.         Device  "fbdev Device 2"
  43.         Monitor "Monitor 2"
  44. EndSection
  45.  
  46. Section "Screen"
  47.         Identifier      "fbdev Screen 1"
  48.         Device  "fbdev Device 1"
  49.         Monitor "Monitor 1"
  50. EndSection
  51.  
  52. Section "ServerLayout"
  53.         Identifier      "Layout"
  54.         Screen  "fbdev Screen 1"
  55.         Screen  "fbdev Screen 2" Below "fbdev Screen 1"
  56.         InputDevice "ts4"
  57.         InputDevice "ts5"
  58.     InputDevice "Keyboard"
  59. EndSection
  60.  
  61. Section "InputDevice"
  62.     Identifier "kbd"
  63.     Option "CoreKeyboard" "true"
  64.     Driver "evdev"
  65. EndSection
  66.  
  67. Section "InputDevice"
  68.     Identifier "ts5"
  69.     Driver "tslib"
  70.     Option "Device" "/dev/input/bmi_lcd_ts5"
  71.     Option "ScreenNumber"  "1"
  72. EndSection
  73.  
  74. Section "InputDevice"
  75.     Identifier "ts4"
  76.     Driver "tslib"
  77.     Option "Device" "/dev/input/bmi_lcd_ts4"
  78.     Option "ScreenNumber"  "0"
  79. EndSection
  80.  
  81. Section "InputDevice"
  82.     Identifier  "Keyboard"
  83.     Driver      "kbd"
  84.     Option      "CoreKeyboard"
  85.     Option      "XkbRules"  "xorg"
  86.     Option      "XkbModel"  "pc105"
  87.     Option      "XkbLayout" "us"
  88. EndSection
  89.  
  90. Section "ServerFlags"
  91.     Option "AutoAddDevices"     "false"
  92.     Option "AllowEmptyInput"    "true"
  93. #        Option "DontZap
  94. EndSection
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top