Subject: Re: Mac mini and keyboard
To: Tim Kelly <hockey@dialectronics.com>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 03/03/2005 07:57:12
--Signature=_Thu__3_Mar_2005_07_57_12_-0500_2UWv93oAQVn5EbvW
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Hello,

> It seems to me it would be much simpler to replace the console input device
> while in cpu_rootconf() in macppc/macppc/autoconf.c before calling
> setroot() and then restore it afterward. setroot calls cngetsn when the
> root device is required to be entered manually. cngetsn calls cngetc, which
> calls the installed console getc handler. If the installed console input
> handler was temporarily replaced with ofkbd_cngetc from machdep.c, OF could
> do the polling for the root device.
I disagree - the problem affects all platforms, it's been confirmed for at least i386 and macppc. We should do something general about it, like firing up USB completely before asking for a root device instead of shortly afterwards.

have fun
Michael

--Signature=_Thu__3_Mar_2005_07_57_12_-0500_2UWv93oAQVn5EbvW
Content-Type: application/pgp-signature

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

iQEVAwUBQicJqMpnzkX8Yg2nAQJwJggArhXbyg3t5mYfmFgJDMHlTMaULnyZC+lb
rM89l+oN0C/NPiTayGMLtY7726uozIG1wmrF3+r2GmHetrItAKdPNpLrHCIaP1w+
pau7YcGjmwj3PJCEJKYh4jV6PCa9c9VbbTeaN5CUfFFNobMz0XjRyap2UxJcfxl2
uCzLRrOfCZl0cotAAYI5iTfMirG+L9fGn/QzEB2PJY6iVUINAlvMZ/uBPLybFv31
yiFc15XDw4N7g5NFsVbwN6gwqltgkAgN6SnVUPSAS4OsBQlhQqqifvkvTuMx9dcZ
7CEFw7PP1Ah1bQFYC6/Xg7DrVpYr3aOyXzzj+HKVAzW5/xRuqGd/Pg==
=kCMx
-----END PGP SIGNATURE-----

--Signature=_Thu__3_Mar_2005_07_57_12_-0500_2UWv93oAQVn5EbvW--