Nevermind, I am just a complete idiot. 

Forgot that I was running hardened-gentoo on this box, and need to set
the paxctl for Xorg to make it work. 

( I peeked at /var/log/everything/current and saw that PAX killed
Xorg, and everything suddenly dawned on me.)

Sorry for the noise. 

W

On Sun, Apr 03, 2005 at 01:38:46AM -0500, Willie Wong wrote:
> I've heard that nvidia-1.0.7167 and above now works with xorg using
> dlloader. But if I try to start X, it hops to vt7, everything goes
> blank, and stops. If I change back to the vt that I was on when trying
> to start X, I get
> 
> X Window System Version 6.8.2
> Release Date: 9 February 2005
> X Protocol Version 11, Revision 0, Release 6.8.2
> Build Operating System: Linux 2.6.11-hardened-r1 i686 [ELF]
> Current Operating System: Linux sep.princeton.edu 2.6.11-hardened-r1
> #4 Sat Apr
> 2 21:44:14 EST 2005 i686
> Build Date: 02 April 2005
>         Before reporting problems, check http://wiki.X.Org
>       to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr  3 01:30:18 2005
> (==) Using config file:       "/etc/X11/xorg.conf"
> Using vt 7
> XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
>       after 0 requests (0 known processed) with 0 events remaining.
> 
> The Xorg.0.log shows the usual stuff, and it loads all the modules up
> until the nvidia_drv.o and then there's nothing after that. 
> 
> There are no errors in the log file, and the only warning is 
> 
> (WW) Open APM failed (/dev/apm_bios) (No such file or directory)
> 
> which is much before the end of the log. 
> 
> What could be the problem? What should I look for? 
> 
> Thanks, 
> 
> W
> 
> -- 
> ----------------------------------------------------------------
> *   Address:  45 Spelman Hall, Princeton University  08544     *
> *     Phone:  x68958                  AIM:  AngularJerk        *
> *    E-mail:  [EMAIL PROTECTED]    From:  sep.dynalias.net   *
> ----------------------------------------------------------------
>    Life is full of surprises but never when you need one.
>                         -- Calvin
> Sortir en Pantoufles: up 11 min

