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