TEXT   25

XF86Config NetBSD Toshiba 4025CDT

Guest on 9th June 2022 01:17:17 AM

  1. # File generated by xf86config.
  2.  
  3. #
  4. # Copyright (c)  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. # **********************************************************************
  36. # Module section -- this  section  is used to specify
  37. # which dynamically loadable modules to load.
  38. # **********************************************************************
  39. #
  40. Section "Module"
  41.  
  42. # This loads the DBE extension module.
  43.  
  44.     Load        "dbe"   # Double buffer extension
  45.  
  46. # This loads the miscellaneous extensions module, and disables
  47. # initialisation of the XFree86-DGA extension within that module.
  48.     SubSection  "extmod"
  49.       Option    "omit xfree86-dga"   # don't initialise the DGA extension
  50.     EndSubSection
  51.  
  52. # This loads the Type1 and FreeType font modules
  53.     Load        "type1"
  54.     Load        "freetype"
  55.  
  56. # This loads the GLX module
  57. #    Load       "glx"
  58.  
  59. EndSection
  60.  
  61. # **********************************************************************
  62. # Files section.  This allows default font and rgb paths to be set
  63. # **********************************************************************
  64.  
  65. Section "Files"
  66.  
  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.  
  71.     RgbPath     "/usr/X11R6/lib/X11/rgb"
  72.  
  73. # Multiple FontPath entries are allowed (which are concatenated together),
  74. # as well as specifying multiple comma-separated entries in one FontPath
  75. # command (or a combination of both methods)
  76. #
  77. # If you don't have a floating point coprocessor and emacs, Mosaic or other
  78. # programs take long to start up, try moving the Type1 and Speedo directory
  79. # to the end of this list (or comment them out).
  80. #
  81.  
  82.     FontPath   "/usr/X11R6/lib/X11/fonts/local/"
  83.     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
  84.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
  85.     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
  86.     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
  87.     FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
  88.     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
  89.     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
  90.  
  91. # The module search path.  The default path is shown here.
  92.  
  93. #    ModulePath "/usr/X11R6/lib/modules"
  94.  
  95. EndSection
  96.  
  97. # **********************************************************************
  98. # Server flags section.
  99. # **********************************************************************
  100.  
  101. Section "ServerFlags"
  102.  
  103. # Uncomment this to cause a core dump at the spot where a signal is
  104. # received.  This may leave the console in an unusable state, but may
  105. # provide a better stack trace in the core dump to aid in debugging
  106.  
  107. #    Option "NoTrapSignals"
  108.  
  109. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
  110. # This allows clients to receive this key event.
  111.  
  112. #    Option "DontZap"
  113.  
  114. # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
  115. # sequences.  This allows clients to receive these key events.
  116.  
  117. #    Option "Dont Zoom"
  118.  
  119. # Uncomment this to disable tuning with the xvidtune client. With
  120. # it the client can still run and fetch card and monitor attributes,
  121. # but it will not be allowed to change them. If it tries it will
  122. # receive a protocol error.
  123.  
  124. #    Option "DisableVidModeExtension"
  125.  
  126. # Uncomment this to enable the use of a non-local xvidtune client.
  127.  
  128. #    Option "AllowNonLocalXvidtune"
  129.  
  130. # Uncomment this to disable dynamically modifying the input device
  131. # (mouse and keyboard) settings.
  132.  
  133. #    Option "DisableModInDev"
  134.  
  135. # Uncomment this to enable the use of a non-local client to
  136. # change the keyboard or mouse settings (currently only xset).
  137.  
  138. #    Option "AllowNonLocalModInDev"
  139.  
  140. EndSection
  141.  
  142. # **********************************************************************
  143. # Input devices
  144. # **********************************************************************
  145.  
  146. # **********************************************************************
  147. # Core keyboard's InputDevice section
  148. # **********************************************************************
  149.  
  150. Section "InputDevice"
  151.  
  152.     Identifier  "Keyboard1"
  153.     Driver      "Keyboard"
  154. # For most OSs the protocol can be omitted (it defaults to "Standard").
  155. # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
  156. # uncomment the following line.
  157.  
  158. #    Option     "Protocol"      "Xqueue"
  159.  
  160.     Option "AutoRepeat" "500 30"
  161.  
  162. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
  163. #    Option     "Xleds"      "1 2 3"
  164.  
  165. #    Option "LeftAlt"     "Meta"
  166. #    Option "RightAlt"    "ModeShift"
  167.  
  168. # To customise the XKB settings to suit your keyboard, modify the
  169. # lines below (which are the defaults).  For example, for a non-U.S.
  170. # keyboard, you will probably want to use:
  171. #    Option "XkbModel"    "pc102"
  172. # If you have a US Microsoft Natural keyboard, you can use:
  173. #    Option "XkbModel"    "microsoft"
  174. #
  175. # Then to change the language, change the Layout setting.
  176. # For example, a german layout can be obtained with:
  177. #    Option "XkbLayout"   "de"
  178. # or:
  179. #    Option "XkbLayout"   "de"
  180. #    Option "XkbVariant"  "nodeadkeys"
  181. #
  182. # If you'd like to switch the positions of your capslock and
  183. # control keys, use:
  184. #    Option "XkbOptions"  "ctrl:swapcaps"
  185.  
  186. # These are the default XKB settings for XFree86
  187. #    Option "XkbRules"    "xfree86"
  188. #    Option "XkbModel"    "pc101"
  189. #    Option "XkbLayout"   "us"
  190. #    Option "XkbVariant"  ""
  191. #    Option "XkbOptions"  ""
  192.  
  193. #    Option "XkbDisable"
  194.  
  195.     Option "XkbRules"   "xfree86"
  196.     Option "XkbModel"   "pc101"
  197.     Option "XkbLayout"  "us"
  198.  
  199. EndSection
  200.  
  201.  
  202. # **********************************************************************
  203. # Core Pointer's InputDevice section
  204. # **********************************************************************
  205.  
  206. Section "InputDevice"
  207.  
  208. # Identifier and driver
  209.  
  210.     Identifier  "Mouse1"
  211.     Driver      "mouse"
  212. #    Option "Protocol"    "PS/2"
  213.     Option "Protocol"    "Wsmouse"
  214.     Option "Device"      "/dev/wsmouse0"
  215. #    Option "Device"      "/dev/mouse"
  216.  
  217. # When using XQUEUE, comment out the above two lines, and uncomment
  218. # the following line.
  219.  
  220. #    Option "Protocol"  "Xqueue"
  221.  
  222. # Baudrate and SampleRate are only for some Logitech mice. In
  223. # almost every case these lines should be omitted.
  224.  
  225. #    Option "BaudRate"  "9600"
  226. #    Option "SampleRate"        "150"
  227.  
  228. # Emulate3Buttons is an option for 2-button Microsoft mice
  229. # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
  230.  
  231. #    Option "Emulate3Buttons"
  232. #    Option "Emulate3Timeout"    "50"
  233.  
  234. # ChordMiddle is an option for some 3-button Logitech mice
  235.  
  236. #    Option "ChordMiddle"
  237.  
  238. EndSection
  239.  
  240.  
  241. # **********************************************************************
  242. # Other input device sections
  243. # this is optional and is required only if you
  244. # are using extended input devices.  This is for example only.  Refer
  245. # to the XF86Config man page for a description of the options.
  246. # **********************************************************************
  247. #
  248. # Section "InputDevice"
  249. #    Identifier  "Mouse2"
  250. #    Driver      "mouse"
  251. #    Option      "Protocol"      "MouseMan"
  252. #    Option      "Device"        "/dev/mouse2"
  253. # EndSection
  254. #
  255. # Section "InputDevice"
  256. #    Identifier "spaceball"
  257. #    Driver     "magellan"
  258. #    Option     "Device"        "/dev/cua0"
  259. # EndSection
  260. #
  261. # Section "InputDevice"
  262. #    Identifier "spaceball2"
  263. #    Driver     "spaceorb"
  264. #    Option     "Device"        "/dev/cua0"
  265. # EndSection
  266. #
  267. # Section "InputDevice"
  268. #    Identifier "touchscreen0"
  269. #    Driver     "microtouch"
  270. #    Option     "Device"        "/dev/ttyS0"
  271. #    Option     "MinX"          "1412"
  272. #    Option     "MaxX"          "15184"
  273. #    Option     "MinY"          "15372"
  274. #    Option     "MaxY"          "1230"
  275. #    Option     "ScreenNumber"  "0"
  276. #    Option     "ReportingMode" "Scaled"
  277. #    Option     "ButtonNumber"  "1"
  278. #    Option     "SendCoreEvents"
  279. # EndSection
  280. #
  281. # Section "InputDevice"
  282. #    Identifier "touchscreen1"
  283. #    Driver     "elo2300"
  284. #    Option     "Device"        "/dev/ttyS0"
  285. #    Option     "MinX"          "231"
  286. #    Option     "MaxX"          "3868"
  287. #    Option     "MinY"          "3858"
  288. #    Option     "MaxY"          "272"
  289. #    Option     "ScreenNumber"  "0"
  290. #    Option     "ReportingMode" "Scaled"
  291. #    Option     "ButtonThreshold"       "17"
  292. #    Option     "ButtonNumber"  "1"
  293. #    Option     "SendCoreEvents"
  294. # EndSection
  295.  
  296. # **********************************************************************
  297. # Monitor section
  298. # **********************************************************************
  299.  
  300. # Any number of monitor sections may be present
  301.  
  302. Section "Monitor"
  303.  
  304.     Identifier  "My Monitor"
  305.  
  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. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  310. # USER MANUAL FOR THE CORRECT NUMBERS.
  311.  
  312.     HorizSync   31.5 - 48.5
  313.  
  314. #    HorizSync  30-64         # multisync
  315. #    HorizSync  31.5, 35.2    # multiple fixed sync frequencies
  316. #    HorizSync  15-25, 30-50  # multiple ranges of sync frequencies
  317.  
  318. # VertRefresh is in Hz unless units are specified.
  319. # VertRefresh may be a comma separated list of discrete values, or a
  320. # comma separated list of ranges of values.
  321. # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
  322. # USER MANUAL FOR THE CORRECT NUMBERS.
  323.  
  324.     VertRefresh 50-90
  325.  
  326. EndSection
  327.  
  328.  
  329. # **********************************************************************
  330. # Graphics device section
  331. # **********************************************************************
  332.  
  333. # Any number of graphics device sections may be present
  334.  
  335. # Standard VGA Device:
  336.  
  337. Section "Device"
  338.     Identifier  "Standard VGA"
  339.     VendorName  "Unknown"
  340.     BoardName   "Unknown"
  341.  
  342. # The chipset line is optional in most cases.  It can be used to override
  343. # the driver's chipset detection, and should not normally be specified.
  344.  
  345. #    Chipset    "generic"
  346.  
  347. # The Driver line must be present.  When using run-time loadable driver
  348. # modules, this line instructs the server to load the specified driver
  349. # module.  Even when not using loadable driver modules, this line
  350. # indicates which driver should interpret the information in this section.
  351.  
  352.     Driver     "vga"
  353. # The BusID line is used to specify which of possibly multiple devices
  354. # this section is intended for.  When this line isn't present, a device
  355. # section can only match up with the primary video device.  For PCI
  356. # devices a line like the following could be used.  This line should not
  357. # normally be included unless there is more than one video device
  358. # intalled.
  359.  
  360. #    BusID      "PCI:0:10:0"
  361.  
  362. #    VideoRam   256
  363.  
  364. #    Clocks     25.2 28.3
  365.  
  366. EndSection
  367.  
  368. # Device configured by xf86config:
  369.  
  370. Section "Device"
  371.     Identifier  "Chips & Technologies CT65555"
  372.     Driver      "chips"
  373.     #VideoRam    2048
  374. # Option "noaccel"
  375. # Option "no_bitblt"
  376. # Option "xaa_no_color_exp"
  377. # Option "xaa_benchmark"
  378. # Option "hw_cursor"
  379. # Option "sync_on_green"
  380. # Option "fast_dram"
  381. # Option "use_vclk1"
  382. # Textclockfreq 25.175
  383. # Option "nolinear"
  384. # MemBase 0x03b00000
  385. # Device section for C&T cards.
  386. # Option "suspend_hack"
  387. # Option "STN"
  388. # Option "no_stretch"
  389. # Option "no_center"
  390. # Option "use_modeline"
  391. # Option "fix_panel_size"
  392. # videoram 512
  393.     # Insert Clocks lines here if appropriate
  394. EndSection
  395.  
  396.  
  397. # **********************************************************************
  398. # Screen sections
  399. # **********************************************************************
  400.  
  401. # Any number of screen sections may be present.  Each describes
  402. # the configuration of a single screen.  A single specific screen section
  403. # may be specified from the X server command line with the "-screen"
  404. # option.
  405. Section "Screen"
  406.     Identifier  "Screen 1"
  407.     Device      "Chips & Technologies CT65555"
  408.     Monitor     "My Monitor"
  409. #    DefaultDepth 16
  410.     DefaultDepth 8
  411.  
  412.     Subsection "Display"
  413.         Depth       8
  414.         Modes       "640x480" "800x600" "1024x768" "1280x1024"
  415.         ViewPort    0 0
  416.     EndSubsection
  417.     Subsection "Display"
  418. #        Depth       16
  419.         Depth       8
  420.         Modes       "640x480" "800x600" "1024x768"
  421.         ViewPort    0 0
  422.     EndSubsection
  423.     Subsection "Display"
  424.         Depth       24
  425.         Modes       "640x480" "800x600"
  426.         ViewPort    0 0
  427.     EndSubsection
  428. EndSection
  429.  
  430. # **********************************************************************
  431. # ServerLayout sections.
  432. # **********************************************************************
  433.  
  434. # Any number of ServerLayout sections may be present.  Each describes
  435. # the way multiple screens are organised.  A specific ServerLayout
  436. # section may be specified from the X server command line with the
  437. # "-layout" option.  In the absence of this, the first section is used.
  438. # When now ServerLayout section is present, the first Screen section
  439. # is used alone.
  440.  
  441. Section "ServerLayout"
  442.  
  443. # The Identifier line must be present
  444.     Identifier  "Simple Layout"
  445.  
  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.  
  452.     Screen "Screen 1"
  453.  
  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.  
  459.     InputDevice "Mouse1" "CorePointer"
  460.     InputDevice "Keyboard1" "CoreKeyboard"
  461.  
  462. EndSection

Raw Paste


Login or Register to edit or fork this paste. It's free.