Subject: Re: A lot of sucess and a bit of failure
To: Bob Nestor <rnestor@augustmail.com>
From: Christian Groessler <cpg@aladdin.de>
List: port-macppc
Date: 04/02/2001 00:06:22
On 04/01/2001 01:51:53 PM EST Bob Nestor wrote:
>
>But the bad news seems to be the USB keyboard support is lost.
>

I have the same problem on a BW G3. After I managed to cross-compile a
1.5 INSTALL kernel and use it to install a 1.5 system, I went to
-current, where the USB keyboard stopped working.

I did a quick hack to re-enable the keyboard, but this isn't the
correct solution. I don't know enough of OF to come up with a correct
fix.

This is for sys/arch/macppc/macppc/machdep.c:

--------------
diff -u -r1.92 machdep.c
--- machdep.c   2001/03/22 04:11:47     1.92
+++ machdep.c   2001/03/31 19:21:40
@@ -901,6 +901,9 @@
                goto kbd_found;
        }
 #endif
+       printf("console keyboard type: USB\n");
+       ukbd_cnattach();
+       goto kbd_found;
 
 #if NAKBD > 0
        if (OF_call_method("`adb-kbd-ihandle", stdin, 0, 1, &akbd) != -1 &&
--------------

OTOH, a "make build" of -current went thru fine, so now my Mac is on
-current.

regards,
chris