> 
> X Window System Version 6.8.2
> Release Date: 9 February 2005
> X Protocol Version 11, Revision 0, Release 6.8.2
> Build Operating System: Linux 2.6.11-hardened-r1 i686 [ELF] 
> Current Operating System: Linux sep.princeton.edu 2.6.11-hardened-r1 #4 Sat 
> Apr 2 21:44:14 EST 2005 i686
> Build Date: 02 April 2005
>       Before reporting problems, check http://wiki.X.Org
>       to make sure that you have the latest version.
> Module Loader present
> Markers: (--) probed, (**) from config file, (==) default setting,
>       (++) from command line, (!!) notice, (II) informational,
>       (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Sun Apr  3 00:51:26 2005
> (==) Using config file: "/etc/X11/xorg.conf"
> (==) ServerLayout "Simple Layout"
> (**) |-->Screen "Screen 1" (0)
> (**) |   |-->Monitor "PRINCETON"
> (**) |   |-->Device "NVidia"
> (**) |-->Input Device "Mouse1"
> (**) |-->Input Device "Keyboard1"
> (WW) The directory "/usr/share/fonts/truetype/" does not exist.
>       Entry deleted from font path.
> (**) FontPath set to 
> "/usr/share/fonts/local/,/usr/share/fonts/misc/,/usr/share/fonts/75dpi/:unscaled,/usr/share/fonts/100dpi/:unscaled,/usr/share/fonts/Type1/,/usr/share/fonts/75dpi/,/usr/share/fonts/100dpi/,/usr/share/fonts/sharefonts/,/usr/share/fonts/TTF/,/usr/share/fonts/mathematica/,/usr/share/fonts/freefont/,/usr/share/fonts/mikachan-font/,/usr/share/fonts/aquafont/,/usr/share/fonts/aquapfont/,/usr/share/fonts/baekmuk-fonts/,/usr/share/fonts/artwiz/,/usr/share/fonts/jisx0213/,/usr/share/fonts/zh-kcfonts/,/usr/share/fonts/twmoefonts/,/usr/share/fonts/arphicfonts/,/usr/share/fonts/kochi-substitute/,/usr/share/fonts/unifont/"
> (**) RgbPath set to "/usr/lib/X11/rgb"
> (==) ModulePath set to "/usr/lib/modules"
> (WW) Open APM failed (/dev/apm_bios) (No such file or directory)
> (II) Module ABI versions:
>       X.Org ANSI C Emulation: 0.2
>       X.Org Video Driver: 0.7
>       X.Org XInput driver : 0.4
>       X.Org Server Extension : 0.2
>       X.Org Font Renderer : 0.4
> (II) Loader running on linux
> (II) LoadModule: "bitmap"
> (II) Loading /usr/lib/modules/fonts/libbitmap.so
> (II) Module bitmap: vendor="X.Org Foundation"
>       compiled for 6.8.2, module version = 1.0.0
>       Module class: X.Org Font Renderer
>       ABI class: X.Org Font Renderer, version 0.4
> (II) Loading font Bitmap
> (II) LoadModule: "pcidata"
> (II) Loading /usr/lib/modules/libpcidata.so
> (II) Module pcidata: vendor="X.Org Foundation"
>       compiled for 6.8.2, module version = 1.0.0
>       ABI class: X.Org Video Driver, version 0.7
> Using vt 7
> (--) using VT number 7
> 
> (II) PCI: PCI scan (all values are in hex)
> (II) PCI: 00:00:0: chip 8086,1a30 card 8086,1a30 rev 11 class 06,00,00 hdr 00
> (II) PCI: 00:01:0: chip 8086,1a31 card 0000,0000 rev 11 class 06,04,00 hdr 01
> (II) PCI: 00:1d:0: chip 8086,24c2 card 8086,5032 rev 01 class 0c,03,00 hdr 80
> (II) PCI: 00:1d:1: chip 8086,24c4 card 8086,5032 rev 01 class 0c,03,00 hdr 00
> (II) PCI: 00:1d:2: chip 8086,24c7 card 8086,5032 rev 01 class 0c,03,00 hdr 00
> (II) PCI: 00:1d:7: chip 8086,24cd card 8086,5032 rev 01 class 0c,03,20 hdr 00
> (II) PCI: 00:1e:0: chip 8086,244e card 0000,0000 rev 81 class 06,04,00 hdr 01
> (II) PCI: 00:1f:0: chip 8086,24c0 card 0000,0000 rev 01 class 06,01,00 hdr 80
> (II) PCI: 00:1f:1: chip 8086,24cb card 8086,5032 rev 01 class 01,01,8a hdr 00
> (II) PCI: 00:1f:3: chip 8086,24c3 card 8086,5032 rev 01 class 0c,05,00 hdr 00
> (II) PCI: 00:1f:5: chip 8086,24c5 card 8086,0102 rev 01 class 04,01,00 hdr 00
> (II) PCI: 01:00:0: chip 10de,0171 card 0000,0000 rev a3 class 03,00,00 hdr 00
> (II) PCI: 02:08:0: chip 8086,1039 card 8086,3005 rev 81 class 02,00,00 hdr 00
> (II) PCI: End of PCI scan
> (II) Host-to-PCI bridge:
> (II) Bus 0: bridge is at (0:0:0), (0,0,2), BCTRL: 0x0008 (VGA_EN is set)
> (II) Bus 0 I/O range:
>       [0] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
> (II) Bus 0 non-prefetchable memory range:
>       [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
> (II) Bus 0 prefetchable memory range:
>       [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
> (II) PCI-to-PCI bridge:
> (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000a (VGA_EN is set)
> (II) Bus 1 non-prefetchable memory range:
>       [0] -1  0       0xfc900000 - 0xfe9fffff (0x2100000) MX[B]
> (II) Bus 1 prefetchable memory range:
>       [0] -1  0       0xe4500000 - 0xf46fffff (0x10200000) MX[B]
> (II) PCI-to-PCI bridge:
> (II) Bus 2: bridge is at (0:30:0), (0,2,2), BCTRL: 0x0206 (VGA_EN is cleared)
> (II) Bus 2 I/O range:
>       [0] -1  0       0x0000d000 - 0x0000d0ff (0x100) IX[B]
>       [1] -1  0       0x0000d400 - 0x0000d4ff (0x100) IX[B]
>       [2] -1  0       0x0000d800 - 0x0000d8ff (0x100) IX[B]
>       [3] -1  0       0x0000dc00 - 0x0000dcff (0x100) IX[B]
> (II) Bus 2 non-prefetchable memory range:
>       [0] -1  0       0xfea00000 - 0xfeafffff (0x100000) MX[B]
> (II) Bus 2 prefetchable memory range:
>       [0] -1  0       0xf4700000 - 0xf47fffff (0x100000) MX[B]
> (II) PCI-to-ISA bridge:
> (II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set)
> (--) PCI:*(1:0:0) nVidia Corporation NV17 [GeForce4 MX 440] rev 163, Mem @ 
> 0xfd000000/24, 0xe8000000/27, 0xf4680000/19, BIOS @ 0xfe9e0000/17
> (II) Addressable bus resource ranges are
>       [0] -1  0       0x00000000 - 0xffffffff (0x0) MX[B]
>       [1] -1  0       0x00000000 - 0x0000ffff (0x10000) IX[B]
> (II) OS-reported resource ranges:
>       [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
>       [1] -1  0       0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B)
>       [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
>       [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
>       [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
>       [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
>       [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
> (II) PCI Memory resource overlap reduced 0xf8000000 from 0xfbffffff to 
> 0xf7ffffff
> (II) Active PCI resource ranges:
>       [0] -1  0       0xfeaff000 - 0xfeafffff (0x1000) MX[B]
>       [1] -1  0       0xfebff400 - 0xfebff4ff (0x100) MX[B]
>       [2] -1  0       0xfebff800 - 0xfebff9ff (0x200) MX[B]
>       [3] -1  0       0x20000000 - 0x200003ff (0x400) MX[B]
>       [4] -1  0       0xfebffc00 - 0xfebfffff (0x400) MX[B]
>       [5] -1  0       0xf8000000 - 0xf7ffffff (0x0) MX[B]O
>       [6] -1  0       0xfe9e0000 - 0xfe9fffff (0x20000) MX[B](B)
>       [7] -1  0       0xf4680000 - 0xf46fffff (0x80000) MX[B](B)
>       [8] -1  0       0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
>       [9] -1  0       0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
>       [10] -1 0       0x0000dc00 - 0x0000dc3f (0x40) IX[B]
>       [11] -1 0       0x0000e080 - 0x0000e0bf (0x40) IX[B]
>       [12] -1 0       0x0000e400 - 0x0000e4ff (0x100) IX[B]
>       [13] -1 0       0x0000e000 - 0x0000e01f (0x20) IX[B]
>       [14] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
>       [15] -1 0       0x0000ec00 - 0x0000ec1f (0x20) IX[B]
>       [16] -1 0       0x0000e880 - 0x0000e89f (0x20) IX[B]
>       [17] -1 0       0x0000e800 - 0x0000e81f (0x20) IX[B]
> (II) Active PCI resource ranges after removing overlaps:
>       [0] -1  0       0xfeaff000 - 0xfeafffff (0x1000) MX[B]
>       [1] -1  0       0xfebff400 - 0xfebff4ff (0x100) MX[B]
>       [2] -1  0       0xfebff800 - 0xfebff9ff (0x200) MX[B]
>       [3] -1  0       0x20000000 - 0x200003ff (0x400) MX[B]
>       [4] -1  0       0xfebffc00 - 0xfebfffff (0x400) MX[B]
>       [5] -1  0       0xf8000000 - 0xf7ffffff (0x0) MX[B]O
>       [6] -1  0       0xfe9e0000 - 0xfe9fffff (0x20000) MX[B](B)
>       [7] -1  0       0xf4680000 - 0xf46fffff (0x80000) MX[B](B)
>       [8] -1  0       0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
>       [9] -1  0       0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
>       [10] -1 0       0x0000dc00 - 0x0000dc3f (0x40) IX[B]
>       [11] -1 0       0x0000e080 - 0x0000e0bf (0x40) IX[B]
>       [12] -1 0       0x0000e400 - 0x0000e4ff (0x100) IX[B]
>       [13] -1 0       0x0000e000 - 0x0000e01f (0x20) IX[B]
>       [14] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
>       [15] -1 0       0x0000ec00 - 0x0000ec1f (0x20) IX[B]
>       [16] -1 0       0x0000e880 - 0x0000e89f (0x20) IX[B]
>       [17] -1 0       0x0000e800 - 0x0000e81f (0x20) IX[B]
> (II) OS-reported resource ranges after removing overlaps with PCI:
>       [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
>       [1] -1  0       0x00100000 - 0x1fffffff (0x1ff00000) MX[B]E(B)
>       [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
>       [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
>       [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
>       [5] -1  0       0x0000ffff - 0x0000ffff (0x1) IX[B]
>       [6] -1  0       0x00000000 - 0x000000ff (0x100) IX[B]
> (II) All system resource ranges:
>       [0] -1  0       0xffe00000 - 0xffffffff (0x200000) MX[B](B)
>       [1] -1  0       0x00100000 - 0x1fffffff (0x1ff00000) MX[B]E(B)
>       [2] -1  0       0x000f0000 - 0x000fffff (0x10000) MX[B]
>       [3] -1  0       0x000c0000 - 0x000effff (0x30000) MX[B]
>       [4] -1  0       0x00000000 - 0x0009ffff (0xa0000) MX[B]
>       [5] -1  0       0xfeaff000 - 0xfeafffff (0x1000) MX[B]
>       [6] -1  0       0xfebff400 - 0xfebff4ff (0x100) MX[B]
>       [7] -1  0       0xfebff800 - 0xfebff9ff (0x200) MX[B]
>       [8] -1  0       0x20000000 - 0x200003ff (0x400) MX[B]
>       [9] -1  0       0xfebffc00 - 0xfebfffff (0x400) MX[B]
>       [10] -1 0       0xf8000000 - 0xf7ffffff (0x0) MX[B]O
>       [11] -1 0       0xfe9e0000 - 0xfe9fffff (0x20000) MX[B](B)
>       [12] -1 0       0xf4680000 - 0xf46fffff (0x80000) MX[B](B)
>       [13] -1 0       0xe8000000 - 0xefffffff (0x8000000) MX[B](B)
>       [14] -1 0       0xfd000000 - 0xfdffffff (0x1000000) MX[B](B)
>       [15] -1 0       0x0000ffff - 0x0000ffff (0x1) IX[B]
>       [16] -1 0       0x00000000 - 0x000000ff (0x100) IX[B]
>       [17] -1 0       0x0000dc00 - 0x0000dc3f (0x40) IX[B]
>       [18] -1 0       0x0000e080 - 0x0000e0bf (0x40) IX[B]
>       [19] -1 0       0x0000e400 - 0x0000e4ff (0x100) IX[B]
>       [20] -1 0       0x0000e000 - 0x0000e01f (0x20) IX[B]
>       [21] -1 0       0x0000ffa0 - 0x0000ffaf (0x10) IX[B]
>       [22] -1 0       0x0000ec00 - 0x0000ec1f (0x20) IX[B]
>       [23] -1 0       0x0000e880 - 0x0000e89f (0x20) IX[B]
>       [24] -1 0       0x0000e800 - 0x0000e81f (0x20) IX[B]
> (II) LoadModule: "dbe"
> (II) Loading /usr/lib/modules/extensions/libdbe.so
> (II) Module dbe: vendor="X.Org Foundation"
>       compiled for 6.8.2, module version = 1.0.0
>       Module class: X.Org Server Extension
>       ABI class: X.Org Server Extension, version 0.2
> (II) Loading extension DOUBLE-BUFFER
> (II) LoadModule: "extmod"
> (II) Loading /usr/lib/modules/extensions/libextmod.so
> (II) Module extmod: vendor="X.Org Foundation"
>       compiled for 6.8.2, module version = 1.0.0
>       Module class: X.Org Server Extension
>       ABI class: X.Org Server Extension, version 0.2
> (II) Loading extension SHAPE
> (II) Loading extension MIT-SUNDRY-NONSTANDARD
> (II) Loading extension BIG-REQUESTS
> (II) Loading extension SYNC
> (II) Loading extension MIT-SCREEN-SAVER
> (II) Loading extension XC-MISC
> (II) Loading extension XFree86-VidModeExtension
> (II) Loading extension XFree86-Misc
> (II) Loading extension DPMS
> (II) Loading extension TOG-CUP
> (II) Loading extension Extended-Visual-Information
> (II) Loading extension XVideo
> (II) Loading extension XVideo-MotionCompensation
> (II) Loading extension X-Resource
> (II) LoadModule: "type1"
> (II) Loading /usr/lib/modules/fonts/libtype1.so
> (II) Module type1: vendor="X.Org Foundation"
>       compiled for 6.8.2, module version = 1.0.2
>       Module class: X.Org Font Renderer
>       ABI class: X.Org Font Renderer, version 0.4
> (II) Loading font Type1
> (II) Loading font CID
> (II) LoadModule: "freetype"
> (II) Loading /usr/lib/modules/fonts/libfreetype.so
> (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
>       compiled for 6.8.2, module version = 2.1.0
>       Module class: X.Org Font Renderer
>       ABI class: X.Org Font Renderer, version 0.4
> (II) Loading font FreeType
> (II) LoadModule: "glx"
> (II) Loading /usr/lib/modules/extensions/libglx.so
> (II) Module glx: vendor="NVIDIA Corporation"
>       compiled for 4.0.2, module version = 1.0.7174
>       Module class: XFree86 Server Extension
>       ABI class: XFree86 Server Extension, version 0.1
> (II) Loading extension GLX
> (II) LoadModule: "nvidia"
> (II) Loading /usr/lib/modules/drivers/nvidia_drv.o
> (II) Module nvidia: vendor="NVIDIA Corporation"
>       compiled for 4.0.2, module version = 1.0.7174
>       Module class: XFree86 Video Driver

> # **********************************************************************
> # 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        "freetype"
> 
> # This loads the GLX module
>     Load       "glx"
>     
> 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/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/share/fonts/local/"
>     FontPath   "/usr/share/fonts/misc/"
>     FontPath   "/usr/share/fonts/75dpi/:unscaled"
>     FontPath   "/usr/share/fonts/100dpi/:unscaled"
>     FontPath   "/usr/share/fonts/Type1/"
>     FontPath   "/usr/share/fonts/75dpi/"
>     FontPath   "/usr/share/fonts/100dpi/"
>     FontPath   "/usr/share/fonts/sharefonts/"
>     FontPath   "/usr/share/fonts/TTF/"
>     FontPath   "/usr/share/fonts/truetype/"
>     FontPath   "/usr/share/fonts/mathematica/"
>     FontPath   "/usr/share/fonts/freefont/"
>     FontPath   "/usr/share/fonts/mikachan-font/"
>     FontPath   "/usr/share/fonts/aquafont/"
>     FontPath   "/usr/share/fonts/aquapfont/"
>     FontPath   "/usr/share/fonts/baekmuk-fonts/"
>     FontPath   "/usr/share/fonts/artwiz/"
>     FontPath   "/usr/share/fonts/jisx0213/"
>     FontPath   "/usr/share/fonts/zh-kcfonts/"
>     FontPath   "/usr/share/fonts/twmoefonts/"
>     FontPath   "/usr/share/fonts/arphicfonts/"
>     FontPath   "/usr/share/fonts/kochi-substitute/" 
>     FontPath   "/usr/share/fonts/unifont/"
> 
> # 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><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    "kbd"
> # 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 "XkbModel"    "pc101"
> #    Option "XkbLayout"   "us"
> #    Option "XkbVariant"  ""
> #    Option "XkbOptions"  ""
> 
> #    Option "XkbDisable"
> 
> 
>     Option "XkbModel" "pc101"
>     Option "XkbLayout"        "us"
> 
> EndSection
> 
> 
> # **********************************************************************
> # Core Pointer's InputDevice section
> # **********************************************************************
> 
> Section "InputDevice"
> 
> # Identifier and driver
> 
>     Identifier        "Mouse1"
>     Driver    "mouse"
>     Option "Protocol"    "imps/2"
>     Option "Device"      "/dev/psaux"
>     Option "ZAxisMapping" "4 5"
>     
> # 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
> 
> Section "InputDevice"
> 
> # Identifier and driver
> 
>     Identifier        "MouseU"
>     Driver    "mouse"
>     Option "Protocol"    "imps/2"
>     Option "Device"      "/dev/usbmouse"
>     Option "ZAxisMapping" "4 5"
> 
> # 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  "PRINCETON"
> 
> # 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 55-75
> 
> #    Option "dpms"
> 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     "vesa"
> # 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  "NVidia"
>     #Driver      "nv"
>     Driver    "nvidia"
>     VideoRam    65536
>     Option "NvAGP" "true"
>     # Insert Clocks lines here if appropriate
>     Option "IgnoreEDID" "True"
> 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      "NVidia"
>     Monitor     "PRINCETON"
>     DefaultDepth 24
> 
>     Subsection "Display"
>         Depth       8
>         Modes       "1024x768" "800x600"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       16
>         Modes       "1280x1024" "1024x768"
>         ViewPort    0 0
>     EndSubsection
>     Subsection "Display"
>         Depth       24
>         Modes       "1280x1024" "1024x768"
>         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"
> #    Option "OffTime" "20"
> 
> EndSection
> 


-- 
----------------------------------------------------------------
*   Address:  45 Spelman Hall, Princeton University  08544     *
*     Phone:  x68958                  AIM:  AngularJerk        *
*    E-mail:  [EMAIL PROTECTED]    From:  sep.dynalias.net   *
----------------------------------------------------------------
Mulder: Modell psyched the guy out. He put the whammy on him.
Scully: Please explain to me the scientific nature of the 
        'whammy'.

        "The X-Files: Pusher"
Sortir en Pantoufles: up 35 min
--
gentoo-user@gentoo.org mailing list

Reply via email to