Subject: Re: XFree86 on Tibook
To: None <sam@omatis.com>
From: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
List: port-macppc
Date: 08/08/2001 12:43:15
--AhNF2jJzap
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit

>>>>> "Samuel" == Samuel Lellouche <sam@omatis.com> writes:

    Samuel> Anyone got a configuration file for XFree with Tibook g4 ?

This is mine:


--AhNF2jJzap
Content-Type: text/plain
Content-Description: TiBook XF86Config
Content-Disposition: inline;
	filename="XF86Config.tibook"
Content-Transfer-Encoding: 7bit

#
# XF86Config NetBSD - XFree 4.0.1 - Powerbook G4 Titanium
#

Section "Files"
    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/"
EndSection

Section "ServerFlags"
    Option      "blank time"    "10"    # 10 minutes
    Option      "standby time"  "20"
    Option      "suspend time"  "30"
    Option      "off time"      "60"
    Option      "PCI type"      "UniNorth"
EndSection

Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option      "Protocol"      "wskbd"
    Option      "Device"        "/dev/wskbd0"
    Option      "AutoRepeat"    "500 5"
    Option      "XkbRules"      "xfree86"
    Option      "XkbModel"      "macintosh_old"
    Option      "XkbLayout"     "de"
    Option	"XkbVariant"	"nodeadkeys"
EndSection

Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"      "wsmouse"
    Option      "Device"        "/dev/wsmouse0"
#    Option      "Device"        "/dev/wsmouse1"
EndSection

Section "Monitor"
    Identifier  "Generic Monitor"
    HorizSync   27-80
    VertRefresh 50-75
    Option      "DPMS"
    ModeLine    "1152x768"  86     1152 1284 1416 1536  768 770 775 800
EndSection

Section "Device"
    Identifier  "RageM3"
    Driver      "r128"
    BusID       "PCI:0:16:0"
EndSection

Section "Screen"
    Identifier          "Screen1"
    Device              "RageM3"
    Monitor             "Generic Monitor"

    Option              "backing store"

    DefaultDepth        24

    SubSection "Display"
        Depth           24
        Modes           "1152x768"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier  "Main Layout"
    Screen      "Screen1"
    InputDevice "Mouse1"        "CorePointer"
    InputDevice "Keyboard1"     "CoreKeyboard"
EndSection

--AhNF2jJzap
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit


It's a modified version of that one which was posted to this list.

It's running with the XF4.0.1 snapshot available on ftp.netbsd.org.

For keyboard adaptation look at

    Option      "XkbModel"      "macintosh_old"
    Option      "XkbLayout"     "de"
    Option      "XkbVariant"    "nodeadkeys"

and matching entries under /usr/X11R6/lib/X11/xkb/rules.

Markus.

--AhNF2jJzap--