Subject: Re: XF86Config for iMac (Slot-loading) running 1.6.1?
To: Wilyarti Howard <wilyarti.howard@bigpond.com>
From: =?ISO-8859-1?Q?Lasse_Hiller=F8e_Petersen?= <lhp@toft-hp.dk>
List: port-macppc
Date: 08/09/2003 15:03:22
Yippee!

I wrote:
 >Meanwhile I found and tried
<ftp://ftp.netbsd.org/pub/NetBSD/arch/macppc/X-4.2.0-current/XF86Config>,
which however works the same as what I have tried before: X starts, but
the screen simply turns black.

I just got it working with the above file. These are the modifications I 
made:

# diff /home/lhp/XF86Config     /etc/X11/XF86Config 
50c50
<     Option    "Device"        "/dev/wskbd"
---
 >     Option    "Device"        "/dev/wskbd1"
68c68
<     Option    "Device"        "/dev/wsmouse"
---
 >     Option    "Device"        "/dev/wsmouse1"
117c117
<       Modes           "1600x1200" "1280x1024" "1024x768"
---
 >       Modes           "1024x768"
121c121
<       Modes           "1600x1200" "1280x1024" "1024x768"
---
 >       Modes           "1024x768"
125c125
<       Modes           "1600x1200" "1280x1024" "1024x768"
---
 >       Modes           "1024x768"
129c129
<       Modes           "1600x1200" "1280x1024" "1024x768"
---
 >       Modes           "1024x768"

Please call me stupid for not removing those 1600x1200 resolutions right 
away.

Wilyarti Howard wrote:

> Ok lets get this strait: What is in your /usr/X11R6/bin dir?
> Do you have an Xmacppc binary? What are you using to start XFree86? 
> Does Xmacppc not work? 

I have no binary called Xmacppc; only /usr/X11R6/bin/XFree86. I start X 
with startx.

>
>
> In my XFree86 setup I use startx which starts up Xmacppc.
>
> I have no idea how else you will get it going. I have read the NetBSD 
> FAQ on XFree86, they say the "How to make an XFree86 Config file" is 
> 'coming soon'....
>
> I don't think you will get it working without Xmacppc...
>
> Well this is my twisted understanding of the workings of it. I 
> understand how you feel about not getting X going.
>
You may definitely want to upgrade to 1.6.1 and use XFree86. As I 
understand it, Xmacppc is slower and only supports 8bpp. I am just 
installing packages right now, when that's done (it'll take the rest of 
the day, I'm afraid), I'll try  24bpp. At the moment xdpyinfo reports 16 
bit planes.

To sum up, these were the steps it took:
(0. I had already partitioned my machine and installed MacOS 9 on hd:8, 
an HFS+ partition with ofwboot.xcf and the netbsd.GENERIC_MD.gz kernel.)
1. Newfs all the netbsd partitions as described in INSTALL.html
2. Install NetBSD using reinstall/upgrade as described in INSTALL.html
3.  Fix the securelevel, as kindly explained to me by Timm Wetzel 
<twetzel@cns.mpg.de>
# gdb --write /netbsd
(gdb) set securelevel=-1
(gdb) quit
# reboot
4. Get 
ftp://ftp.netbsd.org/pub/NetBSD/arch/macppc/X-4.2.0-current/XF86Config 
and apply modifications as shown above
5. startx
6. enjoy!

I am a very happy fellow right now, I can tell you!

-Lasse