[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I'm looking for a XF86config-4 example



On Tue, 17 Jul 2001, Maxime baudin wrote:

> Hi,
> I'm running a Sparc5 -like machine using woody
> and I'm a bit lost in writting a correct XF86Config file
> 
> Could someone give me an example (in private of course) ?
> 
> thanks,
> Max


Hello Maxime,

here is mine. Works fine for all of my sun4m machines
(US type 5 keyboard, CG6 graphics, sunmouse, woody on SPARC)

Greetings, Guenter

========================================================================

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        Option         "Xinerama" "yes"
        Option         "Pixmap" "24"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        ModulePath   "/usr/X11R6/lib/modules"
        FontPath     "tcp/cheyenne:7100"
        FontPath     "tcp/arizona:7100"
#       FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
#       FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
#       FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
#       FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
#       FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
#       FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection

Section "Module"
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx"
        Load  "pex5"
        Load  "record"
        Load  "xie"
        Load  "type1"
        Load  "freetype"
        Load  "bitmap"
        Load  "speedo"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "sun"
        Option      "XkbModel" "type5"
        Option      "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Protocol" "mousesystems"
        Option      "Device"   "/dev/sunmouse"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Sun"
        ModelName    "GDM-17E10"
        HorizSync    30-82
        VertRefresh  50-150
        Option       "DPMS"
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     "SWcursor"                  # [<bool>]
        #Option     "HWcursor"                  # [<bool>]
        #Option     "NoAccel"                   # [<bool>]
        Identifier  "Card0"
        Driver      "suncg6"
        BusID       "SBUS:/iommu@0,10000000/sbus@0,10001000/cgsix@3,0"
        Option      "HWcursor" "yes"
        Option      "Accel" "yes
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth      8
        DefaultFbBpp     24 
        SubSection "Display"
                Depth     1
                Modes     "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     4
                Modes     "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     8
                Modes     "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes     "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes     "1280x1024" "1152x864"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes     "1280x1024" "1152x864" "1024x768"
        EndSubSection
EndSection




Reply to: