On Fri, 2006-03-24 at 14:15 -0500, Jeff wrote: > As root: > > X -configure > > This will attempt to detect your X hardware - mouse, keyboard, video, > monitor - and create a new temporary file called xorg.conf.new. You'll > then be able to edit and use this file to test X. You'll need to modify > xorg.conf.new to take advantage of your particular hardware so edit this > file a bit to your liking before you copy it to /etc/X11/ as xorg.conf. > If you're completely lost or don't really understand what I'm talking > about, check out this Gentoo documentation on setting up X: > > http://www.gentoo.org/doc/en/xorg-config.xml > > Here's my xorg.conf as an example (only use for reference since my > settings could possibly fry your hardware). Note, that I was able to get > all this info using the X -configure command, with some additional > nVidia tweaks and settings I found from Gentoo/Google: > > # more /etc/X11/xorg.conf > Section "ServerLayout" > Identifier "X.org Configured" > Screen 0 "Screen0" 0 0 > InputDevice "Mouse0" "CorePointer" > InputDevice "Keyboard0" "CoreKeyboard" > EndSection > > Section "Files" > RgbPath "/usr/lib/X11/rgb" > ModulePath "/usr/lib/modules" > FontPath "/usr/share/fonts/misc/" > FontPath "/usr/share/fonts/TTF/" > FontPath "/usr/share/fonts/Type1/" > FontPath "/usr/share/fonts/CID/" > FontPath "/usr/share/fonts/75dpi/" > FontPath "/usr/share/fonts/100dpi/" > FontPath "/usr/share/fonts/XP/" > FontPath "/usr/share/fonts/corefonts/" > EndSection > > Section "Module" > Load "extmod" > Load "dbe" > Load "record" > Load "xtrap" > Load "glx" > Load "type1" > Load "freetype" > EndSection > > Section "InputDevice" > Identifier "Keyboard0" > Driver "kbd" > EndSection > > Section "InputDevice" > Identifier "Mouse0" > Driver "mouse" > Option "Protocol" "auto" > Option "Device" "/dev/psaux" > Option "ZAxisMApping" "4 5" > EndSection > > Section "Monitor" > Identifier "Monitor0" > # HorizSync 28.0 - 78.0 # Warning: This may fry very old Monitors > HorizSync 28.0 - 96.0 # Warning: This may fry old Monitors > VertRefresh 50.0 - 75.0 # Very conservative. May flicker. > # VertRefresh 50.0 - 62.0 # Extreme conservative. Will flicker. > TFT default. > # Default modes distilled from > # "VESA and Industry Standards and Guide for Computer > Display Monitor > # Timing", version 1.0, revision 0.8, adopted September > 17, 1998. > # $XFree86: xc/programs/Xserver/hw/xfree86/etc/vesamodes,v 1.4 > 1999/11/18 16:52:17 tsi Exp $ > # 640x350 @ 85Hz (VESA) hsync: 37.9kHz > ModeLine "640x350" 31.5 640 672 736 832 350 382 385 > 445 +hsync -vsync > # 640x400 @ 85Hz (VESA) hsync: 37.9kHz > ModeLine "640x400" 31.5 640 672 736 832 400 401 404 > 445 -hsync +vsync > # 640x480 @ 60Hz (Industry standard) hsync: 31.5kHz > ModeLine "640x480" 25.2 640 656 752 800 480 490 492 > 525 -hsync -vsync > # 640x480 @ 72Hz (VESA) hsync: 37.9kHz > ModeLine "640x480" 31.5 640 664 704 832 480 489 491 > 520 -hsync -vsync > # 640x480 @ 75Hz (VESA) hsync: 37.5kHz > ModeLine "640x480" 31.5 640 656 720 840 480 481 484 > 500 -hsync -vsync > # 640x480 @ 85Hz (VESA) hsync: 43.3kHz > ModeLine "640x480" 36.0 640 696 752 832 480 481 484 > 509 -hsync -vsync > # 800x600 @ 56Hz (VESA) hsync: 35.2kHz > ModeLine "800x600" 36.0 800 824 896 1024 600 601 603 > 625 +hsync +vsync > # 800x600 @ 60Hz (VESA) hsync: 37.9kHz > ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 > 628 +hsync +vsync > # 800x600 @ 72Hz (VESA) hsync: 48.1kHz > ModeLine "800x600" 50.0 800 856 976 1040 600 637 643 > 666 +hsync +vsync > # 800x600 @ 75Hz (VESA) hsync: 46.9kHz > ModeLine "800x600" 49.5 800 816 896 1056 600 601 604 > 625 +hsync +vsync > # 800x600 @ 85Hz (VESA) hsync: 53.7kHz > ModeLine "800x600" 56.3 800 832 896 1048 600 601 604 > 631 +hsync +vsync > # 1024x768i @ 43Hz (industry standard) hsync: 35.5kHz > ModeLine "1024x768" 44.9 1024 1032 1208 1264 768 768 776 > 817 +hsync +vsync Interlace > # 1024x768 @ 60Hz (VESA) hsync: 48.4kHz > ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 > 806 -hsync -vsync > # 1024x768 @ 70Hz (VESA) hsync: 56.5kHz > ModeLine "1024x768" 75.0 1024 1048 1184 1328 768 771 777 > 806 -hsync -vsync > # 1024x768 @ 75Hz (VESA) hsync: 60.0kHz > ModeLine "1024x768" 78.8 1024 1040 1136 1312 768 769 772 > 800 +hsync +vsync > # 1024x768 @ 85Hz (VESA) hsync: 68.7kHz > ModeLine "1024x768" 94.5 1024 1072 1168 1376 768 769 772 > 808 +hsync +vsync > # 1152x864 @ 75Hz (VESA) hsync: 67.5kHz > # Extended modelines with GTF timings > # 640x480 @ 100.00 Hz (GTF) hsync: 50.90 kHz; pclk: 43.16 MHz > ModeLine "640x480" 43.16 640 680 744 848 480 481 484 509 > -HSync +Vsync > # 800x600 @ 100.00 Hz (GTF) hsync: 63.60 kHz; pclk: 68.18 MHz > ModeLine "800x600" 68.18 800 848 936 1072 600 601 604 636 > -HSync +Vsync > # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz > ModeLine "1024x768" 113.31 1024 1096 1208 1392 768 769 772 > 814 -HSync +Vsync > Gamma 1.75 > EndSection > > Section "Device" > ### Available Driver options are:- > ### Values: <i>: integer, <f>: float, <bool>: "True"/"False", > ### <string>: "String", <freq>: "<f> Hz/kHz/MHz" > ### [arg]: arg optional > #Option "DigitalVibrance" # <i> > #Option "NoFlip" # [<bool>] > #Option "Dac8Bit" # [<bool>] > Option "NoLogo" "True" # [<bool>] > #Option "UBB" # [<bool>] > #Option "Stereo" # <i> > #Option "SWcursor" # [<bool>] > Option "HWcursor" "True" # [<bool>] > #Option "VideoKey" # <i> > #Option "NvAGP" # <i> > #Option "IgnoreEDID" # [<bool>] > #Option "NoDDC" # [<bool>] > #Option "ConnectedMonitor" # <str> > #Option "ConnectedMonitors" # <str> > #Option "TVStandard" # <str> > #Option "TVOutFormat" # <str> > #Option "RenderAccel" "True" # [<bool>] > Option "CursorShadow" "True" # [<bool>] > #Option "CursorShadowAlpha" # <i> > #Option "CursorShadowXOffset" # <i> > #Option "CursorShadowYOffset" # <i> > #Option "UseEdidFreqs" # [<bool>] > #Option "FlatPanelProperties" # <str> > #Option "TwinView" # [<bool>] > #Option "TwinViewOrientation" # <str> > #Option "SecondMonitorHorizSync" # <str> > #Option "SecondMonitorVertRefresh" # <str> > #Option "MetaModes" # <str> > #Option "UseInt10Module" # [<bool>] > #Option "NoTwinViewXineramaInfo" # [<bool>] > #Option "NoRenderExtension" # [<bool>] > #Option "Overlay" # [<bool>] > #Option "CIOverlay" # [<bool>] > #Option "ForceEmulatedOverlay" # [<bool>] > #Option "TransparentIndex" # <i> > #Option "OverlayDefaultVisual" # [<bool>] > #Option "NvEmulate" # <i> > #Option "NoBandWidthTest" # [<bool>] > #Option "CustomEDID-CRT-0" # <str> > #Option "CustomEDID-CRT-1" # <str> > #Option "CustomEDID-DFP-0" # <str> > #Option "CustomEDID-DFP-1" # <str> > #Option "CustomEDID-TV-0" # <str> > #Option "CustomEDID-TV-1" # <str> > #Option "TVOverScan" # <f> > #Option "IgnoreDisplayDevices" # <str> > #Option "MultisampleCompatibility" # [<bool>] > #Option "RegistryDwords" # <str> > #Option "RegistryBinary" # <str> > #Option "NoPowerConnectorCheck" # [<bool>] > #Option "AllowDFPStereo" # [<bool>] > #Option "XvMCUsesTextures" # [<bool>] > #Option "HorizSync" # <str> > #Option "VertRefresh" # <str> > #Option "AllowGLXWithComposite" "True" # [<bool>] > Identifier "Card0" > Driver "nvidia" > VendorName "nVidia Corporation" > BoardName "Unknown Board" > BusID "PCI:1:0:0" > EndSection > > Section "Screen" > Identifier "Screen0" > Device "Card0" > Monitor "Monitor0" > DefaultDepth 24 > SubSection "Display" > Viewport 0 0 > Depth 24 > Modes "1280x1024" > EndSubSection > EndSection > > > Michael Sullivan wrote: > > > 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] > > 661/741/760/761 PCI/AGP VGA Display Adapter (prog-if 00 [VGA]) > > Subsystem: Elitegroup Computer Systems Unknown device 1b13 > > Flags: 66MHz, medium devsel, IRQ 10 > > BIST result: 00 > > Memory at d8000000 (32-bit, prefetchable) [size=128M] > > Memory at e1000000 (32-bit, non-prefetchable) [size=128K] > > I/O ports at d000 [size=128] > > Capabilities: [40] Power Management version 2 > > Capabilities: [50] AGP version 3.0 > > > > > > But how can I tell what driver I need from this output? > >
I've done the X -configure thing - that's how catherine got her xorg.conf file. I don't know anything about hardware, so I only tweaked the file a little so that catherine would have support for her scroll mouse... -- gentoo-user@gentoo.org mailing list