[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need help setting up Xserver



Rich Johnson <rjohnson@dogstar-interactive.com> writes:

> Hey folks--
> 
> I need some help setting up an Xserver on an older Mac.
> The machine is a stock PowerMac 8500 with 172MB memory and has  a clean
> woody install.
> 
> Does anyone have an XFree86Config for this such a machine?
> There's likely to be other stuff which needs tweaking as well.
> 
> Thanks--
> --rich

Hi Rich,

I run a powermac clone, the Motorola StarMax 3000/160. I installed
potato but the kernel is 2.4.17 with mac_hid. Here is some of
my XF86Config:
__BEGIN__EXCERPT__
# **********************************************************************
# Input devices
# **********************************************************************

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

Section "InputDevice"

    Identifier	"Keyboard1"
    Driver	"Keyboard"
    Option "AutoRepeat" "500 30"

    #######################################################################
    # NOTE:
    # in a local rc file (/etc/init.d/local [not debian specific])
    # BUTTON2KEYCODE=87
    # BUTTON3KEYCODE=88
    # OTHERKEYMAP=/usr/share/keymaps/i386/qwerty/us2.kmap.gz
    # COMMON_DIR=/proc/sys/dev/mac_hid
    # echo $BUTTON2KEYCODE > $COMMON_DIR/mouse_button2_keycode
    # echo $BUTTON3KEYCODE > $COMMON_DIR/mouse_button3_keycode
    # echo "1" > $COMMON_DIR/mouse_button_emulation
    # echo "1" > $COMMON_DIR/keyboard_sends_linux_keycodes
    # loadkeys $OTHERKEYMAP
    #######################################################################

    Option "XkbRules"	"xfree86"
    Option "XkbModel"	"pc101"
    Option "XkbLayout"	"us"
EndSection


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

Section "InputDevice"

# Identifier and driver

    Identifier	"Mouse1"
    Driver	"mouse"
    Option "Protocol"    "IMPS/2"
    Option "Device"      "/dev/input/mice"
    Option "Buttons"     "3"

EndSection

# [ monitor skipped ]

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

Section "Device"
    Identifier  "ati"
    Driver      "fbdev"
EndSection


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

Section "Screen"
    Identifier  "Screen 1"
    Device      "ati"
    Monitor     "acer aspire 55s"
    DefaultDepth 8

    Subsection "Display"
        Depth       8
#        Modes       "640x480" "800x600" "1024x768"
        Modes        "1024x768"
#        Modes       "800x600" "1024x768"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "640x480" "800x600"
#        Modes       "800x600-16"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

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

Section "ServerLayout"
    Identifier  "Simple Layout"
    Screen "Screen 1"
    InputDevice "Mouse1" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection

__END__



Reply to: