Subject: Re: iBook problems and solutions
To: None <ma-500@rj8.so-net.ne.jp>
From: Masafumi Hotta <ma-500@rj8.so-net.ne.jp>
List: port-macppc
Date: 08/19/2007 22:52:37
Hello,

This is what I've tried to work -current on clamshell iBook G3 since
last month.
I hope this report will help somebody.

Hardware:
Apple iBook 466MHz Special Edition Key Lime (FireWire) (M8245LL/A)


Updating to -current was finished, but X problem was unsolved.
I tried to use X with "startx" command, X server was running but
screen was black.

XF86Config file that Dave showed me solved it.
I think it is most important to configure the "HorizSync" and
"VertRefresh" properly. But I don't know how to do it by myself.

I put XF86Config using on my iBook, for someone can easily 
google it up.

-------------------------------------------------------------------
# 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/TTF/"
    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/"
    FontPath     "/usr/local/lib/X11/fonts/TTF/"
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
    Option	"DPMS"
EndSection

Section "Device"
    Identifier  "Card0"
        Driver      "ati"
#        Option      "device" "/dev/ttyE0"
    VendorName  "ATI"
    BoardName   "Mach 64"
    Option	"PanelWidth" "800"
    Option	"PanelHeight" "600"
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

-------------------------------------------------------------

Now I can use my iBook for web browsing, e-mail and etcetera.
After that, I made some improvements, and that is the next post.


Thanks,
Masafumi Hotta