Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

xorg.conf - - issue with intel driver

By: a guest on Jan 16th, 2011  |  syntax: None  |  size: 16.06 KB  |  views: 593  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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.     Load       "dri"
  75. EndSection
  76.  
  77. Section "DRI"
  78.  
  79.     Mode 0666
  80.  
  81. EndSection
  82.  
  83. # **********************************************************************
  84. # Files section.  This allows default font and rgb paths to be set
  85. # **********************************************************************
  86.  
  87. Section "Files"
  88.  
  89. # The location of the RGB database.  Note, this is the name of the
  90. # file minus the extension (like ".txt" or ".db").  There is normally
  91. # no need to change the default.
  92.  
  93. # Multiple FontPath entries are allowed (which are concatenated together),
  94. # as well as specifying multiple comma-separated entries in one FontPath
  95. # command (or a combination of both methods)
  96. #
  97. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  98. # programs take long to start up, try moving the Type1 and Speedo directory
  99. # to the end of this list (or comment them out).
  100. #
  101.  
  102.     FontPath   "/usr/X11R6/lib/X11/fonts/local/"
  103.     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
  104.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  105.     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  106.     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
  107.     FontPath   "/usr/X11R6/lib/X11/fonts/CID/"
  108.     FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
  109.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
  110.     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
  111.     FontPath   "/usr/X11R6/lib/X11/fonts/cyrillic/"
  112.  
  113. # ModulePath can be used to set a search path for the X server modules.
  114. # The default path is shown here.
  115.  
  116.     ModulePath "/opt/xorg/lib/xorg/modules"
  117.  
  118. EndSection
  119.  
  120. # **********************************************************************
  121. # Server flags section.
  122. # **********************************************************************
  123.  
  124. Section "ServerFlags"
  125.  
  126. # Uncomment this to cause a core dump at the spot where a signal is
  127. # received.  This may leave the console in an unusable state, but may
  128. # provide a better stack trace in the core dump to aid in debugging
  129.  
  130. #    Option     "NoTrapSignals"
  131.  
  132. # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
  133. # (where n is 1 through 12).  This allows clients to receive these key
  134. # events.
  135.  
  136. #    Option     "DontVTSwitch"
  137.  
  138. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  139. # This allows clients to receive this key event.
  140.  
  141. #    Option     "DontZap"
  142.  
  143. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  144. # sequences.  This allows clients to receive these key events.
  145.  
  146. #    Option     "DontZoom"
  147.  
  148. # Uncomment this to disable tuning with the xvidtune client. With
  149. # it the client can still run and fetch card and monitor attributes,
  150. # but it will not be allowed to change them. If it tries it will
  151. # receive a protocol error.
  152.  
  153. #    Option     "DisableVidModeExtension"
  154.  
  155. # Uncomment this to enable the use of a non-local xvidtune client.
  156.  
  157. #    Option     "AllowNonLocalXvidtune"
  158.  
  159. # Uncomment this to disable dynamically modifying the input device
  160. # (mouse and keyboard) settings.
  161.  
  162. #    Option     "DisableModInDev"
  163.  
  164. # Uncomment this to enable the use of a non-local client to
  165. # change the keyboard or mouse settings (currently only xset).
  166.  
  167. #    Option     "AllowNonLocalModInDev"
  168.  
  169. # Set the basic blanking screen saver timeout.
  170.  
  171. #    Option      "blank time"    "10"    # 10 minutes
  172.  
  173. # Set the DPMS timeouts.  These are set here because they are global
  174. # rather than screen-specific.  These settings alone don't enable DPMS.
  175. # It is enabled per-screen (or per-monitor), and even then only when
  176. # the driver supports it.
  177.  
  178. #    Option      "standby time"  "20"
  179. #    Option      "suspend time"  "30"
  180. #    Option      "off time"      "60"
  181.  
  182. # On some platform the server needs to estimate the sizes of PCI
  183. # memory and pio ranges. This is done by assuming that PCI ranges
  184. # don't overlap. Some broken BIOSes tend to set ranges of inactive
  185. # devices wrong. Here one can adjust how aggressive the assumptions
  186. # should be. Default is 0.
  187.  
  188. # Option   "EstimateSizesAggresively" "0"
  189.  
  190. EndSection
  191.  
  192. # **********************************************************************
  193. # Input devices
  194. # **********************************************************************
  195.  
  196. # **********************************************************************
  197. # Core keyboard's InputDevice section
  198. # **********************************************************************
  199.  
  200. Section "InputDevice"
  201.  
  202.     Identifier  "Keyboard1"
  203.     Driver      "kbd"
  204. # For most OSs the protocol can be omitted (it defaults to "Standard").
  205. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  206. # uncomment the following line.
  207.  
  208. #    Option     "Protocol"      "Xqueue"
  209.  
  210. # Set the keyboard auto repeat parameters.  Not all platforms implement
  211. # this.
  212.  
  213. #    Option     "AutoRepeat"    "500 5"
  214.  
  215. # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
  216.  
  217. #    Option     "Xleds" "1 2 3"
  218.  
  219. # To disable the XKEYBOARD extension, uncomment XkbDisable.
  220.  
  221. #    Option     "XkbDisable"
  222.  
  223. # To customise the XKB settings to suit your keyboard, modify the
  224. # lines below (which are the defaults).  For example, for a European
  225. # keyboard, you will probably want to use one of:
  226. #
  227. #    Option     "XkbModel"      "pc102"
  228. #    Option     "XkbModel"      "pc105"
  229. #
  230. # If you have a Microsoft Natural keyboard, you can use:
  231. #
  232. #    Option     "XkbModel"      "microsoft"
  233. #
  234. # If you have a US "windows" keyboard you will want:
  235. #
  236. #    Option     "XkbModel"      "pc104"
  237. #
  238. # Then to change the language, change the Layout setting.
  239. # For example, a german layout can be obtained with:
  240. #
  241. #    Option     "XkbLayout"     "de"
  242. #
  243. # or:
  244. #
  245. #    Option     "XkbLayout"     "de"
  246. #    Option     "XkbVariant"    "nodeadkeys"
  247. #
  248. # If you'd like to switch the positions of your capslock and
  249. # control keys, use:
  250. #
  251. #    Option     "XkbOptions"    "ctrl:swapcaps"
  252.  
  253.  
  254. # These are the default XKB settings for X.Org
  255. #
  256. #    Option     "XkbRules"      "xorg"
  257. #    Option     "XkbModel"      "pc101"
  258. #    Option     "XkbLayout"     "us"
  259. #    Option     "XkbVariant"    ""
  260. #    Option     "XkbOptions"    ""
  261.  
  262. EndSection
  263.  
  264.  
  265. # **********************************************************************
  266. # Core Pointer's InputDevice section
  267. # **********************************************************************
  268.  
  269. Section "InputDevice"
  270.  
  271. # Identifier and driver
  272.  
  273.     Identifier  "Mouse1"
  274.     Driver      "psmouse"
  275.  
  276.     Option      "ZAxisMapping" "4 5"
  277.     Option      "Buttons" "3"
  278.  
  279. # On platforms where PnP mouse detection is supported the following
  280. # protocol setting can be used when using a newer PnP mouse:
  281.  
  282. #    Option     "Protocol"      "Auto"
  283.  
  284. # The available mouse protocols types that you can set below are:
  285. #    Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
  286. #    Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
  287. #    MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
  288. #    ThinkingMouse ThinkingMousePS/2 Xqueue
  289.     Option "Protocol"    "IMPS/2"
  290.  
  291. # The mouse device.  The device is normally set to /dev/mouse,
  292. # which is usually a symbolic link to the real device.
  293.  
  294.     Option "Device"      "/dev/mouse"
  295. #   Option "Device"      "/dev/psaux"
  296. #   Option "Device"      "/dev/ttyS0"
  297. #   Option "Device"      "/dev/ttyS1"
  298.  
  299. # When using XQUEUE, comment out the above two lines, and uncomment
  300. # the following line.
  301.  
  302. #    Option "Protocol"  "Xqueue"
  303.  
  304. # Baudrate and SampleRate are only for some Logitech mice. In
  305. # almost every case these lines should be omitted.
  306.  
  307. #    Option "BaudRate"          "9600"
  308. #    Option "SampleRate"        "150"
  309.  
  310. # Emulate3Buttons is an option for 2-button Microsoft mice
  311. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  312.  
  313. #    Option "Emulate3Buttons"
  314. #    Option "Emulate3Timeout"    "50"
  315.  
  316. # ChordMiddle is an option for some 3-button Logitech mice
  317.  
  318. #    Option "ChordMiddle"
  319.  
  320. EndSection
  321.  
  322. # Some examples of extended input devices
  323.  
  324. # Section "InputDevice"
  325. #    Identifier "spaceball"
  326. #    Driver     "magellan"
  327. #    Option     "Device"        "/dev/cua0"
  328. # EndSection
  329. #
  330. # Section "InputDevice"
  331. #    Identifier "spaceball2"
  332. #    Driver     "spaceorb"
  333. #    Option     "Device"        "/dev/cua0"
  334. # EndSection
  335. #
  336. # Section "InputDevice"
  337. #    Identifier "touchscreen0"
  338. #    Driver     "microtouch"
  339. #    Option     "Device"        "/dev/ttyS0"
  340. #    Option     "MinX"          "1412"
  341. #    Option     "MaxX"          "15184"
  342. #    Option     "MinY"          "15372"
  343. #    Option     "MaxY"          "1230"
  344. #    Option     "ScreenNumber"  "0"
  345. #    Option     "ReportingMode" "Scaled"
  346. #    Option     "ButtonNumber"  "1"
  347. #    Option     "SendCoreEvents"
  348. # EndSection
  349. #
  350. # Section "InputDevice"
  351. #    Identifier "touchscreen1"
  352. #    Driver     "elo2300"
  353. #    Option     "Device"        "/dev/ttyS0"
  354. #    Option     "MinX"          "231"
  355. #    Option     "MaxX"          "3868"
  356. #    Option     "MinY"          "3858"
  357. #    Option     "MaxY"          "272"
  358. #    Option     "ScreenNumber"  "0"
  359. #    Option     "ReportingMode" "Scaled"
  360. #    Option     "ButtonThreshold"       "17"
  361. #    Option     "ButtonNumber"  "1"
  362. #    Option     "SendCoreEvents"
  363. # EndSection
  364.  
  365. # **********************************************************************
  366. # Monitor section
  367. # **********************************************************************
  368.  
  369. # Any number of monitor sections may be present
  370.  
  371. Section "Monitor"
  372.  
  373.     Identifier  "My Monitor"
  374.  
  375. # HorizSync is in kHz unless units are specified.
  376. # HorizSync may be a comma separated list of discrete values, or a
  377. # comma separated list of ranges of values.
  378. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  379. # USER MANUAL FOR THE CORRECT NUMBERS.
  380.  
  381.     HorizSync   31.5 - 150.0
  382.  
  383. #    HorizSync  30-64         # multisync
  384. #    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
  385. #    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies
  386.  
  387. # VertRefresh is in Hz unless units are specified.
  388. # VertRefresh may be a comma separated list of discrete values, or a
  389. # comma separated list of ranges of values.
  390. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  391. # USER MANUAL FOR THE CORRECT NUMBERS.
  392.  
  393.     VertRefresh 75-85
  394.  
  395. EndSection
  396.  
  397.  
  398. # **********************************************************************
  399. # Graphics device section
  400. # **********************************************************************
  401.  
  402. # Any number of graphics device sections may be present
  403.  
  404. Section "Device"
  405.     Identifier  "VESA Framebuffer"
  406.     Driver      "intel"
  407.     #VideoRam    4096
  408.     # Insert Clocks lines here if appropriate
  409. EndSection
  410.  
  411. # **********************************************************************
  412. # Screen sections
  413. # **********************************************************************
  414.  
  415. # Any number of screen sections may be present.  Each describes
  416. # the configuration of a single screen.  A single specific screen section
  417. # may be specified from the X server command line with the "-screen"
  418. # option.
  419. Section "Screen"
  420.     Identifier  "Screen 1"
  421.     Device      "VESA Framebuffer"
  422.     Monitor     "My Monitor"
  423.  
  424. # If your card can handle it, a higher default color depth (like 24 or 32)
  425. # is highly recommended.
  426.  
  427. #   DefaultDepth 8
  428. #   DefaultDepth 16
  429.    DefaultDepth 24
  430. #   DefaultDepth 32
  431.  
  432. # "1024x768" is also a conservative usable default resolution.  If you
  433. # have a better monitor, feel free to try resolutions such as
  434. # "1152x864", "1280x1024", "1600x1200", and "1800x1400" (or whatever your
  435. # card/monitor can produce)
  436.  
  437.     Subsection "Display"
  438.         Depth       8
  439.         Modes "1024x768" "800x600" "640x480"
  440.     EndSubsection
  441.     Subsection "Display"
  442.         Depth       16
  443.         Modes "1024x768" "800x600" "640x480"
  444.     EndSubsection
  445.     Subsection "Display"
  446.         Depth       24
  447.         Modes "1024x768" "800x600" "640x480"
  448.     EndSubsection
  449.     Subsection "Display"
  450.         Depth       32
  451.         Modes "1024x768" "800x600" "640x480"
  452.     EndSubsection
  453.  
  454. EndSection
  455.  
  456. # **********************************************************************
  457. # ServerLayout sections.
  458. # **********************************************************************
  459.  
  460. # Any number of ServerLayout sections may be present.  Each describes
  461. # the way multiple screens are organised.  A specific ServerLayout
  462. # section may be specified from the X server command line with the
  463. # "-layout" option.  In the absence of this, the first section is used.
  464. # When now ServerLayout section is present, the first Screen section
  465. # is used alone.
  466.  
  467. Section "ServerLayout"
  468.  
  469. # The Identifier line must be present
  470.     Identifier  "Simple Layout"
  471.  
  472. # Each Screen line specifies a Screen section name, and optionally
  473. # the relative position of other screens.  The four names after
  474. # primary screen name are the screens to the top, bottom, left and right
  475. # of the primary screen.  In this example, screen 2 is located to the
  476. # right of screen 1.
  477.  
  478.     Screen "Screen 1"
  479.  
  480. # Each InputDevice line specifies an InputDevice section name and
  481. # optionally some options to specify the way the device is to be
  482. # used.  Those options include "CorePointer", "CoreKeyboard" and
  483. # "SendCoreEvents".
  484.  
  485.     InputDevice "Mouse1" "CorePointer"
  486.     InputDevice "Keyboard1" "CoreKeyboard"
  487.  
  488. EndSection