# From: "Jon-Ivar" # I'm enclosing my XF86Config file. It works in 8bpp and 16bpp at 800x600. I'm # still sorting out how to get it working in 24bpp at 800x600. My laptop is an # AST Ascentia 5200M with Cirrus Logic Generic Driver 7555. # # File generated by XConfigurator and hacked beyond recognition # ********************************************************************** # Refer to the XF86Config(4/5) and XF86_SVGA man page for details about # the format of this file. # ********************************************************************** 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 (they are concatenated together) FontPath "/usr/X11R6/lib/X11/fonts/misc/" FontPath "/usr/X11R6/lib/X11/fonts/Type1/" FontPath "/usr/X11R6/lib/X11/fonts/Speedo/" FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" EndSection 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 #NoTrapSignals # Uncomment this to disable the server abort sequence # This allows clients to receive this key event. #DontZap # Uncomment this to disable the / mode switching # sequences. This allows clients to receive these key events. #DontZoom EndSection Section "Keyboard" Protocol "Standard" # when using XQUEUE, comment out the above line, and uncomment the # following line #Protocol "Xqueue" AutoRepeat 500 5 # Specify which keyboard LEDs can be user-controlled (eg, with xset(1)) #Xleds 1 2 3 #To set the LeftAlt to Meta, RightAlt key to ModeShift, #RightCtl key to Compose, and ScrollLock key to ModeLock: LeftAlt Meta RightAlt Meta ScrollLock Compose RightCtl Control # To disable the XKEYBOARD extension, uncomment XkbDisable. # XkbDisable XkbKeycodes "xfree86" XkbTypes "default" XkbCompat "default" XkbSymbols "us(pc101)" XkbGeometry "pc" XkbRules "xfree86" XkbModel "pc101" XkbLayout "no" EndSection Section "Pointer" Protocol "ps/2" Device "/dev/mouse" # When using XQUEUE, comment out the above two lines, and uncomment # the following line. # Protocol "Xqueue" # Emulate3Buttons is an option for 2-button Microsoft mice # Emulate3Timeout is the timeout in milliseconds (default is 50ms) Emulate3Buttons Emulate3Timeout 50 EndSection Section "Monitor" Identifier "12.1 TFT Generic Monitor" VendorName "AST" ModelName "Dunno" # 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. HorizSync 30-60 # multisync # 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. VertRefresh 50-100 # multisync # This is a set of standard mode timings. Modes that are out of monitor spec # are automatically deleted by the server (provided the HorizSync and # VertRefresh lines are correct), so there's no immediate need to # delete mode timings (unless particular mode timings don't work on your # monitor). With these modes, the best standard mode that your monitor # and video card can support for a given resolution is automatically # used. # 800x600 @ 56 Hz, 35.15 kHz hsync ModeLine "800x600" 36 800 824 896 1024 600 601 603 625 # 800x600 @ 60 Hz, 37.8 kHz hsync Modeline "800x600" 40 800 840 968 1056 600 601 605 628 +hsync +vsync # 800x600 @ 72 Hz, 48.0 kHz hsync Modeline "800x600" 50 800 856 976 1040 600 637 643 666 +hsync +vsync EndSection Section "Device" Identifier "Generic SVGA" VendorName "Cirrus Logic" BoardName "755x PCI v1.30B" Chipset "clgd7555" Videoram 2048 Clockchip "cirrus" MemBase 0xfd000000 #magic number taken from /var/log/xdm-error.log Option "linear" #works because of magic number Option "fast_dram" Option "no_2mb_banksel" # Refer to /usr/X11R6/lib/X11/doc/README.cirrus. EndSection # ********************************************************************** # Screen sections # ********************************************************************** # The Colour SVGA server Section "Screen" Driver "svga" Device "Generic SVGA" Monitor "12.1 TFT Generic Monitor" Subsection "Display" Depth 8 Modes "800x600" ViewPort 0 0 Virtual 800 600 EndSubsection Subsection "Display" Depth 16 Modes "800x600" ViewPort 0 0 Virtual 800 600 Visual "TrueColor" weight 555 EndSubsection Subsection "Display" Depth 24 Modes "800x600" ViewPort 0 0 Virtual 800 600 Visual "TrueColor" EndSubsection Subsection "Display" Depth 32 #not supported :-( Modes "800x600" ViewPort 0 0 Virtual 800 600 EndSubsection EndSection