Hi, 
I am trying to put a generic XF86Config file together that would work on most 
computers. It is supposed to provide only basic functionality, but to be very 
compatible. 
This are my ideas:

- Multiple mouse sections for COM, ps/2 and usb mice and the Serverflag 
AllowMouseOpenFail.

- use a generic video driver. Not sure if I should take the vga or vesa 
driver. Which is more compatible?

- only 640x480 in 8Bit / maybe provide the 640x480 gtf mode in monitor section

- Monitor frequencies 30-31khz and 60-61Hz. Maybe better to use fixed 
frequencies of 31.5 and I beleive 60Hz is what even ancient Monitors are 
capable of.

- Is there anything else I need to consider ?


regards,
Marc



# a generic XF86Config file

Section "Files"
        FontPath "/usr/lib/X11/fonts/misc"
        FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath "/usr/lib/X11/fonts/Type1"
        FontPath "/usr/lib/X11/fonts/TrueType"
        FontPath "/usr/lib/X11/fonts/Speedo"
        FontPath "/usr/lib/X11/fonts/100dpi"
        FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load "bitmap"
        Load "dbe"
        Load "ddc"
        Load "extmod"
        Load "freetype"
        Load "int10"
        Load "record"
        Load "speedo"
        Load "type1"
        Load "vbe"
        Load "xie"
EndSection

Section "ServerFlags"
        Option "AllowMouseOpenFail"
EndSection

###############
# generic keyboard   #
###############
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
EndSection

###############
# generic mice        #
###############
Section "InputDevice"
Identifier "Generic PS2 Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "Auto"
EndSection

Section "InputDevice"
Identifier "Generic serial Mouse1"
Driver "mouse"
Option "AlwaysCore"
Option "Device" "/dev/ttyS0"
Option "Protocol" "Auto"
EndSection

Section "InputDevice"
Identifier "Generic serial Mouse2"
Driver "mouse"
Option "AlwaysCore"
Option "Device" "/dev/ttyS1"
Option "Protocol" "Auto"
EndSection

Section "InputDevice"
Identifier "Generic usb Mouse"
Driver "mouse"
Option "AlwaysCore"
Option "Device" "/dev/usbmouse"
Option "Protocol" "Auto"
EndSection



###############
# generic device      #
###############
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
EndSection


###############
# generic Monitor      #
###############
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30-31
VertRefresh 60-61
Option "DPMS"
EndSection

###############
# generic Screen      #
###############
Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 8

        SubSection "Display"
        Depth 8
        Modes "640x480"
        EndSubSection

EndSection


###############
# generic Layout      #
###############
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Generic usb Mouse"
InputDevice "Generic serial Mouse1"
InputDevice "Generic serial Mouse2"
InputDevice "Generic PS2 Mouse"
EndSection
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to