Subject: Re: x problems on iMac DV
To: Mauro <mcepeda@ualberta.ca>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 07/31/2005 11:19:24
--Signature_Sun__31_Jul_2005_11_19_24_-0400_FHY.8TOt.E+hf4q1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> I'm wondering if iMac DV (with an ATI  Rage 128) can run X as I am=20
> having trouble configuring it.=20

Definitely maybe. I don't have the hardware so I can't check though.

> When I pass startx, the screen goes=20
> black.  I can't seem to get into another console by using any variation=20
> of cntrl+option+F1-12 as the screen stays black.  cntrl-option-+ does=20
> not cycle thru modes as the screen stays black.  cntrl+option+backspace=20
> does not kill X.  By coincidence I've realized that cntrl+option+F1,=20
> then blindly typing 'su', 'MysuPassword', then 'reboot' gets me out of=20
> this jam.

Ah, so X messed with the video chip, exited and didn't set things back.
The current console driver on macppc doesn't support virtual consoles.

> PS-console scrolls very slowly

Because it's unaccelerated. You can add
options OFB_ENABLE_CACHE
to your kernel config to speed things up a little. It's said to cause probl=
ems on some hardware so it's not enabled by default.

> I'm not sure about the below, although I can't see it being the reason=20
> for X's failing.

Well, as far as I can tell it probably is.

> -selected IMPS/2 for my usb m$ mouse, using /dev/input/mice but I=20
> gather /dev /wsmouse is probably correct?

use this:
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option	"Protocol"    "wsmouse"
    Option	"Device"      "/dev/wsmouse0"
    Option	"ZAxisMapping" "4 5"
EndSection

the ZAxisMapping option will make the scrollwheel work in case you have one.

The Xserver WILL exit if it can't open your mouse device.

> As I can't find sample xf86Configs of Rage 128 based machines running=20
> nbsd

Using this one is no different from any other graphics chipset.

Section "Device"
    Identifier  "Rage"
    Driver      "r128"
EndSection

should do it.

> Any assistance is appreciated.  If Rage 128 is not supported, I'd=20
> appreciate, though disappointing, response.

The Rage 128 isn't directly supported by the kernel but XFree should be abl=
e to use it.

have fun
Michael

--Signature_Sun__31_Jul_2005_11_19_24_-0400_FHY.8TOt.E+hf4q1
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQuzr/8pnzkX8Yg2nAQJ0BAgAmCnN843oBx1/o4aCFeFI07Fj8mLHKdOh
adceThJa4on7LcMdHUC+LpTkSv1F9gil0oQKw9xWMua7FfVS9rMrdwuCwZskFEt6
0h0paJLBR5JF+UvS1d/ieQpCNKEwZyKzj2UI1PD7j3hKLjgKOqpadhgbKavSesZe
3lqn0H7YxKiB32h/PStKBAPt5ga42VgGtN4ZN5aJnguUV5njIGD91hYBmTQeZFqB
pucORm8u2oqSl0cpt2ZukDIwOPtTy3D443X64ECdnaF0oFMhhePYRuFF/cHFnAR5
4PdzwlYDD5T0w3Nfyd6al0aNycb/qbBYCM/4ioDQY1SJOuu/Utl31w==
=Qjbs
-----END PGP SIGNATURE-----

--Signature_Sun__31_Jul_2005_11_19_24_-0400_FHY.8TOt.E+hf4q1--