Advertisement
Guest User

Untitled

a guest
Jul 17th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.10 KB | None | 0 0
  1. # Catchall classes for input devices
  2. # We don't simply match on any device since that also adds accelerometers
  3. # and other devices that we don't really want to use. The list below
  4.  
  5. # matches everything but joysticks.
  6. Section "InputClass"
  7. Identifier "evdev pointer catchall"
  8. MatchIsPointer "on"
  9. MatchDevicePath "/dev/input/event*"
  10. Driver "evdev"
  11. EndSection
  12.  
  13. Section "InputClass"
  14. Identifier "evdev keyboard catchall"
  15. MatchIsKeyboard "on"
  16. MatchDevicePath "/dev/input/event*"
  17. Driver "evdev"
  18. EndSection
  19.  
  20. Section "InputClass"
  21. Identifier "evdev touchpad catchall"
  22. MatchIsTouchpad "on"
  23. MatchDevicePath "/dev/input/event*"
  24. Driver "evdev"
  25. EndSection
  26.  
  27. Section "InputClass"
  28. Identifier "evdev tablet catchall"
  29. MatchIsTablet "on"
  30. MatchDevicePath "/dev/input/event*"
  31. Driver "evdev"
  32. EndSection
  33.  
  34. Section "InputClass"
  35. Identifier "evdev touchscreen catchall"
  36. MatchIsTouchscreen "on"
  37. MatchDevicePath "/dev/input/event*"
  38. Driver "evdev"
  39. EndSection
  40.  
  41. # Custom stuff
  42. Section "Device"
  43. ### Available Driver options are:-
  44. ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  45. ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  46. ### [arg]: arg optional
  47. #Option "ShadowFB" # [<bool>]
  48. #Option "DefaultRefresh" # [<bool>]
  49. #Option "ModeSetClearScreen" # [<bool>]
  50. Identifier "Card0"
  51. #Driver "nvidia"
  52. Driver "radeon"
  53. VendorName "nVidia Corporation"
  54. BoardName "NV43 [GeForce 6200]"
  55. BusID "PCI:1:0:0"
  56.  
  57. Option "RandRRotation" "True"
  58. Screen 0
  59. EndSection
  60.  
  61. # Redundant!
  62. Section "Device"
  63. ### Available Driver options are:-
  64. ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
  65. ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
  66. ### [arg]: arg optional
  67. #Option "ShadowFB" # [<bool>]
  68. #Option "DefaultRefresh" # [<bool>]
  69. #Option "ModeSetClearScreen" # [<bool>]
  70. Identifier "Card1"
  71. #Driver "nvidia"
  72. Driver "radeon"
  73. VendorName "nVidia Corporation"
  74. BoardName "NV43 [GeForce 6200]"
  75. BusID "PCI:1:0:0"
  76.  
  77. Option "RandRRotation" "True"
  78. Screen 1
  79. EndSection
  80.  
  81. #Section "Screen"
  82. # Identifier "Screen0"
  83. # Device "Card0"
  84. # Monitor "Monitor0"
  85. # SubSection "Display"
  86. # Viewport 0 0
  87. # Depth 1
  88. # EndSubSection
  89. # SubSection "Display"
  90. # Viewport 0 0
  91. # Depth 4
  92. # EndSubSection
  93. # SubSection "Display"
  94. # Viewport 0 0
  95. # Depth 8
  96. # EndSubSection
  97. # SubSection "Display"
  98. # Viewport 0 0
  99. # Depth 15
  100. # EndSubSection
  101. # SubSection "Display"
  102. # Viewport 0 0
  103. # Depth 16
  104. # EndSubSection
  105. # SubSection "Display"
  106. # Viewport 0 0
  107. # Depth 24
  108. # EndSubSection
  109. #EndSection
  110.  
  111. # Stuff generated from nvidia, really want to split this into different files
  112. Section "InputDevice"
  113. # generated from default
  114. Identifier "Mouse0"
  115. Driver "mouse"
  116. Option "Protocol" "auto"
  117. Option "Device" "/dev/psaux"
  118. Option "Emulate3Buttons" "no"
  119. Option "ZAxisMapping" "4 5"
  120. EndSection
  121.  
  122. Section "InputDevice"
  123. # generated from default
  124. Identifier "Keyboard0"
  125. Driver "kbd"
  126. EndSection
  127.  
  128. Section "Monitor"
  129. # HorizSync source: edid, VertRefresh source: edid
  130. Identifier "Monitor0"
  131. VendorName "Unknown"
  132. ModelName "DELL 2001FP"
  133. HorizSync 31.0 - 80.0
  134. VertRefresh 56.0 - 76.0
  135. Option "DPMS"
  136. Option "Enable" "true"
  137. EndSection
  138.  
  139. Section "Monitor"
  140. # HorizSync source: edid, VertRefresh source: edid
  141. Identifier "Monitor1"
  142. VendorName "Unknown"
  143. ModelName "DELL 2001FP"
  144. HorizSync 31.0 - 80.0
  145. VertRefresh 56.0 - 76.0
  146. Option "DPMS"
  147. Option "Enable" "true"
  148. EndSection
  149.  
  150. Section "ServerLayout"
  151. Identifier "Layout0"
  152. Screen 0 "Screen0" 0 0
  153. Screen 1 "Screen1" RightOf "Screen0"
  154. InputDevice "Keyboard0" "CoreKeyboard"
  155. InputDevice "Mouse0" "CorePointer"
  156. Option "Xinerama" "1"
  157. EndSection
  158.  
  159. Section "Screen"
  160. Identifier "Screen0"
  161. Device "Card0"
  162. Monitor "Monitor0"
  163. DefaultDepth 24
  164. Option "TwinView" "0"
  165. Option "TwinViewXineramaInfoOrder" "CRT-0"
  166. Option "metamodes" "CRT: nvidia-auto-select +0+0"
  167. Option "Rotate" "CCW"
  168. SubSection "Display"
  169. Depth 24
  170. EndSubSection
  171. EndSection
  172.  
  173. Section "Screen"
  174. Identifier "Screen1"
  175. Device "Card1"
  176. Monitor "Monitor1"
  177. DefaultDepth 24
  178. Option "TwinView" "0"
  179. Option "metamodes" "DFP: nvidia-auto-select +0+0"
  180. SubSection "Display"
  181. Depth 24
  182. EndSubSection
  183. EndSection
  184.  
  185. Section "Extensions"
  186. Option "Composite" "Enable"
  187. EndSection
  188.  
  189. Section "Files"
  190. FontPath "/usr/share/fonts/local"
  191. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement