Subject: Re: Problem with X/wscons on 2.0RC4/i386
To: David H.Gutteridge <dhgutteridge@sympatico.ca>
From: =?iso-8859-1?Q?Timo_Sch=F6ler?= <eclipser23@web.de>
List: port-macppc
Date: 11/03/2004 01:00:36
> Hello,
>
> I've been trying out 2.0RC4/i386 and I've encountered a strange  
> problem with X and/or wscons (I assume it's one of the two, or their  
> interaction).  When I exit from X (having started it from a VT), the  
> screen goes blank, and switching between VTs doesn't do anything, the  
> screen simply stays blank.  I tried to reinitialize the ttys in  
> question from a remote login, but that didn't do anything.
>
> The same problem existed with 2.0BETA from late May, but I shrugged it  
> off at the time.  (This is my first foray into i386 with NetBSD, right  
> now I happily use the macppc port.)
>
> I searched the mailing lists and found a few references to similar  
> problems in the past, the solution for one person (have X use wsmouse,  
> in port-i386 August 7th 2003 messages:  
> http://mail-index.netbsd.org/port-i386/2003/08/07/0006.html) doesn't  
> help me, because I'm already set up that way.  (I'm using a serial  
> mouse with moused if that makes any difference though.)
>
> Keyboard input still works, I can login at the console (blindly), and  
> start X again, and back it comes, but the VTs will never return.
>

hi,

as i have the same or a similar problem, i put this thread on  
port-macppc also.

i'm running -current on a Power Mac G4 with a Radeon 9000 Pro gfx card.

X runs very well :) but when i exit, the signal from the gfx board is  
out of sync (i run a very high-end monitor, it's a 22" LaCie with  
Mitsubishi Diamondtron etc etc, 31 - 135kHz) -- the monitor reports  
horizontal freq's of about 250kHz and above.

not knowing whether this may be exactly true, if i get back to X (i.e.,  
keyboard input is okay), everything runs quite well again.

seems to be similar...

help is very much appreciated -- tia!

regards,

timo

