Re: iBook2001


Subject: Re: iBook2001
From: Romain Kang (romain@kzsu.stanford.edu)
Date: Fri Nov 30 2001 - 10:34:33 MST


On Fri, Nov 30, 2001 at 09:52:34AM -0700, Geoff W wrote:
> When the
> GUI starts, I can see a sliver of the desktop off to the left edge of
> the screen, and the rest of the screen is filled with solid blocks of
> colors.

It sounds like you may have a bad XF86Config. Below is what I use in my 500 MHz
iceBook. It goes in /etc/X11/XF86Config-4. You may have to fiddle with some of
the options, since I've messed with some of the X11/video support in my kernel.

Romain Kang Disclaimer: I speak for myself alone,
romain@kzsu.stanford.edu except when indicated otherwise.

--- You could cut here, but it might hurt your screen ---
Section "ServerLayout"
        Identifier "XFree86 Configured"
        Screen 0 "Screen0" 0 0
        InputDevice "Mouse0" "CorePointer"
        InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

        RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

        FontPath "unix/:7100"
        #FontPath "unix/:-1"
        # If X can't find it's default font, try uncommenting these:
        #FontPath "/usr/X11R6/lib/X11/fonts/local/"
        #FontPath "/usr/X11R6/lib/X11/fonts/misc/"
        #FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        #FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        #FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
        #FontPath "/usr/X11R6/lib/X11/fonts/CID/"
        #FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
        #FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
        #FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "Module"
        Load "GLcore"
        Load "dbe"
        Load "extmod"
        Load "glx"
        Load "pex5"
        Load "record"
        Load "xie"
        Load "bitmap"
        Load "type1"
        Load "speedo"
        Load "freetype"
        Load "dri"
        # Uncomment for Video4Linux support
        #Load "v4l"
EndSection

Section "InputDevice"
        Identifier "Keyboard0"
        Driver "keyboard"
# Uncomment this if your keyboard no longer works in X and you belive you are
# using the depreciated adb keycodes
        #Option "CustomKeycodes"
        #Option "XkbModel" "macintosh_old"
        #Option "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier "Mouse0"
        Driver "mouse"
        Option "Emulate3Buttons" "on"
        #Option "ZAxisMapping" "4 5"
        Option "Protocol" "IMPS/2"
        Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
        Identifier "Monitor0"
        UseModes "Modes0"
        ModelName "Monitor Model"
        Option "DPMS"
        HorizSync 30-70
        VertRefresh 50-160
EndSection

Section "Modes"
        Identifier "Modes0"

        # Apple iMac modes
        Modeline "1024x768" 78.525 1024 1049 1145 1312 768 769 772 800 +hsync +vsync
        Modeline "800x600" 62.357 800 821 901 1040 600 601 604 632 +hsync +vsync
        Modeline "640x480" 49.886 640 661 725 832 480 481 484 514 +hsync +vsync
        # Apple monitors tend to do 832x624
        Modeline "832x624" 57 832 876 940 1152 624 625 628 667 -hsync -vsync
        # Apple PowerBook G3
        Modeline "800x600" 100 800 816 824 840 600 616 624 640 -hsync -vsync
        # Generated
        # D: 100.000 MHz, H: 93.985 kHz, V: 116.318 Hz
        Modeline "1024x768" 100.000 1024 1040 1048 1064 768 784 792 808 -HSync -VSync
EndSection
Section "Device"
        Identifier "Card0"
        #Option "ShadowFB" "true"
        #
        #Option "fbdev" "/dev/fb0"
        #Driver "fbdev"
        #
        Option "UseFBDev"
        Driver "r128"
        Chipset "ATI Rage 128 Mobility LE (PCI)"
        VendorName "ATI"
        BusID "PCI:0:16:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Monitor "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth 8
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth 16
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth 24
                Modes "1024x768"
        EndSubSection
EndSection

Section "DRI"
        Mode 0666
EndSection



This archive was generated by hypermail 2a24 : Fri Nov 30 2001 - 10:47:14 MST