DragonFly BSD
DragonFly users List (threaded) for 2006-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

xorg.conf for virtual DragonFly on MacBook


From: "Justin C. Sherrill" <justin@xxxxxxxxxxxxxxxxxx>
Date: Sat, 10 Jun 2006 23:24:27 -0400 (EDT)

If someone happens to be trying to run DragonFly 1.4.4, under Parallels,
on Mac OS X, on a 15" MacBook Pro - here's a working xorg config.

The only real changes are that /dev/psm0 is required to get the mouse to
work, instead of the usual /dev/sysmouse, and a custom modeline is needed
to get 1440x900 resolution.



Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath      "/usr/pkg/xorg/lib/X11/rgb"
        ModulePath   "/usr/pkg/xorg/lib/modules"
        FontPath     "/usr/pkg/xorg/lib/X11/fonts/misc/"
        FontPath     "/usr/pkg/xorg/lib/X11/fonts/TTF/"
        FontPath     "/usr/pkg/xorg/lib/X11/fonts/Type1/"
        FontPath     "/usr/pkg/xorg/lib/X11/fonts/CID/"
        FontPath     "/usr/pkg/xorg/lib/X11/fonts/75dpi/"
        FontPath     "/usr/pkg/xorg/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
        Load  "extmod"
        Load  "glx"
        Load  "dri"
        Load  "dbe"
        Load  "record"
        Load  "xtrap"
        Load  "drm"
        Load  "freetype"
        Load  "type1"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option      "Device" "/dev/psm0"
        Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    31.5 - 100.0
        VertRefresh  59.0 - 75.0
        Option      "dpms"
        Modeline "1440x900" 108.84 1440 1472 1800 1912 900 918 927 946
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     "ShadowFB"                  # [<bool>]
        #Option     "DefaultRefresh"            # [<bool>]
        #Option     "ModeSetClearScreen"        # [<bool>]
        Identifier  "Card0"
        Driver      "vesa"
        BusID       "ISA"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     24
        SubSection "Display"
                Viewport   0 0
                Depth     24
                Modes     "1440x900"
        EndSubSection
EndSection




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