Advertisement
Guest User

xorg.conf-vesa

a guest
Aug 5th, 2011
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.76 KB | None | 0 0
  1. # File generated by xf86config.
  2.  
  3. #
  4. # Copyright (c) 1999 by The XFree86 Project, Inc.
  5. #
  6. # Permission is hereby granted, free of charge, to any person obtaining a
  7. # copy of this software and associated documentation files (the "Software"),
  8. # to deal in the Software without restriction, including without limitation
  9. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  10. # and/or sell copies of the Software, and to permit persons to whom the
  11. # Software is furnished to do so, subject to the following conditions:
  12. #
  13. # The above copyright notice and this permission notice shall be included in
  14. # all copies or substantial portions of the Software.
  15. #
  16. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  17. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  18. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  19. # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  20. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  21. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  22. # SOFTWARE.
  23. #
  24. # Except as contained in this notice, the name of the XFree86 Project shall
  25. # not be used in advertising or otherwise to promote the sale, use or other
  26. # dealings in this Software without prior written authorization from the
  27. # XFree86 Project.
  28. #
  29.  
  30. # **********************************************************************
  31. # Refer to the XF86Config(4/5) man page for details about the format of
  32. # this file.
  33. # **********************************************************************
  34.  
  35. # NOTE: This is a NEW IMPROVED version of XF86Config-fbdev that uses the vesa
  36. # driver instead of the fbdev driver. Thanks to Kenneth Fanyo who pointed
  37. # this out to me. :)
  38.  
  39. # This XF86Config file is designed for use with the VESA framebuffer.
  40. # This generic interface should work with nearly all video cards
  41. # (although not every card will support every resolution).
  42.  
  43. # With the new driver, it should no longer be required to have frame buffer
  44. # support in the kernel, or to run it on the console.
  45. #
  46. # Enjoy! :)
  47. # -- volkerdi@slackware.com
  48. #
  49.  
  50. # **********************************************************************
  51. # Module section -- this section is used to specify
  52. # which dynamically loadable modules to load.
  53. # **********************************************************************
  54. #
  55. Section "Module"
  56.  
  57. # This loads the DBE extension module.
  58.  
  59. Load "dbe" # Double buffer extension
  60.  
  61. # This loads the miscellaneous extensions module, and disables
  62. # initialisation of the XFree86-DGA extension within that module.
  63. SubSection "extmod"
  64. Option "omit xfree86-dga" # don't initialise the DGA extension
  65. EndSubSection
  66.  
  67. # This loads the font modules
  68. Load "type1"
  69. Load "freetype"
  70. #Load "speedo"
  71.  
  72. # This loads the GLX module
  73. Load "glx"
  74.  
  75. EndSection
  76.  
  77. # **********************************************************************
  78. # Files section. This allows default font and rgb paths to be set
  79. # **********************************************************************
  80.  
  81. Section "Files"
  82. ModulePath "/opt/xorg/lib/xorg/modules,/usr/lib/xorg/modules"
  83. EndSection
  84.  
  85. # **********************************************************************
  86. # Server flags section.
  87. # **********************************************************************
  88.  
  89. Section "ServerFlags"
  90.  
  91. # Uncomment this to cause a core dump at the spot where a signal is
  92. # received. This may leave the console in an unusable state, but may
  93. # provide a better stack trace in the core dump to aid in debugging
  94.  
  95. # Option "NoTrapSignals"
  96.  
  97. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  98. # (where n is 1 through 12). This allows clients to receive these key
  99. # events.
  100.  
  101. # Option "DontVTSwitch"
  102.  
  103. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  104. # This allows clients to receive this key event.
  105.  
  106. # Option "DontZap"
  107.  
  108. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  109. # sequences. This allows clients to receive these key events.
  110.  
  111. # Option "DontZoom"
  112.  
  113. # Uncomment this to disable tuning with the xvidtune client. With
  114. # it the client can still run and fetch card and monitor attributes,
  115. # but it will not be allowed to change them. If it tries it will
  116. # receive a protocol error.
  117.  
  118. # Option "DisableVidModeExtension"
  119.  
  120. # Uncomment this to enable the use of a non-local xvidtune client.
  121.  
  122. # Option "AllowNonLocalXvidtune"
  123.  
  124. # Uncomment this to disable dynamically modifying the input device
  125. # (mouse and keyboard) settings.
  126.  
  127. # Option "DisableModInDev"
  128.  
  129. # Uncomment this to enable the use of a non-local client to
  130. # change the keyboard or mouse settings (currently only xset).
  131.  
  132. # Option "AllowNonLocalModInDev"
  133.  
  134. # Set the basic blanking screen saver timeout.
  135.  
  136. # Option "blank time" "10" # 10 minutes
  137.  
  138. # Set the DPMS timeouts. These are set here because they are global
  139. # rather than screen-specific. These settings alone don't enable DPMS.
  140. # It is enabled per-screen (or per-monitor), and even then only when
  141. # the driver supports it.
  142.  
  143. # Option "standby time" "20"
  144. # Option "suspend time" "30"
  145. # Option "off time" "60"
  146.  
  147. # On some platform the server needs to estimate the sizes of PCI
  148. # memory and pio ranges. This is done by assuming that PCI ranges
  149. # don't overlap. Some broken BIOSes tend to set ranges of inactive
  150. # devices wrong. Here one can adjust how aggressive the assumptions
  151. # should be. Default is 0.
  152.  
  153. # Option "EstimateSizesAggresively" "0"
  154.  
  155. EndSection
  156.  
  157. # **********************************************************************
  158. # Input devices
  159. # **********************************************************************
  160.  
  161. # **********************************************************************
  162. # Core keyboard's InputDevice section
  163. # **********************************************************************
  164.  
  165. Section "InputDevice"
  166.  
  167. Identifier "Keyboard1"
  168. Driver "kbd"
  169. # For most OSs the protocol can be omitted (it defaults to "Standard").
  170. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  171. # uncomment the following line.
  172.  
  173. # Option "Protocol" "Xqueue"
  174.  
  175. # Set the keyboard auto repeat parameters. Not all platforms implement
  176. # this.
  177.  
  178. # Option "AutoRepeat" "500 5"
  179.  
  180. # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
  181.  
  182. # Option "Xleds" "1 2 3"
  183.  
  184. # To disable the XKEYBOARD extension, uncomment XkbDisable.
  185.  
  186. # Option "XkbDisable"
  187.  
  188. # To customise the XKB settings to suit your keyboard, modify the
  189. # lines below (which are the defaults). For example, for a European
  190. # keyboard, you will probably want to use one of:
  191. #
  192. # Option "XkbModel" "pc102"
  193. # Option "XkbModel" "pc105"
  194. #
  195. # If you have a Microsoft Natural keyboard, you can use:
  196. #
  197. # Option "XkbModel" "microsoft"
  198. #
  199. # If you have a US "windows" keyboard you will want:
  200. #
  201. # Option "XkbModel" "pc104"
  202. #
  203. # Then to change the language, change the Layout setting.
  204. # For example, a german layout can be obtained with:
  205. #
  206. # Option "XkbLayout" "de"
  207. #
  208. # or:
  209. #
  210. # Option "XkbLayout" "de"
  211. # Option "XkbVariant" "nodeadkeys"
  212. #
  213. # If you'd like to switch the positions of your capslock and
  214. # control keys, use:
  215. #
  216. # Option "XkbOptions" "ctrl:swapcaps"
  217.  
  218.  
  219. # These are the default XKB settings for X.Org
  220. #
  221. # Option "XkbRules" "xorg"
  222. # Option "XkbModel" "pc105"
  223. # Option "XkbLayout" "us"
  224. # Option "XkbVariant" ""
  225. # Option "XkbOptions" ""
  226.  
  227. EndSection
  228.  
  229.  
  230. # **********************************************************************
  231. # Core Pointer's InputDevice section
  232. # **********************************************************************
  233.  
  234. Section "InputDevice"
  235.  
  236. # Identifier and driver
  237.  
  238. Identifier "Mouse1"
  239. Driver "mouse"
  240.  
  241. # On platforms where PnP mouse detection is supported the following
  242. # protocol setting can be used when using a newer PnP mouse:
  243.  
  244. # Option "Protocol" "Auto"
  245.  
  246. # The available mouse protocols types that you can set below are:
  247. # Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
  248. # Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
  249. # MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
  250. # ThinkingMouse ThinkingMousePS/2 Xqueue
  251. Option "Protocol" "PS/2"
  252.  
  253. # The mouse device. The device is normally set to /dev/mouse,
  254. # which is usually a symbolic link to the real device.
  255.  
  256. Option "Device" "/dev/mouse"
  257. # Option "Device" "/dev/psaux"
  258. # Option "Device" "/dev/ttyS0"
  259. # Option "Device" "/dev/ttyS1"
  260.  
  261. # When using XQUEUE, comment out the above two lines, and uncomment
  262. # the following line.
  263.  
  264. # Option "Protocol" "Xqueue"
  265.  
  266. # Baudrate and SampleRate are only for some Logitech mice. In
  267. # almost every case these lines should be omitted.
  268.  
  269. # Option "BaudRate" "9600"
  270. # Option "SampleRate" "150"
  271.  
  272. # Emulate3Buttons is an option for 2-button Microsoft mice
  273. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  274.  
  275. # Option "Emulate3Buttons"
  276. # Option "Emulate3Timeout" "50"
  277.  
  278. # ChordMiddle is an option for some 3-button Logitech mice
  279.  
  280. # Option "ChordMiddle"
  281.  
  282. EndSection
  283.  
  284. # Some examples of extended input devices
  285.  
  286. # Section "InputDevice"
  287. # Identifier "spaceball"
  288. # Driver "magellan"
  289. # Option "Device" "/dev/cua0"
  290. # EndSection
  291. #
  292. # Section "InputDevice"
  293. # Identifier "spaceball2"
  294. # Driver "spaceorb"
  295. # Option "Device" "/dev/cua0"
  296. # EndSection
  297. #
  298. # Section "InputDevice"
  299. # Identifier "touchscreen0"
  300. # Driver "microtouch"
  301. # Option "Device" "/dev/ttyS0"
  302. # Option "MinX" "1412"
  303. # Option "MaxX" "15184"
  304. # Option "MinY" "15372"
  305. # Option "MaxY" "1230"
  306. # Option "ScreenNumber" "0"
  307. # Option "ReportingMode" "Scaled"
  308. # Option "ButtonNumber" "1"
  309. # Option "SendCoreEvents"
  310. # EndSection
  311. #
  312. # Section "InputDevice"
  313. # Identifier "touchscreen1"
  314. # Driver "elo2300"
  315. # Option "Device" "/dev/ttyS0"
  316. # Option "MinX" "231"
  317. # Option "MaxX" "3868"
  318. # Option "MinY" "3858"
  319. # Option "MaxY" "272"
  320. # Option "ScreenNumber" "0"
  321. # Option "ReportingMode" "Scaled"
  322. # Option "ButtonThreshold" "17"
  323. # Option "ButtonNumber" "1"
  324. # Option "SendCoreEvents"
  325. # EndSection
  326.  
  327. # **********************************************************************
  328. # Monitor section
  329. # **********************************************************************
  330.  
  331. # Any number of monitor sections may be present
  332.  
  333. Section "Monitor"
  334.  
  335. Identifier "My Monitor"
  336.  
  337. # HorizSync is in kHz unless units are specified.
  338. # HorizSync may be a comma separated list of discrete values, or a
  339. # comma separated list of ranges of values.
  340. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  341. # USER MANUAL FOR THE CORRECT NUMBERS.
  342.  
  343. HorizSync 31.5 - 50.0
  344.  
  345. # HorizSync 30-64 # multisync
  346. # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
  347. # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
  348.  
  349. # VertRefresh is in Hz unless units are specified.
  350. # VertRefresh may be a comma separated list of discrete values, or a
  351. # comma separated list of ranges of values.
  352. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  353. # USER MANUAL FOR THE CORRECT NUMBERS.
  354.  
  355. VertRefresh 40-90
  356.  
  357. EndSection
  358.  
  359.  
  360. # **********************************************************************
  361. # Graphics device section
  362. # **********************************************************************
  363.  
  364. # Any number of graphics device sections may be present
  365.  
  366. Section "Device"
  367. Identifier "VESA Framebuffer"
  368. Driver "radeonhd"
  369. #VideoRam 4096
  370. # Insert Clocks lines here if appropriate
  371. EndSection
  372.  
  373. # **********************************************************************
  374. # Screen sections
  375. # **********************************************************************
  376.  
  377. # Any number of screen sections may be present. Each describes
  378. # the configuration of a single screen. A single specific screen section
  379. # may be specified from the X server command line with the "-screen"
  380. # option.
  381. Section "Screen"
  382. Identifier "Screen 1"
  383. Device "VESA Framebuffer"
  384. Monitor "My Monitor"
  385.  
  386. # If your card can handle it, a higher default color depth (like 24 or 32)
  387. # is highly recommended.
  388.  
  389. # DefaultDepth 8
  390. # DefaultDepth 16
  391. DefaultDepth 24
  392. # DefaultDepth 32
  393.  
  394. # "1024x768" is also a conservative usable default resolution. If you
  395. # have a better monitor, feel free to try resolutions such as
  396. # "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
  397. # card/monitor can produce)
  398.  
  399. Subsection "Display"
  400. Depth 8
  401. Modes "1024x768" "800x600" "640x480"
  402. EndSubsection
  403. Subsection "Display"
  404. Depth 16
  405. Modes "1024x768" "800x600" "640x480"
  406. EndSubsection
  407. Subsection "Display"
  408. Depth 24
  409. Modes "1024x768" "800x600" "640x480"
  410. EndSubsection
  411. Subsection "Display"
  412. Depth 32
  413. Modes "1024x768" "800x600" "640x480"
  414. EndSubsection
  415.  
  416. EndSection
  417.  
  418. # **********************************************************************
  419. # ServerLayout sections.
  420. # **********************************************************************
  421.  
  422. # Any number of ServerLayout sections may be present. Each describes
  423. # the way multiple screens are organised. A specific ServerLayout
  424. # section may be specified from the X server command line with the
  425. # "-layout" option. In the absence of this, the first section is used.
  426. # When now ServerLayout section is present, the first Screen section
  427. # is used alone.
  428.  
  429. Section "ServerLayout"
  430.  
  431. # The Identifier line must be present
  432. Identifier "Simple Layout"
  433.  
  434. # Each Screen line specifies a Screen section name, and optionally
  435. # the relative position of other screens. The four names after
  436. # primary screen name are the screens to the top, bottom, left and right
  437. # of the primary screen. In this example, screen 2 is located to the
  438. # right of screen 1.
  439.  
  440. Screen "Screen 1"
  441.  
  442. # Each InputDevice line specifies an InputDevice section name and
  443. # optionally some options to specify the way the device is to be
  444. # used. Those options include "CorePointer", "CoreKeyboard" and
  445. # "SendCoreEvents".
  446.  
  447. InputDevice "Mouse1" "CorePointer"
  448. InputDevice "Keyboard1" "CoreKeyboard"
  449.  
  450. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement