Subject: Re: port-macppc/14733 macppc USB console attachment broken
To: Lennart Augustsson <lennart@augustsson.net>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: netbsd-bugs
Date: 11/27/2001 01:24:22
--zYM0uCDKw75PZbzx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, 26 Nov 2001 13:32:10 +0100, Lennart Augustsson <lennart@augustsson.=
net> wrote:
>         When attaching the console keyboard the macppc port first checks
>         with OF if usb-kbd-ihandles exists.  On older version of OF
>         this fails.  Next it checks for adb-kbd-ihandle, and here
>         lies the problem.  It seems that adb-kbd-ihandle exists
>         even if there is no adb keyboard present.  This means that
>         the non-existent abd keyboard will be console
>         instead of the USB keyboard which is the last fallback.

How about changing macppc's GENERIC wscons cruft to:

wsdisplay0 at ofb? console ?
wskbd0  at ukbd? console ?
wskbd*  at akbd? console ?
wsmouse0 at ams?

Sure, this will force people into use a USB keyboard who maybe don't
want to, but they can just comment that out, right?

(Yes, this isn't a real fix, but as I read it, this is not one but
two *hardware* bugs in OF's behavior as regards *-kbd-ihandle...
perhaps not something we can fix correctly.)

Or will this cause machines whose OF doesn't respond to usb-kbd-ihandle
AND which (actually) have no USB keyboard connected to have no
console?

--=20
       ~ g r @ eclipsed.net

--zYM0uCDKw75PZbzx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjwDMZUACgkQ9ehacAz5CRr8cwCcClaNwjiJGYeY4b+8htGWm08K
rjkAoI6KCJAY/lXWZEZ6Al2N60lRa+Gc
=HNW1
-----END PGP SIGNATURE-----

--zYM0uCDKw75PZbzx--