Subject: Re: Help: 3.0.1->4.0 screwed X display on iBook
To: None <port-macppc@NetBSD.org, me@janh.de>
From: David H. Gutteridge <dhgutteridge@sympatico.ca>
List: port-macppc
Date: 12/29/2007 17:53:46
Jan Henrik Sylvester wrote:
>Please, help me, as I am out of ideas.

Please try the XF86Config below.  It just might work.

Dave

# ibook xfree 4.2.0 configuration
# base configuration from xf86cfg, tweaked using
# hints from Matsubayashi 'Shaolin' Kohji shaolin@rhythmaning.org
# and K. Hanai-san hanai@koto.kpu-m.ac.jp

Section "ServerLayout"
    Identifier     "ibook"
    Screen         "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/usr/X11R6/lib/X11/rgb"
    ModulePath   "/usr/X11R6/lib/modules"
    FontPath     "/usr/pkg/lib/X11/fonts/TTF/"
    #FontPath     "/usr/pkg/lib/X11/fonts/Mozilla/"
    FontPath     "/usr/X11R6/lib/X11/fonts/TrueType/"
    FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

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

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
    Option      "Protocol" "wskbd"
    Option      "Device" "/dev/wskbd0"
    Option      "XkbRules" "xfree86"
    Option      "XkbModel" "pc105"
    Option      "XkbLayout" "us"
    Option      "XkbVariant" "us"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "wsmouse"
    Option      "Device" "/dev/wsmouse"
    Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Apple"
    ModelName    "LCD"
    HorizSync    31-80
    VertRefresh  56-76
EndSection

Section "Device"
    Identifier  "Card0"
        Driver      "ati"
        Option      "device" "/dev/ttyE0"
    VendorName  "ATI"
    BoardName   "Mach 64"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24

    SubSection "Display"
        Depth    8
        Modes "800x600"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "800x600"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "800x600"
    EndSubSection
EndSection