mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

573 lines
18 KiB

  1. # File generated by xf86config.
  2. # and additional hand edited by Rene Rebe - ROCK Linux Project
  3. #
  4. # YOU MUST ONLY ADD A CARD SECTION AND MODIFY SOME MONITOR SETTINGS
  5. # TO GET A WORKING X CONFIGURATION.
  6. #
  7. #
  8. # Copyright (c) 1999 by The XFree86 Project, Inc.
  9. #
  10. # Permission is hereby granted, free of charge, to any person obtaining a
  11. # copy of this software and associated documentation files (the "Software"),
  12. # to deal in the Software without restriction, including without limitation
  13. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  14. # and/or sell copies of the Software, and to permit persons to whom the
  15. # Software is furnished to do so, subject to the following conditions:
  16. #
  17. # The above copyright notice and this permission notice shall be included in
  18. # all copies or substantial portions of the Software.
  19. #
  20. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  21. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  22. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  23. # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  24. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  25. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  26. # SOFTWARE.
  27. #
  28. # Except as contained in this notice, the name of the XFree86 Project shall
  29. # not be used in advertising or otherwise to promote the sale, use or other
  30. # dealings in this Software without prior written authorization from the
  31. # XFree86 Project.
  32. #
  33. # **********************************************************************
  34. # Refer to the XF86Config(4/5) man page for details about the format of
  35. # this file.
  36. # **********************************************************************
  37. # **********************************************************************
  38. # Module section -- this section is used to specify
  39. # which dynamically loadable modules to load.
  40. # **********************************************************************
  41. #
  42. Section "Module"
  43. Load "dbe" # DBE (double buffer extension)
  44. Load "ddc" # Display Data Channel extension
  45. # This loads the miscellaneous extensions module
  46. SubSection "extmod"
  47. Option "omit xfree86-dga" # don't initialise the DGA extension
  48. Option "omit XFree86-VidModeExtension" # disable mode-switching-supoprt
  49. EndSubSection
  50. # This loads the Type1 and FreeType font modules
  51. Load "type1"
  52. Load "freetype"
  53. # Load "glx" # GLX extension (OpenGL visuals)
  54. # Load "dri" # Direct Rendering Interface extension (OpenGL)
  55. # Load "v4l" # Video 4 Linux extension (provides a xv adapter)
  56. EndSection
  57. # this enabled normal users to use DRI - the Direct Rendering Extension.
  58. # it is also possible to use a group to control access.
  59. #
  60. Section "DRI"
  61. Mode 0666
  62. EndSection
  63. # **********************************************************************
  64. # Files section. This allows default font and rgb paths to be set
  65. # **********************************************************************
  66. Section "Files"
  67. # The location of the RGB database. Note, this is the name of the
  68. # file minus the extension (like ".txt" or ".db"). There is normally
  69. # no need to change the default.
  70. RgbPath "/usr/X11R6/lib/X11/rgb"
  71. # Multiple FontPath entries are allowed (which are concatenated together),
  72. # as well as specifying multiple comma-separated entries in one FontPath
  73. # command (or a combination of both methods)
  74. #
  75. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  76. # programs take long to start up, try moving the Type1 and Speedo directory
  77. # to the end of this list (or comment them out).
  78. #
  79. FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  80. FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  81. FontPath "/usr/X11R6/lib/X11/fonts/CID/"
  82. FontPath "/usr/X11R6/lib/X11/fonts/PEX/"
  83. FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
  84. FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
  85. FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
  86. FontPath "/usr/X11R6/lib/X11/fonts/encodings/"
  87. FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
  88. FontPath "/usr/X11R6/lib/X11/fonts/latin2/"
  89. FontPath "/usr/X11R6/lib/X11/fonts/local/"
  90. FontPath "/usr/X11R6/lib/X11/fonts/misc/"
  91. FontPath "/usr/X11R6/lib/X11/fonts/sharefont"
  92. FontPath "/usr/X11R6/lib/X11/fonts/TrueType"
  93. FontPath "/usr/share/ghostscript/fonts/"
  94. # The module search path. The default path is shown here.
  95. # ModulePath "/usr/X11R6/lib/modules"
  96. EndSection
  97. # **********************************************************************
  98. # Server flags section.
  99. # **********************************************************************
  100. Section "ServerFlags"
  101. # Uncomment this to cause a core dump at the spot where a signal is
  102. # received. This may leave the console in an unusable state, but may
  103. # provide a better stack trace in the core dump to aid in debugging
  104. # Option "NoTrapSignals"
  105. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  106. # This allows clients to receive this key event.
  107. # Option "DontZap"
  108. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  109. # sequences. This allows clients to receive these key events.
  110. # Option "Dont Zoom"
  111. # Uncomment this to disable tuning with the xvidtune client. With
  112. # it the client can still run and fetch card and monitor attributes,
  113. # but it will not be allowed to change them. If it tries it will
  114. # receive a protocol error.
  115. # Option "DisableVidModeExtension"
  116. # Uncomment this to enable the use of a non-local xvidtune client.
  117. # Option "AllowNonLocalXvidtune"
  118. # Uncomment this to disable dynamically modifying the input device
  119. # (mouse and keyboard) settings.
  120. # Option "DisableModInDev"
  121. # Uncomment this to enable the use of a non-local client to
  122. # change the keyboard or mouse settings (currently only xset).
  123. # Option "AllowNonLocalModInDev"
  124. EndSection
  125. # **********************************************************************
  126. # Input devices
  127. # **********************************************************************
  128. # **********************************************************************
  129. # Core keyboard's InputDevice section
  130. # **********************************************************************
  131. Section "InputDevice"
  132. Identifier "Keyboard1"
  133. Driver "Keyboard"
  134. # For most OSs the protocol can be omitted (it defaults to "Standard").
  135. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  136. # uncomment the following line.
  137. # Option "Protocol" "Xqueue"
  138. Option "AutoRepeat" "250 30"
  139. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  140. # Option "Xleds" "1 2 3"
  141. # Option "LeftAlt" "Meta"
  142. # Option "RightAlt" "ModeShift"
  143. # To customise the XKB settings to suit your keyboard, modify the
  144. # lines below (which are the defaults). For example, for a non-U.S.
  145. # keyboard, you will probably want to use:
  146. # Option "XkbModel" "pc102"
  147. # If you have a US Microsoft Natural keyboard, you can use:
  148. # Option "XkbModel" "microsoft"
  149. #
  150. # Then to change the language, change the Layout setting.
  151. # For example, a german layout can be obtained with:
  152. # Option "XkbLayout" "de"
  153. # or:
  154. # Option "XkbLayout" "de"
  155. # Option "XkbVariant" "nodeadkeys"
  156. #
  157. # If you'd like to switch the positions of your capslock and
  158. # control keys, use:
  159. # Option "XkbOptions" "ctrl:swapcaps"
  160. # These are the default XKB settings for XFree86
  161. # Option "XkbRules" "xfree86"
  162. # Option "XkbModel" "pc101"
  163. # Option "XkbLayout" "us"
  164. # Option "XkbVariant" ""
  165. # Option "XkbOptions" ""
  166. # Option "XkbDisable"
  167. Option "XkbRules" "xfree86"
  168. Option "XkbModel" "pc105"
  169. # Option "XkbLayout" "de" # german keyboard layout
  170. # Option "XkbVariant" "nodeadkeys" # normally not wanted
  171. EndSection
  172. # **********************************************************************
  173. # Core Pointer's InputDevice section
  174. # **********************************************************************
  175. # auto-detected mouse
  176. Section "InputDevice"
  177. # Identifier and driver
  178. Identifier "Mouse1"
  179. Driver "mouse"
  180. Option "Protocol" "Auto"
  181. Option "Device" "/dev/input/mice"
  182. #Option "Emulate3Buttons" "true" # for a two button touch-pad
  183. EndSection
  184. # for a normal ps2 mouse:
  185. Section "InputDevice"
  186. #
  187. # Identifier and driver
  188. #
  189. Identifier "Mouse2"
  190. Driver "mouse"
  191. Option "Protocol" "Auto"
  192. Option "Device" "/dev/misc/psaux"
  193. # #Option "Emulate3Buttons" "true" # for a two button touch-pad
  194. EndSection
  195. # for a normal serial mouse
  196. #Section "InputDevice"
  197. #
  198. # Identifier "Mouse1"
  199. # Driver "mouse"
  200. # Option "Protocol" "Microsoft"
  201. # Option "Device" "/dev/tts/0"
  202. #
  203. # #Option "Emulate3Buttons" "true" # for a two button touch-pad
  204. #EndSection
  205. # for a usb Logitech wheel mouse
  206. #Section "InputDevice"
  207. #
  208. # Identifier "Mouse1"
  209. # Driver "mouse"
  210. # Option "Protocol" "IMPS/2"
  211. # Option "Device" "/dev/input/mouse0"
  212. # Option "Buttons" "5"
  213. # Option "ZaxisMapping" "4 5"
  214. #
  215. #EndSection
  216. # **********************************************************************
  217. # Other input device sections
  218. # this is optional and is required only if you
  219. # are using extended input devices. This is for example only. Refer
  220. # to the XF86Config man page for a description of the options.
  221. # **********************************************************************
  222. #
  223. # Section "InputDevice"
  224. # Identifier "Mouse2"
  225. # Driver "mouse"
  226. # Option "Protocol" "MouseMan"
  227. # Option "Device" "/dev/mouse2"
  228. # EndSection
  229. #
  230. # Section "InputDevice"
  231. # Identifier "Spaceball"
  232. # Driver "magellan"
  233. # Option "Device" "/dev/cua0"
  234. # EndSection
  235. #
  236. # Section "InputDevice"
  237. # Identifier "Spaceball2"
  238. # Driver "spaceorb"
  239. # Option "Device" "/dev/cua0"
  240. # EndSection
  241. #
  242. # Section "InputDevice"
  243. # Identifier "Touchscreen0"
  244. # Driver "microtouch"
  245. # Option "Device" "/dev/ttyS0"
  246. # Option "MinX" "1412"
  247. # Option "MaxX" "15184"
  248. # Option "MinY" "15372"
  249. # Option "MaxY" "1230"
  250. # Option "ScreenNumber" "0"
  251. # Option "ReportingMode" "Scaled"
  252. # Option "ButtonNumber" "1"
  253. # Option "SendCoreEvents"
  254. # EndSection
  255. #
  256. # Section "InputDevice"
  257. # Identifier "Touchscreen1"
  258. # Driver "elo2300"
  259. # Option "Device" "/dev/ttyS0"
  260. # Option "MinX" "231"
  261. # Option "MaxX" "3868"
  262. # Option "MinY" "3858"
  263. # Option "MaxY" "272"
  264. # Option "ScreenNumber" "0"
  265. # Option "ReportingMode" "Scaled"
  266. # Option "ButtonThreshold" "17"
  267. # Option "ButtonNumber" "1"
  268. # Option "SendCoreEvents"
  269. # EndSection
  270. # Section "InputDevice"
  271. # Identifier "Tablet1"
  272. # Driver "summa"
  273. # Option "Device" "/dev/ttyS0"
  274. # Option "MinX" "231"
  275. # Option "MaxX" "3868"
  276. # Option "MinY" "3858"
  277. # Option "MaxY" "272"
  278. # Option "ScreenNumber" "0"
  279. # Option "ReportingMode" "Scaled"
  280. # Option "ButtonThreshold" "17"
  281. # Option "ButtonNumber" "1"
  282. # Option "SendCoreEvents"
  283. # Option "BaudRate" "19200"
  284. # Option "DataBits" "8"
  285. # Option "StopBits" "1"
  286. # Option "Parity" "Odd"
  287. # Option "FlowControl" "Xoff"
  288. # Option "VTime" "10"
  289. # Option "VMin" "1"
  290. # EndSection
  291. # **********************************************************************
  292. # Monitor section
  293. # **********************************************************************
  294. # Any number of monitor sections may be present
  295. Section "Monitor"
  296. Identifier "Monitor1"
  297. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  298. # USER MANUAL FOR THE CORRECT NUMBERS !!
  299. # normally uncomment this lines
  300. # HorizSync 24.0 - 80.0
  301. # VertRefresh 50-100
  302. # overwrite the screen dimensions (in mm) e.g. to get another virtual dpi
  303. # value
  304. # DisplaySize 345 260
  305. # HorizSync is in kHz unless units are specified.
  306. # HorizSync may be a comma separated list of discrete values, or a
  307. # comma separated list of ranges of values.
  308. # HorizSync 30-64 # multisync
  309. # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
  310. # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
  311. # VertRefresh is in Hz unless units are specified.
  312. # VertRefresh may be a comma separated list of discrete values, or a
  313. # comma separated list of ranges of values.
  314. # VertRefresh 50-100
  315. # some mode examples 1,2 selfmade - 3 from fbset
  316. # (only needed for low-level tricks, exotic Laptops or other LCD's)
  317. #
  318. # Mode "1152x900"
  319. # DotClock 120
  320. # HTimings 1152 1200 1312 1528
  321. # VTimings 900 910 946 985
  322. # EndMode
  323. # Mode "1152x900-2"
  324. # DotClock 100
  325. # HTimings 1152 1200 1312 1528
  326. # VTimings 900 910 946 985
  327. # EndMode
  328. # Mode "1152x864"
  329. # DotClock 105.810
  330. # HTimings 1152 1184 1312 1504
  331. # VTimings 864 868 872 902
  332. # Flags "-HSync" "-VSync"
  333. # EndMode
  334. # for framebuffer devices you might want to simply add
  335. # the 'fbset -x' output here.
  336. EndSection
  337. # **********************************************************************
  338. # Graphics device section
  339. # **********************************************************************
  340. # Any number of graphics device sections may be present
  341. Section "Device"
  342. Identifier "Card1"
  343. # Use this for framebuffer devices - should work on most systems.
  344. Driver "fbdev"
  345. Option "fbdev" "/dev/fb/0"
  346. # Driver "vga" # mga, ati, nv, sis, vesa ...
  347. # # Option "BackingStore"
  348. # # Some driver accept an UseFBDev option (e.g. radeon) to switch the
  349. # # mode via the Linux framebuffer layer. Needed e.g. as workaround for
  350. # # iBooks.
  351. # # Option "UseFBDev"
  352. # # The BuID is only required for multi-monitor configs or some fbdev drivers
  353. # # BusID "PCI:1:5:0"
  354. # # Screen 0 # Screen of a dual-head mga card
  355. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  356. # # Option "AGPMode2x"
  357. EndSection
  358. # Matrox Millenium 4xx, Ati or NVidia second-head
  359. #Section "Device"
  360. # Identifier "Card2"
  361. # Driver "mga" # or other dual-able cards like ati, nv
  362. # # Option "BackingStore"
  363. # BusID "PCI:1:5:0"
  364. # Screen 1
  365. #
  366. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  367. # # Option "AGPMode2x"
  368. # # Option "Tv" "yes"
  369. # # Option "TVStandard" "PAL"
  370. # # Option "CableType" "SCART_COMPOSITE"
  371. #EndSection
  372. # **********************************************************************
  373. # Screen sections
  374. # **********************************************************************
  375. # Any number of screen sections may be present. Each describes
  376. # the configuration of a single screen. A single specific screen section
  377. # may be specified from the X server command line with the "-screen"
  378. # option.
  379. Section "Screen"
  380. Identifier "Screen1"
  381. Device "Card1"
  382. Monitor "Monitor1"
  383. DefaultDepth 16
  384. Subsection "Display"
  385. Depth 4
  386. Modes "1024x768" "800x600" "640x480"
  387. ViewPort 0 0
  388. EndSubsection
  389. Subsection "Display"
  390. Depth 8
  391. Modes "1024x768" "800x600" "640x400"
  392. ViewPort 0 0
  393. EndSubsection
  394. Subsection "Display"
  395. Depth 16
  396. Modes "1024x768" "800x600" "640x480"
  397. ViewPort 0 0
  398. EndSubsection
  399. Subsection "Display"
  400. Depth 24
  401. Modes "1024x768" "800x600" "640x480"
  402. ViewPort 0 0
  403. EndSubsection
  404. Subsection "Display"
  405. Depth 32
  406. Modes "1024x768" "800x600" "640x480"
  407. ViewPort 0 0
  408. EndSubsection
  409. EndSection
  410. #Section "Screen"
  411. # Identifier "Screen2"
  412. # Device "Card2"
  413. # Monitor "Monitor1"
  414. # DefaultDepth 16
  415. #
  416. # Subsection "Display"
  417. # Depth 16
  418. # Modes "1024x768" "800x600" "640x480"
  419. # ViewPort 0 0
  420. # EndSubsection
  421. #EndSection
  422. #Section "Screen"
  423. # Identifier "ScreenTV"
  424. # Device "CardTV"
  425. # Monitor "Monitor1"
  426. # DefaultDepth 16
  427. #
  428. # Subsection "Display"
  429. # Depth 16
  430. # Modes "640x480"
  431. # ViewPort 0 0
  432. # EndSubsection
  433. #EndSection
  434. # **********************************************************************
  435. # ServerLayout sections.
  436. # **********************************************************************
  437. # Any number of ServerLayout sections may be present. Each describes
  438. # the way multiple screens are organised. A specific ServerLayout
  439. # section may be specified from the X server command line with the
  440. # "-layout" option. In the absence of this, the first section is used.
  441. # When now ServerLayout section is present, the first Screen section
  442. # is used alone.
  443. Section "ServerLayout"
  444. # The Identifier line must be present
  445. Identifier "Simple Layout"
  446. # Each Screen line specifies a Screen section name, and optionally
  447. # the relative position of other screens. The four names after
  448. # primary screen name are the screens to the top, bottom, left and right
  449. # of the primary screen. In this example, screen 2 is located to the
  450. # right of screen 1.
  451. Screen "Screen1" #LeftOf "Screen2"
  452. #Screen "Screen2"
  453. #Screen "ScreenTV"
  454. # Each InputDevice line specifies an InputDevice section name and
  455. # optionally some options to specify the way the device is to be
  456. # used. Those options include "CorePointer", "CoreKeyboard" and
  457. # "SendCoreEvents".
  458. InputDevice "Mouse1" "CorePointer"
  459. InputDevice "Mouse2" "SendCoreEvents"
  460. InputDevice "Keyboard1" "CoreKeyboard"
  461. # It is possible to specify secondary input devices which might not
  462. # be pressend on X startup. Nice for laptops with temporary external
  463. # mices ;-)!
  464. # InputDevice "Mouse2" "SendCoreEvents"
  465. # InputDevice "Tablet1"
  466. EndSection