home *** CD-ROM | disk | FTP | other *** search
/ ANews 2 / AnewsCD2.iso / LinuxPPC / Amiga / XF86ConfigAGA < prev    next >
Encoding:
Text File  |  1999-10-08  |  13.8 KB  |  467 lines

  1. # $XFree86: xc/programs/Xserver/hw/xfree86/XF86Conf.cpp,v 3.21 1996/01/31 11:46:37 dawes Exp $
  2. #
  3. # Copyright (c) 1994 by The XFree86 Project, Inc.
  4. #
  5. # Permission is hereby granted, free of charge, to any person obtaining a
  6. # copy of this software and associated documentation files (the "Software"),
  7. # to deal in the Software without restriction, including without limitation
  8. # the rights to use, copy, modify, merge, publish, distribute, sublicense,
  9. # and/or sell copies of the Software, and to permit persons to whom the
  10. # Software is furnished to do so, subject to the following conditions:
  11. # The above copyright notice and this permission notice shall be included in
  12. # all copies or substantial portions of the Software.
  13. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
  16. # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
  17. # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
  18. # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  19. # SOFTWARE.
  20. # Except as contained in this notice, the name of the XFree86 Project shall
  21. # not be used in advertising or otherwise to promote the sale, use or other
  22. # dealings in this Software without prior written authorization from the
  23. # XFree86 Project.
  24. #
  25. # $XConsortium: XF86Conf.cpp /main/16 1996/01/31 10:03:57 kaleb $
  26.  
  27. # **********************************************************************
  28. # Refer to the XF86Config(4/5) man page for details about the format of 
  29. # this file. This man page is installed as /usr/X11R6/man/man5/XF86Config.5x 
  30. # **********************************************************************
  31.  
  32. # **********************************************************************
  33. # Files section.  This allows default font and rgb paths to be set
  34. # **********************************************************************
  35.  
  36. Section "Files"
  37.  
  38. # The location of the RGB database.  Note, this is the name of the
  39. # file minus the extension (like ".txt" or ".db").  There is normally
  40. # no need to change the default.
  41.  
  42.     RgbPath    "/usr/X11R6/lib/X11/rgb"
  43.  
  44. # Multiple FontPath entries are allowed (which are concatenated together),
  45. # as well as specifying multiple comma-separated entries in one FontPath
  46. # command (or a combination of both methods)
  47.  
  48.     FontPath    "/usr/X11R6/lib/X11/fonts/misc/"
  49. #    FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  50. #    FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  51.     FontPath    "/usr/X11R6/lib/X11/fonts/Type1/"
  52.     FontPath    "/usr/X11R6/lib/X11/fonts/Speedo/"
  53.     FontPath    "/usr/X11R6/lib/X11/fonts/75dpi/"
  54.     FontPath    "/usr/X11R6/lib/X11/fonts/100dpi/"
  55.  
  56. EndSection
  57.  
  58. # **********************************************************************
  59. # Server flags section.
  60. # **********************************************************************
  61.  
  62. Section "ServerFlags"
  63.  
  64. # Uncomment this to cause a core dump at the spot where a signal is 
  65. # received.  This may leave the console in an unusable state, but may
  66. # provide a better stack trace in the core dump to aid in debugging
  67.  
  68.     NoTrapSignals
  69.  
  70. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  71. # This allows clients to receive this key event.
  72.  
  73. #    DontZap
  74.  
  75. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  76. # sequences.  This allows clients to receive these key events.
  77.  
  78. #    DontZoom
  79.  
  80. # Uncomment this to disable tuning with the xvidtune client. With
  81. # it the client can still run and fetch card and monitor attributes,
  82. # but it will not be allowed to change them. If it tries it will
  83. # receive a protocol error.
  84.  
  85. #    DisableVidModeExtension
  86.  
  87. # Uncomment this to enable the use of a non-local xvidtune client.
  88.  
  89. #    AllowNonLocalXvidtune
  90.  
  91. EndSection
  92.  
  93. # **********************************************************************
  94. # Input devices
  95. # **********************************************************************
  96.  
  97. # **********************************************************************
  98. # Keyboard section
  99. # **********************************************************************
  100.  
  101. Section "Keyboard"
  102.  
  103.     Protocol    "Standard"
  104.  
  105. # when using XQUEUE, comment out the above line, and uncomment the
  106. # following line
  107.  
  108. #    Protocol    "Xqueue"
  109.  
  110.     AutoRepeat    500 5
  111.  
  112. # Let the server do the NumLock processing.  This should only be required
  113. # when using pre-R6 clients
  114. #    ServerNumLock
  115.  
  116. # Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1))
  117. #    Xleds      1 2 3
  118.  
  119. # To set the LeftAlt to Meta, RightAlt key to ModeShift, 
  120. # RightCtl key to Compose, and ScrollLock key to ModeLock:
  121.  
  122. #    LeftAlt     Meta
  123. #    RightAlt    ModeShift
  124. #    RightCtl    Compose
  125. #    ScrollLock  ModeLock
  126.  
  127. # To disable the XKEYBOARD extension, uncomment XkbDisable.
  128.  
  129. XkbDisable
  130.  
  131. # To use the default map in ProjectRoot keymap/xfree86, uncomment 
  132. # XkbKeymap. To use one of the alternate maps in keymap/xfree86 
  133. # uncomment and modify the XkbKeymap line, e.g.: 
  134. #    XkbKeymap   "keymap/xfree86(us_microsoft)"
  135. # To tailor a combination not already in keymap/xfree86 modify
  136. # keymap/xfree86 or uncomment and modify the other lines as 
  137. # desired. One way to get a german layout on a 101 key keyboard 
  138. # is to modify the XkbSymbols line, e.g.:
  139. #    XkbSymbols  "symbols/us(pc101)+de"
  140.  
  141. #    XkbKeymap   "keymap/xfree86"
  142. #    Xkbkeycodes "keycodes/xfree86"
  143. #    XkbTypes    "types/default"
  144. #    XkbCompat   "compat/default"
  145. #    XkbSymbols  "symbols/us(pc101)"
  146. #    XkbGeometry "geometry/pc"
  147.  
  148. EndSection
  149.  
  150.  
  151. # **********************************************************************
  152. # Pointer section
  153. # **********************************************************************
  154.  
  155. Section "Pointer"
  156.  
  157.     Protocol    "BusMouse"
  158.     Device    "/dev/mouse"
  159.  
  160. # When using XQUEUE, comment out the above two lines, and uncomment
  161. # the following line.
  162.  
  163. #    Protocol    "Xqueue"
  164.  
  165. # Baudrate and SampleRate are only for some Logitech mice
  166.  
  167. #    BaudRate    9600
  168. #    SampleRate    150
  169.  
  170. # Emulate3Buttons is an option for 2-button Microsoft mice
  171. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  172.  
  173.     Emulate3Buttons
  174.     Emulate3Timeout    50
  175.  
  176. # ChordMiddle is an option for some 3-button Logitech mice
  177.  
  178. #    ChordMiddle
  179.  
  180. EndSection
  181.  
  182.  
  183. # **********************************************************************
  184. # Xinput section -- this is optional and is required only if you
  185. # are using extended input devices.  This is for example only.  Refer
  186. # to the XF86Config man page for a description of the options.
  187. # **********************************************************************
  188. #
  189. # Section "Xinput"
  190. #    SubSection "WacomStylus"
  191. #        Port "/dev/ttyS1"
  192. #        DeviceName "Wacom"
  193. #    EndSubSection
  194. #    SubSection "WacomCursor"
  195. #    EndSubSection
  196. #    SubSection "WacomEraser"
  197. #    EndSubSection
  198. #
  199. #    SubSection "Elographics"
  200. #        Port "/dev/ttyS1"
  201. #        DeviceName "Elo"
  202. #        MinimumXPosition 300
  203. #        MaximumXPosition 3500
  204. #        MinimumYPosition 300
  205. #        MaximumYPosition 3500
  206. #        Screen 0
  207. #        UntouchDelay 10
  208. #        ReportDelay 10
  209. #    EndSubSection
  210. #   
  211. #    SubSection "Joystick"
  212. #        Port "/dev/joy0"
  213. #        DeviceName "Joystick"
  214. #        TimeOut 10
  215. #        MinimumXPosition 100
  216. #        MaximumXPosition 1300
  217. #        MinimumYPosition 100
  218. #        MaximumYPosition 1100
  219. #        # CenterX 700
  220. #        # CenterY 600
  221. #        Delta 20
  222. #    EndSubSection
  223. # EndSection
  224.  
  225.  
  226. # **********************************************************************
  227. # Monitor section
  228. # **********************************************************************
  229.  
  230. # Any number of monitor sections may be present
  231.  
  232. Section "Monitor"
  233.  
  234.     Identifier    "ANITECH"
  235.     VendorName    "AniTech"
  236.     ModelName    "AniTech 15"
  237.  
  238. # HorizSync is in kHz unless units are specified.
  239. # HorizSync may be a comma separated list of discrete values, or a
  240. # comma separated list of ranges of values.
  241. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  242. # USER MANUAL FOR THE CORRECT NUMBERS.
  243.  
  244. #    HorizSync   31.5  # typical for a single frequency fixed-sync monitor
  245.  
  246. #    HorizSync    15-40         # multisync
  247. #    HorizSync    30-64         # multisync
  248. #    HorizSync    31.5, 35.2    # multiple fixed sync frequencies
  249. #    HorizSync    15-25, 30-50  # multiple ranges of sync frequencies
  250.  
  251.     HorizSync 15-40    
  252.  
  253. # VertRefresh is in Hz unless units are specified.
  254. # VertRefresh may be a comma separated list of discrete values, or a
  255. # comma separated list of ranges of values.
  256. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  257. # USER MANUAL FOR THE CORRECT NUMBERS.
  258.  
  259. #    VertRefresh 60  # typical for a single frequency fixed-sync monitor
  260.  
  261. #    VertRefresh    50-100        # multisync
  262. #    VertRefresh    60, 65        # multiple fixed sync frequencies
  263. #    VertRefresh    40-50, 80-100 # multiple ranges of sync frequencies
  264.  
  265.     VertRefresh    50-100
  266.  
  267. # Modes can be specified in two formats.  A compact one-line format, or
  268. # a multi-line format.
  269.  
  270. # A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
  271. # These two are equivalent
  272.  
  273. #    ModeLine "640x400" 25.175 640 664 760 800 480 491 493 525
  274.  
  275.     Mode "640x480"
  276.         DotClock    28.375
  277.         HTimings    640 760 804 916
  278.         VTimings    480 491 493 525
  279.     EndMode
  280.  
  281. # These two are equivalent
  282.  
  283. #    ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace
  284.  
  285. #    Mode "1024x768i"
  286. #        DotClock    45
  287. #        HTimings    1024 1048 1208 1264
  288. #        VTimings    768 776 784 817
  289. #        Flags        "Interlace"
  290. #    EndMode
  291.  
  292. #ModeLine "640x480" 30.438 640 704 768 832 480 512 514 546 -HSync -VSync -CSync
  293. #ModeLine "800x600" 49.553 800 864 928 992 600 632 634 666 -HSync -VSync -CSync
  294. #ModeLine "832x624" 52.995 832 896 960 1024 624 656 658 690 -HSync -VSync -CSync
  295. #ModeLine "1024x768" 76.064 1024 1088 1152 1216 768 800 802 834 -HSync -VSync -CSync
  296. #ModeLine "1152x870" 94.358 1152 1216 1280 1344 870 902 904 936 -HSync -VSync -CSync
  297.  
  298. EndSection
  299.  
  300. # **********************************************************************
  301. # Graphics device section
  302. # **********************************************************************
  303.  
  304. # Any number of graphics device sections may be present
  305.  
  306. #Section "Device"
  307. #    Identifier    "Generic VGA"
  308. #    VendorName    "Unknown"
  309. #    BoardName    "Unknown"
  310. #    Chipset    "generic"
  311. #    VideoRam    256
  312. #    Clocks    25.2 28.3
  313. #EndSection
  314.  
  315. #Section "Device"
  316. #    # SVGA server auto-detected chipset
  317. #    Identifier    "Generic SVGA"
  318. #    VendorName    "Unknown"
  319. #    BoardName    "Unknown"
  320. #EndSection
  321.  
  322. # Section "Device"
  323. #    Identifier    "Any Trident TVGA 9000"
  324. #    VendorName    "Trident"
  325. #    BoardName    "TVGA 9000"
  326. #    Chipset    "tvga9000"
  327. #    VideoRam    512
  328. #    Clocks    25 28 45 36 57 65 50 40 25 28 0 45 72 77 80 75
  329. # EndSection
  330.  
  331. # Section "Device"
  332. #    Identifier    "Actix GE32+ 2MB"
  333. #    VendorName    "Actix"
  334. #    BoardName    "GE32+"
  335. #    Ramdac    "ATT20C490"
  336. #    Dacspeed    110
  337. #    Option    "dac_8_bit"
  338. #    Clocks     25.0  28.0  40.0   0.0  50.0  77.0  36.0  45.0
  339. #    Clocks    130.0 120.0  80.0  31.0 110.0  65.0  75.0  94.0
  340. # EndSection
  341.  
  342. # Section "Device"
  343. #    Identifier    "Hercules mono"
  344. # EndSection
  345.  
  346. # **********************************************************************
  347. # Screen sections
  348. # **********************************************************************
  349.  
  350. # The colour SVGA server
  351.  
  352. #Section "Screen"
  353. #    Driver    "svga"
  354. #    Device    "Generic SVGA"
  355. #    Monitor    "ANITECH"
  356. #    Subsection "Display"
  357. #        Depth        8
  358. #        Modes        "640x480"
  359. #        ViewPort    0 0
  360. #        Virtual     800 600
  361. #    EndSubsection
  362. #EndSection
  363.  
  364. # The 16-colour VGA server
  365.  
  366. #Section "Screen"
  367. #    Driver    "vga16"
  368. #    Device    "Generic VGA"
  369. #    Monitor    "ANITECH"
  370. #    Subsection "Display"
  371. #        Modes        "640x480"
  372. #        ViewPort    0 0
  373. #        Virtual     800 600
  374. #    EndSubsection
  375. #EndSection
  376.  
  377. # The Mono server
  378.  
  379. #Section "Screen"
  380. #    Driver    "vga2"
  381. #    Device    "Generic VGA"
  382. #    Monitor    "ANITECH"
  383. #    Subsection "Display"
  384. #        Modes        "640x480"
  385. #        ViewPort    0 0
  386. #        Virtual     800 600
  387. #    EndSubsection
  388. #EndSection
  389.  
  390. # The hercules driver in the Mono and VGA16 servers
  391. #
  392. # Section "Screen"
  393. #     Driver    "mono"
  394. #     Device    "Hercules Mono"
  395. #     Monitor    "Generic Monitor"
  396. #     Subsection "Display"
  397. #     EndSubsection
  398. # EndSection
  399.  
  400. # The accelerated servers (S3, Mach32, Mach8, 8514, P9000, AGX, W32)
  401.  
  402. # Section "Screen"
  403. #     Driver    "accel"
  404. #     Device    "Actix GE32+ 2MB"
  405. #     Monitor    "Generic Monitor"
  406. #     Subsection  "Display"
  407. #         Depth        8
  408. #         Modes        "640x480"
  409. #         ViewPort    0 0
  410. #         Virtual        1280 1024
  411. #     EndSubsection
  412. #     SubSection "Display"
  413. #         Depth        16
  414. #         Weight        565
  415. #         Modes        "640x480"
  416. #         ViewPort    0 0
  417. #         Virtual        1024 768
  418. #     EndSubsection
  419. # EndSection
  420.  
  421.  
  422. # **********************************************************************
  423. # Server for the Linux Frame Buffer Device
  424. # **********************************************************************
  425.  
  426. Section "Device"
  427.     Identifier "Linux Frame Buffer Device"
  428. EndSection
  429.  
  430. Section "Screen"
  431.     Driver    "fbdev"
  432.     Device    "Linux Frame Buffer Device"
  433. #    Device    "Generic VGA"
  434.     Monitor    "ANITECH"
  435.     DefaultColorDepth    8
  436.     SubSection "Display"
  437.         Modes       "default"
  438.     EndSubsection
  439.     SubSection "Display"
  440.         Depth        8
  441. #        Modes        "640x480" "800x600" "832x624" "1024x768" "1152x870"
  442.         Modes        "640x480"
  443.         Virtual        1280 960
  444.     EndSubSection
  445.     SubSection "Display"
  446.         Depth        16
  447. #        Modes        "640x480" "800x600" "832x624" "1024x768" "1152x870"
  448.         Modes        "1152x870"
  449.         Virtual        1152 870
  450.     EndSubSection
  451.     SubSection "Display"
  452.         Depth        24
  453. #        Modes        "640x480" "800x600" "832x624" "1024x768" "1152x870"
  454.         Modes        "1152x870"
  455.         Virtual        1152 870
  456.     EndSubSection
  457.     SubSection "Display"
  458.         Depth        32
  459. #        Modes        "640x480" "800x600" "832x624" "1024x768" "1152x870"
  460.         Modes        "1152x870"
  461.         Virtual        1152 870
  462.     EndSubSection
  463. EndSection
  464.