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.

572 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/mouse"
  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 "Mouse1"
  190. # Driver "mouse"
  191. # Option "Protocol" "PS/2"
  192. # Option "Device" "/dev/misc/psaux"
  193. #
  194. # #Option "Emulate3Buttons" "true" # for a two button touch-pad
  195. #EndSection
  196. # for a normal serial mouse
  197. #Section "InputDevice"
  198. #
  199. # Identifier "Mouse1"
  200. # Driver "mouse"
  201. # Option "Protocol" "Microsoft"
  202. # Option "Device" "/dev/tts/0"
  203. #
  204. # #Option "Emulate3Buttons" "true" # for a two button touch-pad
  205. #EndSection
  206. # for a usb Logitech wheel mouse
  207. #Section "InputDevice"
  208. #
  209. # Identifier "Mouse1"
  210. # Driver "mouse"
  211. # Option "Protocol" "IMPS/2"
  212. # Option "Device" "/dev/input/mouse0"
  213. # Option "Buttons" "5"
  214. # Option "ZaxisMapping" "4 5"
  215. #
  216. #EndSection
  217. # **********************************************************************
  218. # Other input device sections
  219. # this is optional and is required only if you
  220. # are using extended input devices. This is for example only. Refer
  221. # to the XF86Config man page for a description of the options.
  222. # **********************************************************************
  223. #
  224. # Section "InputDevice"
  225. # Identifier "Mouse2"
  226. # Driver "mouse"
  227. # Option "Protocol" "MouseMan"
  228. # Option "Device" "/dev/mouse2"
  229. # EndSection
  230. #
  231. # Section "InputDevice"
  232. # Identifier "Spaceball"
  233. # Driver "magellan"
  234. # Option "Device" "/dev/cua0"
  235. # EndSection
  236. #
  237. # Section "InputDevice"
  238. # Identifier "Spaceball2"
  239. # Driver "spaceorb"
  240. # Option "Device" "/dev/cua0"
  241. # EndSection
  242. #
  243. # Section "InputDevice"
  244. # Identifier "Touchscreen0"
  245. # Driver "microtouch"
  246. # Option "Device" "/dev/ttyS0"
  247. # Option "MinX" "1412"
  248. # Option "MaxX" "15184"
  249. # Option "MinY" "15372"
  250. # Option "MaxY" "1230"
  251. # Option "ScreenNumber" "0"
  252. # Option "ReportingMode" "Scaled"
  253. # Option "ButtonNumber" "1"
  254. # Option "SendCoreEvents"
  255. # EndSection
  256. #
  257. # Section "InputDevice"
  258. # Identifier "Touchscreen1"
  259. # Driver "elo2300"
  260. # Option "Device" "/dev/ttyS0"
  261. # Option "MinX" "231"
  262. # Option "MaxX" "3868"
  263. # Option "MinY" "3858"
  264. # Option "MaxY" "272"
  265. # Option "ScreenNumber" "0"
  266. # Option "ReportingMode" "Scaled"
  267. # Option "ButtonThreshold" "17"
  268. # Option "ButtonNumber" "1"
  269. # Option "SendCoreEvents"
  270. # EndSection
  271. # Section "InputDevice"
  272. # Identifier "Tablet1"
  273. # Driver "summa"
  274. # Option "Device" "/dev/ttyS0"
  275. # Option "MinX" "231"
  276. # Option "MaxX" "3868"
  277. # Option "MinY" "3858"
  278. # Option "MaxY" "272"
  279. # Option "ScreenNumber" "0"
  280. # Option "ReportingMode" "Scaled"
  281. # Option "ButtonThreshold" "17"
  282. # Option "ButtonNumber" "1"
  283. # Option "SendCoreEvents"
  284. # Option "BaudRate" "19200"
  285. # Option "DataBits" "8"
  286. # Option "StopBits" "1"
  287. # Option "Parity" "Odd"
  288. # Option "FlowControl" "Xoff"
  289. # Option "VTime" "10"
  290. # Option "VMin" "1"
  291. # EndSection
  292. # **********************************************************************
  293. # Monitor section
  294. # **********************************************************************
  295. # Any number of monitor sections may be present
  296. Section "Monitor"
  297. Identifier "Monitor1"
  298. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
  299. # USER MANUAL FOR THE CORRECT NUMBERS !!
  300. # normally uncomment this lines
  301. # HorizSync 24.0 - 80.0
  302. # VertRefresh 50-100
  303. # overwrite the screen dimensions (in mm) e.g. to get another virtual dpi
  304. # value
  305. # DisplaySize 345 260
  306. # HorizSync is in kHz unless units are specified.
  307. # HorizSync may be a comma separated list of discrete values, or a
  308. # comma separated list of ranges of values.
  309. # HorizSync 30-64 # multisync
  310. # HorizSync 31.5, 35.2 # multiple fixed sync frequencies
  311. # HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
  312. # VertRefresh is in Hz unless units are specified.
  313. # VertRefresh may be a comma separated list of discrete values, or a
  314. # comma separated list of ranges of values.
  315. # VertRefresh 50-100
  316. # some mode examples 1,2 selfmade - 3 from fbset
  317. # (only needed for low-level tricks, exotic Laptops or other LCD's)
  318. #
  319. # Mode "1152x900"
  320. # DotClock 120
  321. # HTimings 1152 1200 1312 1528
  322. # VTimings 900 910 946 985
  323. # EndMode
  324. # Mode "1152x900-2"
  325. # DotClock 100
  326. # HTimings 1152 1200 1312 1528
  327. # VTimings 900 910 946 985
  328. # EndMode
  329. # Mode "1152x864"
  330. # DotClock 105.810
  331. # HTimings 1152 1184 1312 1504
  332. # VTimings 864 868 872 902
  333. # Flags "-HSync" "-VSync"
  334. # EndMode
  335. # for framebuffer devices you might want to simply add
  336. # the 'fbset -x' output here.
  337. EndSection
  338. # **********************************************************************
  339. # Graphics device section
  340. # **********************************************************************
  341. # Any number of graphics device sections may be present
  342. Section "Device"
  343. Identifier "Card1"
  344. # Use this for framebuffer devices - should work on most systems.
  345. Driver "fbdev"
  346. Option "fbdev" "/dev/fb/0"
  347. # Driver "vga" # mga, ati, nv, sis, vesa ...
  348. # # Option "BackingStore"
  349. # # Some driver accept an UseFBDev option (e.g. radeon) to switch the
  350. # # mode via the Linux framebuffer layer. Needed e.g. as workaround for
  351. # # iBooks.
  352. # # Option "UseFBDev"
  353. # # The BuID is only required for multi-monitor configs or some fbdev drivers
  354. # # BusID "PCI:1:5:0"
  355. # # Screen 0 # Screen of a dual-head mga card
  356. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  357. # # Option "AGPMode2x"
  358. EndSection
  359. # Matrox Millenium 4xx, Ati or NVidia second-head
  360. #Section "Device"
  361. # Identifier "Card2"
  362. # Driver "mga" # or other dual-able cards like ati, nv
  363. # # Option "BackingStore"
  364. # BusID "PCI:1:5:0"
  365. # Screen 1
  366. #
  367. # # Option "NoHal" # do not use the binary-only Matrox HAL library
  368. # # Option "AGPMode2x"
  369. # # Option "Tv" "yes"
  370. # # Option "TVStandard" "PAL"
  371. # # Option "CableType" "SCART_COMPOSITE"
  372. #EndSection
  373. # **********************************************************************
  374. # Screen sections
  375. # **********************************************************************
  376. # Any number of screen sections may be present. Each describes
  377. # the configuration of a single screen. A single specific screen section
  378. # may be specified from the X server command line with the "-screen"
  379. # option.
  380. Section "Screen"
  381. Identifier "Screen1"
  382. Device "Card1"
  383. Monitor "Monitor1"
  384. DefaultDepth 24
  385. Subsection "Display"
  386. Depth 4
  387. Modes "1024x768" "800x600" "640x480"
  388. ViewPort 0 0
  389. EndSubsection
  390. Subsection "Display"
  391. Depth 8
  392. Modes "1024x768" "800x600" "640x400"
  393. ViewPort 0 0
  394. EndSubsection
  395. Subsection "Display"
  396. Depth 16
  397. Modes "1024x768" "800x600" "640x480"
  398. ViewPort 0 0
  399. EndSubsection
  400. Subsection "Display"
  401. Depth 24
  402. Modes "1024x768" "800x600" "640x480"
  403. ViewPort 0 0
  404. EndSubsection
  405. Subsection "Display"
  406. Depth 32
  407. Modes "1024x768" "800x600" "640x480"
  408. ViewPort 0 0
  409. EndSubsection
  410. EndSection
  411. #Section "Screen"
  412. # Identifier "Screen2"
  413. # Device "Card2"
  414. # Monitor "Monitor1"
  415. # DefaultDepth 16
  416. #
  417. # Subsection "Display"
  418. # Depth 16
  419. # Modes "1024x768" "800x600" "640x480"
  420. # ViewPort 0 0
  421. # EndSubsection
  422. #EndSection
  423. #Section "Screen"
  424. # Identifier "ScreenTV"
  425. # Device "CardTV"
  426. # Monitor "Monitor1"
  427. # DefaultDepth 16
  428. #
  429. # Subsection "Display"
  430. # Depth 16
  431. # Modes "640x480"
  432. # ViewPort 0 0
  433. # EndSubsection
  434. #EndSection
  435. # **********************************************************************
  436. # ServerLayout sections.
  437. # **********************************************************************
  438. # Any number of ServerLayout sections may be present. Each describes
  439. # the way multiple screens are organised. A specific ServerLayout
  440. # section may be specified from the X server command line with the
  441. # "-layout" option. In the absence of this, the first section is used.
  442. # When now ServerLayout section is present, the first Screen section
  443. # is used alone.
  444. Section "ServerLayout"
  445. # The Identifier line must be present
  446. Identifier "Simple Layout"
  447. # Each Screen line specifies a Screen section name, and optionally
  448. # the relative position of other screens. The four names after
  449. # primary screen name are the screens to the top, bottom, left and right
  450. # of the primary screen. In this example, screen 2 is located to the
  451. # right of screen 1.
  452. Screen "Screen1" #LeftOf "Screen2"
  453. #Screen "Screen2"
  454. #Screen "ScreenTV"
  455. # Each InputDevice line specifies an InputDevice section name and
  456. # optionally some options to specify the way the device is to be
  457. # used. Those options include "CorePointer", "CoreKeyboard" and
  458. # "SendCoreEvents".
  459. InputDevice "Mouse1" "CorePointer"
  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