# This is a sample X configuration file for Toshiba Portege 4000 laptop # which has Trident CyberBlade XP Ali graphics controller. # This uses the vesa BIOS driver and is completely unaccelerated. # Most recent version for this file is available from my portege 4000 # page at # http://www.cs.helsinki.fi/compfac/linux/portege4000.html # Rant: The CyberBlade XP Ali controller has no decent X drivers # and because of the official lack of documentation (I was # officially told by Trident that documentation is not available # for open source developers) this situation is not likely to # improve. # If you can, find a laptop with some other graphics hardware. # - This assumes that you have the X font server running. There is no # default font path and I am too lazy to add one (I don't need it). # - It has support /dev/input/mice (USB mice). It adds only the X side # of USB support. You need kernel support as well. # Recent Linux distros (like RedHat-7.2) should have the kernel support # on by default. # - This should work with XFree-4.0.3 and 4.1.0 and upcoming 4.2.0 # (which has some support for XP chipset, but you might want to use # the vesa driver regardless, since the native driver is not any # faster) # - This file does not fix the laptops keyboard hardware problem # which causes keypresses to be repeated when typing rapidly. # I don't know if it can be fixed in the X configuration file at all. # you should apply a the kernel patch from my portege 4000 page or # install the xkbset program which has the BounceKeys option from # http://www.math.missouri.edu/~stephen/software/ # If you have any improvements to this file, feel free to send them # to me: # Jani Jaakkola (jjaakkol@cs.helsinki.fi) 13.12.2001 Section "Module" Load "dbe" Load "type1" Load "freetype" # 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 EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" FontPath "unix/:7100" # Insert your default font path here EndSection Section "ServerFlags" # Option "DontZap" # Option "Dont Zoom" EndSection Section "InputDevice" Driver "Keyboard" Option "AutoRepeat" "500 30" Option "XkbRules" "xfree86" Option "XkbModel" "pc105" Identifier "Keyboard" # I have a finnish keyboard, so I need this. # Insert your very own internation keyboard setting here. # Option "XkbLayout" "fi" EndSection # Mouse configuration for the default mouse. This adds support also # for the "mousewheel buttons" Section "InputDevice" Identifier "mouse" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/psaux" Option "ZAxisMapping" "4 5" EndSection # End mouse configuration # This is a for the generic Linux kernel mouse interface. # I use it for USB mice (which work very nicely with this setup) Section "InputDevice" Identifier "genmouse" Driver "mouse" Option "Protocol" "IMPS/2" Option "Device" "/dev/input/mice" Option "ZAxisMapping" "4 5" # This shouldn't hurt.. Option "Emulate3Buttons" EndSection Section "Monitor" Identifier "tftmonitor" HorizSync 30 - 61 VertRefresh 50 - 75 Option "DPMS" EndSection Section "Device" Identifier "vesadevice" Driver "vesa" # If you disable shadowfb, you find what it really means to have no # acceleration. So don't do it. Option "shadowfb" EndSection Section "Screen" Identifier "Screen 1" Device "vesadevice" Monitor "tftmonitor" DefaultDepth 16 Subsection "Display" Depth 8 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 16 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection Subsection "Display" Depth 24 Modes "1024x768" "800x600" "640x480" ViewPort 0 0 EndSubsection EndSection Section "ServerLayout" Identifier "layout" Screen "Screen 1" InputDevice "mouse" "CorePointer" InputDevice "keyboard" "CoreKeyboard" InputDevice "genmouse" "SendCoreEvents" EndSection