> My particulars are attached below (everything's pretty much stock).
>
> Any help would be greatly appreciated.
>
> Regards,
>
> David Gutteridge
>
> NetBSD 2.0_RC4 (GENERIC.MP) #0: Sun Oct 17 19:50:23 UTC 2004
> 	autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/ 
> netbsd-2-0/src/sys/arch/i386/compile/GENERIC.MP
> total memory = 383 MB
> avail memory = 367 MB
> BIOS32 rev. 0 found at 0xffe90
> mainbus0 (root)
> mainbus0: Intel MP Specification (Version 1.4) (DELL     WS 410      )
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel Pentium II (686-class), 348.95 MHz, id 0x651
> cpu0: features  
> 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
> cpu0: features 183fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
> cpu0: features 183fbff<FXSR>
> cpu0: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
> cpu0: L2 cache 512 KB 32B/line 4-way
> cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
> cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
> cpu0: calibrating local timer
> cpu0: apic clock running at 99 MHz
> cpu0: 32 page colors
> cpu1 at mainbus0: apid 1 (application processor)
> cpu1: starting
> cpu1: Intel Pentium II (686-class), 348.93 MHz, id 0x651
> cpu1: features  
> 183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
> cpu1: features 183fbff<PGE,MCA,CMOV,PAT,PSE36,MMX>
> cpu1: features 183fbff<FXSR>
> cpu1: I-cache 16 KB 32B/line 4-way, D-cache 16 KB 32B/line 4-way
> cpu1: L2 cache 512 KB 32B/line 4-way
> cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
> cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
> mpbios: bus 0 is type PCI
> mpbios: bus 1 is type PCI
> mpbios: bus 2 is type PCI
> mpbios: bus 3 is type ISA
> ioapic0 at mainbus0 apid 2 (I/O APIC)
> ioapic0: pa 0xfec00000, version 11, 24 pins
> ioapic0: misconfigured as apic 0
> ioapic0: remapped to apic 2
> pci0 at mainbus0 bus 0: configuration mode 1
> pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
> pchb0 at pci0 dev 0 function 0
> pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x02)
> agp0 at pchb0: aperture at 0xf0000000, size 0x4000000
> ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x02)
> pci1 at ppb0 bus 1
> pci1: i/o space, memory space enabled
> vga1 at pci1 dev 0 function 0: Texas Instruments TVP4020 Permedia 2  
> (rev. 0x01)
> wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
> wsmux1: connecting to wsdisplay0
> pcib0 at pci0 dev 7 function 0
> pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
> piixide0 at pci0 dev 7 function 1
> piixide0: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
> piixide0: device disabled (at device)
> uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller  
> (PIIX4) (rev. 0x01)
> uhci0: interrupting at ioapic0 pin 19 (irq 14)
> usb0 at uhci0: USB revision 1.0
> uhub0 at usb0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> Intel 82371AB Power Management Controller (PIIX4) (miscellaneous  
> bridge, revision 0x02) at pci0 dev 7 function 3 not configured
> ex0 at pci0 dev 17 function 0: 3Com 3c905B-TX 10/100 Ethernet (rev.  
> 0x0)
> ex0: interrupting at ioapic0 pin 19 (irq 14)
> ex0: MAC address 00:c0:4f:79:74:ce
> exphy0 at ex0 phy 24: 3Com internal media interface
> exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> ppb1 at pci0 dev 19 function 0: Digital Equipment DECchip 21152  
> PCI-PCI Bridge (rev. 0x03)
> pci2 at ppb1 bus 2
> pci2: i/o space, memory space enabled, rd/line, wr/inv ok
> ahc1 at pci2 dev 10 function 0: Adaptec aic7890/91 Ultra2 SCSI adapter
> ahc1: interrupting at ioapic0 pin 18 (irq 10)
> ahc1: aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
> scsibus0 at ahc1: 16 targets, 8 luns per target
> ahc2 at pci2 dev 14 function 0: Adaptec aic7880 Ultra SCSI adapter
> ahc2: interrupting at ioapic0 pin 18 (irq 10)
> ahc2: aic7880: Ultra Wide Channel A, SCSI Id=7, 16/253 SCBs
> scsibus1 at ahc2: 16 targets, 8 luns per target
> isa0 at pcib0
> lpt0 at isa0 port 0x378-0x37b irq 7
> com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
> com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
> pckbc0 at isa0 port 0x60-0x64
> pckbd0 at pckbc0 (kbd slot)
> pckbc0: using irq 1 for kbd slot
> wskbd0 at pckbd0: console keyboard, using wsdisplay0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: PC speaker
> sysbeep0 at pcppi0
> isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
> npx0 at isa0 port 0xf0-0xff: using exception 16
> fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
> isapnp0: read port 0x203
> wss1 at isapnp0 port 0x534/4,0x388/4,0x220/16 irq 5 drq 1,0
> wss1: CS4236B WSS/SB: CS4237B
> audio0 at wss1: full duplex, mmap
> opl0 at wss1: model OPL3
> midi1 at opl0: WSS Yamaha OPL3
> isapnp0: <CS4236B, CSC000F, , Game> port 0x3a0/8 not configured
> isapnp0: <CS4236B, CSC0010, , Ctrl> port 0xf00/8 not configured
> ioapic0: enabling
> fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
> Kernelized RAIDframe activated
> scsibus0: waiting 2 seconds for devices to settle...
> scsibus1: waiting 2 seconds for devices to settle...
> sd0 at scsibus0 target 0 lun 0: <QUANTUM, VIKING II 4.5WLS, 3506> disk  
> fixed
> sd0: 4350 MB, 8338 cyl, 5 head, 213 sec, 512 bytes/sect x 8910423  
> sectors
> sd0: sync (50.00ns offset 31), 16-bit (40.000MB/s) transfers, tagged  
> queueing
> sd1 at scsibus0 target 1 lun 0: <COMPAQPC, DDRS-34560W, S95E> disk  
> fixed
> sd1: 4094 MB, 8387 cyl, 5 head, 199 sec, 512 bytes/sect x 8386000  
> sectors
> sd1: sync (50.00ns offset 15), 16-bit (40.000MB/s) transfers, tagged  
> queueing
> cd0 at scsibus1 target 5 lun 0: <NEC, CD-ROM DRIVE:464, 1.05> cdrom  
> removable
> cd0: sync (50.00ns offset 15), 8-bit (20.000MB/s) transfers
> boot device: sd0
> root on sd0a dumps on sd0b
> root file system type: ffs
> cpu1: CPU 1 running
> wsdisplay0: screen 1 added (80x25, vt100 emulation)
> wsdisplay0: screen 2 added (80x25, vt100 emulation)
> wsdisplay0: screen 3 added (80x25, vt100 emulation)
> wsdisplay0: screen 4 added (80x25, vt100 emulation)
>
> #	$NetBSD: wscons.conf,v 1.10.4.1 2004/07/10 12:51:23 tron Exp $
> #
> # workstation console configuration
>
> # fonts to load
> #	name	width	height	enc	file
> #font	ibm	-	8	ibm	/usr/share/wscons/fonts/vt220l.808
>
> # Note: "pcvt" encoded fonts are only useful with the "*bf" screen  
> types
> #  of the "vga" driver. The kernel must be compiled with the option
> #  "WSCONS_SUPPORT_PCVTFONTS" turned on. See vga(4).
> #font	pcvt	-	-	pcvt	/usr/share/wscons/fonts/vt220h.816
> #font	pcvt	-	8	pcvt	/usr/share/wscons/fonts/vt220h.808
>
> # screens to create
> #	idx	screen	emul
> # Screen 0 is already configured as console in most cases.
> #  Uncomment if a serial console is used.
> #screen	0	-	vt100
> screen	1	-	vt100
> screen	2	-	vt100
> screen	3	-	vt100
> screen	4	-	vt100
> #screen	4	80x25bf	vt100
> # Note: You must uncomment the 'font	ibm' line above to get a useful
> #	font for any 50 line screens.
> #screen	5	80x50	vt100
>
> #keyboard	auto
>
> # Select a kernel builtin keyboard map by uncommenting the following  
> line and
> # altering the country code to your requirements
> # (choose from user, us, uk, de, dk, it, fr, jp, sv, no, es, pt).
> # See wsconsctl(8), pckbd(4), ukbd(4) etc. for more details.
> #encoding sv
>
> # Redefine individual keys from a file containing "keysym" and/or  
> "keycode"
> # entries.
> # See wsconsctl(8) for more details.
> #mapfile /usr/share/wscons/keymaps/pckbd.sv.svascii
>
> # File generated by xf86config.
>
> #
> # Copyright (c) 1999 by The XFree86 Project, Inc.
> #
> # Permission is hereby granted, free of charge, to any person  
> obtaining a
> # copy of this software and associated documentation files (the  
> "Software"),
> # to deal in the Software without restriction, including without  
> limitation
> # the rights to use, copy, modify, merge, publish, distribute,  
> sublicense,
> # and/or sell copies of the Software, and to permit persons to whom the
> # Software is furnished to do so, subject to the following conditions:
> #
> # The above copyright notice and this permission notice shall be  
> included in
> # all copies or substantial portions of the Software.
> #
> # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,  
> EXPRESS OR
> # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  
> MERCHANTABILITY,
> # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT  
> SHALL
> # THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER  
> LIABILITY,
> # WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,  
> OUT OF
> # OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN  
> THE
> # SOFTWARE.
> #
> # Except as contained in this notice, the name of the XFree86 Project  
> shall
> # not be used in advertising or otherwise to promote the sale, use or  
> other
> # dealings in this Software without prior written authorization from  
> the
> # XFree86 Project.
> #
>
> #  
> **********************************************************************
> # Refer to the XF86Config(4/5) man page for details about the format of
> # this file.
> #  
> **********************************************************************
>
> #  
> **********************************************************************
> # Module section -- this  section  is used to specify
> # which dynamically loadable modules to load.
> #  
> **********************************************************************
> #
> Section "Module"
>
> # This loads the DBE extension module.
>
>     Load        "dbe"  	# Double buffer extension
>
> # This loads the miscellaneous extensions module, and disables
> # initialisation of the XFree86-DGA extension within that module.
>     SubSection  "extmod"
>       Option    "omit xfree86-dga"   # don't initialise the DGA  
> extension
>     EndSubSection
>
> # This loads the Type1 and FreeType font modules
>     Load        "type1"
>     Load        "speedo"
>     Load        "freetype"
> #    Load        "xtt"
>
> # This loads the GLX module
> #    Load       "glx"
> # This loads the DRI module
> #    Load       "dri"
>
> EndSection
>
> #  
> **********************************************************************
> # Files section.  This allows default font and rgb paths to be set
> #  
> **********************************************************************
>
> Section "Files"
>
> # The location of the RGB database.  Note, this is the name of the
> # file minus the extension (like ".txt" or ".db").  There is normally
> # no need to change the default.
>
>     RgbPath	"/usr/X11R6/lib/X11/rgb"
>
> # Multiple FontPath entries are allowed (which are concatenated  
> together),
> # as well as specifying multiple comma-separated entries in one  
> FontPath
> # command (or a combination of both methods)
> #
> # If you don't have a floating point coprocessor and emacs, Mosaic or  
> other
> # programs take long to start up, try moving the Type1 and Speedo  
> directory
> # to the end of this list (or comment them out).
> #
>
>     FontPath   "/usr/X11R6/lib/X11/fonts/local/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
>     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
>     FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
> #    FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
> #    FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
>     FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"
>
> # The module search path.  The default path is shown here.
>
> #    ModulePath "/usr/X11R6/lib/modules"
>
> EndSection
>
> #  
> **********************************************************************
> # Server flags section.
> #  
> **********************************************************************
>
> Section "ServerFlags"
>
> # Uncomment this to cause a core dump at the spot where a signal is
> # received.  This may leave the console in an unusable state, but may
> # provide a better stack trace in the core dump to aid in debugging
>
> #    Option "NoTrapSignals"
>
> # Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
> # (where n is 1 through 12).  This allows clients to receive these key
> # events.
>
> #    Option "DontVTSwitch"
>
> # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
> # This allows clients to receive this key event.
>
> #    Option "DontZap"
>
> # Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
> # sequences.  This allows clients to receive these key events.
>
> #    Option "Dont Zoom"
>
> # Uncomment this to disable tuning with the xvidtune client. With
> # it the client can still run and fetch card and monitor attributes,
> # but it will not be allowed to change them. If it tries it will
> # receive a protocol error.
>
> #    Option "DisableVidModeExtension"
>
> # Uncomment this to enable the use of a non-local xvidtune client.
>
> #    Option "AllowNonLocalXvidtune"
>
> # Uncomment this to disable dynamically modifying the input device
> # (mouse and keyboard) settings.
>
> #    Option "DisableModInDev"
>
> # Uncomment this to enable the use of a non-local client to
> # change the keyboard or mouse settings (currently only xset).
>
> #    Option "AllowNonLocalModInDev"
>
> EndSection
>
> #  
> **********************************************************************
> # Input devices
> #  
> **********************************************************************
>
> #  
> **********************************************************************
> # Core keyboard's InputDevice section
> #  
> **********************************************************************
>
> Section "InputDevice"
>
>     Identifier	"Keyboard1"
>     Driver	"Keyboard"
>
> # For most OSs the protocol can be omitted (it defaults to "Standard").
> # When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
> # uncomment the following line.
>
> #    Option     "Protocol"      "Xqueue"
>
>     Option "AutoRepeat" "500 30"
>
> # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
> #    Option	"Xleds"      "1 2 3"
>
> #    Option "LeftAlt"     "Meta"
> #    Option "RightAlt"    "ModeShift"
>
> # To customise the XKB settings to suit your keyboard, modify the
> # lines below (which are the defaults).  For example, for a non-U.S.
> # keyboard, you will probably want to use:
> #    Option "XkbModel"    "pc102"
> # If you have a US Microsoft Natural keyboard, you can use:
> #    Option "XkbModel"    "microsoft"
> #
> # Then to change the language, change the Layout setting.
> # For example, a german layout can be obtained with:
> #    Option "XkbLayout"   "de"
> # or:
> #    Option "XkbLayout"   "de"
> #    Option "XkbVariant"  "nodeadkeys"
> #
> # If you'd like to switch the positions of your capslock and
> # control keys, use:
> #    Option "XkbOptions"  "ctrl:swapcaps"
>
> # These are the default XKB settings for XFree86
> #    Option "XkbRules"    "xfree86"
> #    Option "XkbModel"    "pc101"
> #    Option "XkbLayout"   "us"
> #    Option "XkbVariant"  ""
> #    Option "XkbOptions"  ""
>
> #    Option "XkbDisable"
>
>     Option "XkbRules"	"xfree86"
>     Option "XkbModel"	"pc104"
>     Option "XkbLayout"	"us"
>
> EndSection
>
>
> #  
> **********************************************************************
> # Core Pointer's InputDevice section
> #  
> **********************************************************************
>
> Section "InputDevice"
>
> # Identifier and driver
>
>     Identifier	"Mouse1"
>     Driver	"mouse"
>     Option "Protocol"    "wsmouse"
>     Option "Device"      "/dev/wsmouse"
>
> # Mouse-speed setting for PS/2 mouse.
>
> #    Option "Resolution"	"256"
>
> # When using XQUEUE, comment out the above two lines, and uncomment
> # the following line.
>
> #    Option "Protocol"	"Xqueue"
>
> # Baudrate and SampleRate are only for some Logitech mice. In
> # almost every case these lines should be omitted.
>
> #    Option "BaudRate"	"9600"
> #    Option "SampleRate"	"150"
>
> # Emulate3Buttons is an option for 2-button Microsoft mice
> # Emulate3Timeout is the timeout in milliseconds (default is 50ms)
>
> #    Option "Emulate3Buttons"
> #    Option "Emulate3Timeout"    "50"
>
> # ChordMiddle is an option for some 3-button Logitech mice
>
> #    Option "ChordMiddle"
>
> EndSection
>
>
> #  
> **********************************************************************
> # Other input device sections
> # this is optional and is required only if you
> # are using extended input devices.  This is for example only.  Refer
> # to the XF86Config man page for a description of the options.
> #  
> **********************************************************************
> #
> # Section "InputDevice"
> #    Identifier  "Mouse2"
> #    Driver      "mouse"
> #    Option      "Protocol"      "MouseMan"
> #    Option      "Device"        "/dev/mouse2"
> # EndSection
> #
> # Section "InputDevice"
> #    Identifier "spaceball"
> #    Driver     "magellan"
> #    Option     "Device"        "/dev/cua0"
> # EndSection
> #
> # Section "InputDevice"
> #    Identifier "spaceball2"
> #    Driver     "spaceorb"
> #    Option     "Device"        "/dev/cua0"
> # EndSection
> #
> # Section "InputDevice"
> #    Identifier "touchscreen0"
> #    Driver     "microtouch"
> #    Option     "Device"        "/dev/ttyS0"
> #    Option     "MinX"          "1412"
> #    Option     "MaxX"          "15184"
> #    Option     "MinY"          "15372"
> #    Option     "MaxY"          "1230"
> #    Option     "ScreenNumber"  "0"
> #    Option     "ReportingMode" "Scaled"
> #    Option     "ButtonNumber"  "1"
> #    Option     "SendCoreEvents"
> # EndSection
> #
> # Section "InputDevice"
> #    Identifier "touchscreen1"
> #    Driver     "elo2300"
> #    Option     "Device"        "/dev/ttyS0"
> #    Option     "MinX"          "231"
> #    Option     "MaxX"          "3868"
> #    Option     "MinY"          "3858"
> #    Option     "MaxY"          "272"
> #    Option     "ScreenNumber"  "0"
> #    Option     "ReportingMode" "Scaled"
> #    Option     "ButtonThreshold"       "17"
> #    Option     "ButtonNumber"  "1"
> #    Option     "SendCoreEvents"
> # EndSection
>
> #  
> **********************************************************************
> # Monitor section
> #  
> **********************************************************************
>
> # Any number of monitor sections may be present
>
> Section "Monitor"
>
>     Identifier  "generic"
>
> # HorizSync is in kHz unless units are specified.
> # HorizSync may be a comma separated list of discrete values, or a
> # comma separated list of ranges of values.
> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
> # USER MANUAL FOR THE CORRECT NUMBERS.
>
>     HorizSync   31.5 - 64.3
>
> #    HorizSync	30-64         # multisync
> #    HorizSync	31.5, 35.2    # multiple fixed sync frequencies
> #    HorizSync	15-25, 30-50  # multiple ranges of sync frequencies
>
> # VertRefresh is in Hz unless units are specified.
> # VertRefresh may be a comma separated list of discrete values, or a
> # comma separated list of ranges of values.
> # NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
> # USER MANUAL FOR THE CORRECT NUMBERS.
>
>     VertRefresh 50-100
>
> EndSection
>
>
> #  
> **********************************************************************
> # Graphics device section
> #  
> **********************************************************************
>
> # Any number of graphics device sections may be present
>
> # Standard VGA Device:
>
> Section "Device"
>     Identifier	"Standard VGA"
>     VendorName	"Unknown"
>     BoardName	"Unknown"
>
> # The chipset line is optional in most cases.  It can be used to  
> override
> # the driver's chipset detection, and should not normally be specified.
>
> #    Chipset	"generic"
>
> # The Driver line must be present.  When using run-time loadable driver
> # modules, this line instructs the server to load the specified driver
> # module.  Even when not using loadable driver modules, this line
> # indicates which driver should interpret the information in this  
> section.
>
>     Driver     "vga"
> # The BusID line is used to specify which of possibly multiple devices
> # this section is intended for.  When this line isn't present, a device
> # section can only match up with the primary video device.  For PCI
> # devices a line like the following could be used.  This line should  
> not
> # normally be included unless there is more than one video device
> # intalled.
>
> #    BusID      "PCI:0:10:0"
>
> #    VideoRam	256
>
> #    Clocks	25.2 28.3
>
> EndSection
>
> # Device configured by xf86config:
>
> Section "Device"
>     Identifier  "Diamond Fire GL 1000 PRO"
>     Driver      "glint"
>     #VideoRam    8192
> #Option "no_accel"
>     # Insert Clocks lines here if appropriate
> EndSection
>
>
> #  
> **********************************************************************
> # Screen sections
> #  
> **********************************************************************
>
> # Any number of screen sections may be present.  Each describes
> # the configuration of a single screen.  A single specific screen  
> section
> # may be specified from the X server command line with the "-screen"
> # option.
> Section "Screen"
>     Identifier  "Screen 1"
>     Device      "Diamond Fire GL 1000 PRO"
>     Monitor     "generic"
>     DefaultDepth 24
>
>     Subsection "Display"
>         Depth       8
>         Modes       "800x600" "640x480"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       16
>         Modes       "800x600" "640x480"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "800x600" "640x480"
>         ViewPort    0 0
>     EndSubsection
> EndSection
>
> #  
> **********************************************************************
> # ServerLayout sections.
> #  
> **********************************************************************
>
> # Any number of ServerLayout sections may be present.  Each describes
> # the way multiple screens are organised.  A specific ServerLayout
> # section may be specified from the X server command line with the
> # "-layout" option.  In the absence of this, the first section is used.
> # When now ServerLayout section is present, the first Screen section
> # is used alone.
>
> Section "ServerLayout"
>
> # The Identifier line must be present
>     Identifier  "Simple Layout"
>
> # Each Screen line specifies a Screen section name, and optionally
> # the relative position of other screens.  The four names after
> # primary screen name are the screens to the top, bottom, left and  
> right
> # of the primary screen.  In this example, screen 2 is located to the
> # right of screen 1.
>
>     Screen "Screen 1"
>
> # Each InputDevice line specifies an InputDevice section name and
> # optionally some options to specify the way the device is to be
> # used.  Those options include "CorePointer", "CoreKeyboard" and
> # "SendCoreEvents".
>
>     InputDevice "Mouse1" "CorePointer"
>     InputDevice "Keyboard1" "CoreKeyboard"
>
> EndSection
>
> # Section "DRI"
> #    Mode 0666
> # EndSection
>
>
>
-- 
:x!

timo