Subject: Howto start Xfree86 4.4 on a Lombard (Bronze Keyboard)
To: None <port-macppc@netbsd.org>
From: Vieri Verze <vieri.v@gmail.com>
List: port-macppc
Date: 12/17/2005 10:03:14
As I needed to google around a bit to know howto do this, I decided to
write down the procedure.

(Thanks to Thomas who gave me a working XF86config and zeta.orionis
for the ftp link)
(I'm trying to get dri working for lombard and X.org, if I have any
news I'll write on the ML. By now I got X.org compiled with ati
drivers)

These are just two steps but they preclude you have a working
terminal, xfree86 installed during distrib installation, a working
internet access.
***If u don't set the hostname you get a "xauth" warning each time you
do startx.***

1) as a user download from:

ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/macppc/

this file:

ati_driver_xf44.tar.bz2

2) as root copy it to /usr/X11R6/lib/modules/drivers/
3) and untar with tar -xvjpf ati_driver_xf44.tar.bz2
4) Next use the XF86Config below and as root copy it into /etc/X11/
5) startx as normale user :-)
6) If your keyboard doesn't work correctly change it editing
/etc/X11/XF86config with your preferred text editor. Then restart X.

Here is the XF86Config:

#
# XF86Config example
#

# The ordering of sections is not important in version 4.0 and later.

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"
    RgbPath     "/usr/X11R6/lib/X11/rgb"
    ModulePath  "/usr/X11R6/lib/modules"
    FontPath=09"/usr/X11R6/lib/X11/fonts/local/"
    FontPath=09"/usr/X11R6/lib/X11/fonts/misc/"
    FontPath=09"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath=09"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath=09"/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath=09"/usr/X11R6/lib/X11/fonts/CID/"
    FontPath=09"/usr/X11R6/lib/X11/fonts/Speedo/"
    FontPath=09"/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath=09"/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

# **********************************************************************
# Server flags section.  This contains various server-wide Options.
# **********************************************************************

Section "ServerFlags"
    Option=09"blank time"=09"10"=09# 10 minutes
    Option=09"standby time"=09"20"
    Option=09"suspend time"=09"30"
    Option=09"off time"=09"60"

#    Option=09"PCI type"=09"UniNorth"
#   Option=09"PCI type"=09"Bandit"
    Option=09"PCI type"=09"Grackle"
EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier=09"Keyboard1"
    Driver=09"keyboard"
    Option=09"Protocol"=09"wskbd"
    Option=09"Device"=09"/dev/wskbd0"

#    Option=09"AutoRepeat"=09"500 5"
    Option=09"XkbRules"=09"xfree86"
    Option=09"XkbModel"=09"macusb"
#    Option=09"XkbModel"=09"macadb"
#    Option=09"XkbModel"=09"standard"
    Option=09"XkbLayout"=09"us"
#    Option=09"XkbVariant"=09"altjp"
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"
    Identifier=09"Mouse1"
    Driver=09"mouse"
    Option=09"Protocol"=09"wsmouse"
    Option=09"Device"=09"/dev/wsmouse"
    Option=09"ZAxisMapping"=09"4 5"
#    Option=09"Device"=09"/dev/wsmouse0"
EndSection

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"
    Identifier=09"Generic Monitor"
#    HorizSync=0927-82         # multisync
#    VertRefresh=0930-72         # multisync
    Option=09"dpms"
EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

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     "accel"                     # [<bool>]
        #Option     "crt_screen"                # [<bool>]
        #Option     "composite_sync"            # [<bool>]
        #Option     "hw_cursor"                 # [<bool>]
        #Option     "mmio_cache"                # [<bool>]
        #Option     "probe_clocks"              # [<bool>]
        #Option     "reference_clock"           # <freq>
        #Option     "shadow_fb"                 # [<bool>]
        #Option     "sw_cursor"                 # [<bool>]
        Identifier  "Mach64"
        Driver      "ati"
#        Driver      "r128"
        VendorName  "ATI Technologies Inc"
#        BoardName   "Mach64 LI"
        BoardName   "3D Rage LT Pro"
        ChipSet     "ati"
        ChipId      0x4c49
#        ChipRev     0xdc
        BusID       "PCI:0:17:0"
#    Chipset=09"mach64"
#    Identifier=09"Mach64"
#    Driver=09"ATI"
#    BusID=09"PCI:0:17:0"
    Option=09"noaccel"
#     Option=09"LcdSync"
#    Option=09"XaaNoMono8x8PatternFillRect"
#    Option=09"XaaNoScanlineCPUToScreenColorExpandFill"
#    Option=09"SWCursor"
EndSection

# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"
    Identifier=09=09"Screen1"
    Device=09=09"Mach64"
    Monitor=09=09"Generic Monitor"

# XXX 24bpp may be broken

#   DefaultDepth=098
    DefaultDepth=0916
#   DefaultDepth=0924

    #SubSection "Display"
=09#Depth=09=0916
=09#Modes=09=09"800x600"
    #EndSubSection
    SubSection "Display"
=09Depth=09=098
=09Modes=09=09"1024x768"
    EndSubSection
    SubSection "Display"
=09Depth=09=0916
=09Modes=09=09"1024x768"
    EndSubSection
    SubSection "Display"
=09Depth=09=0924
=09Modes=09=09"1024x768"
    EndSubSection
    SubSection "Display"
=09Depth=09=0932
=09Modes=09=09"1024x768"
    EndSubSection
EndSection


# **********************************************************************
# ServerLayout sections.
# **********************************************************************

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

# **********************************************************************
# Module section
# **********************************************************************

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


--
Vieri&lulu' (Suzuki GSF600N Blue'00)