Subject: Re: port-macppc/24778: netbsd/macppc won't book on PowerBook G4
To: None <nopid@free.fr>
From: Krister Walfridsson <cato@df.lth.se>
List: netbsd-bugs
Date: 03/27/2004 20:23:23
On Sun, 14 Mar 2004 nopid@free.fr wrote:

> While trying to boot a GENERIC_MD kernel on my 12" PowerBook G4 DVI, I encounter the following problems:
> (1) "wdc0:0:0 lost interrupt" several times
> (2) "wdc1:0:0 lost interrupt" several times
> (3) when asked for the terminal type, I have no keyboard... whereas console and keyboard appears to be ok from boot messages

I see the same keyboard problem on my 12" PowerBook.

The reason is that the firmware (BootROM version 4.5.5f4) returns
pseudo-hid as keyboard type, but the kernel fails the tests
for usb and adb -kbd-ihandles, so it finally assumes it is a
USB keyboard.

As a work around, you can get a working keyboard by adding

   pseudo-device wsmux

to your kernel config file:

Index: INSTALL
===================================================================
RCS file: /cvsroot/src/sys/arch/macppc/conf/INSTALL,v
retrieving revision 1.73
diff -u -r1.73 INSTALL
--- INSTALL	14 Dec 2003 01:32:02 -0000	1.73
+++ INSTALL	27 Mar 2004 19:11:02 -0000
@@ -181,3 +181,4 @@
 pseudo-device	pty		2	# pseudo-terminals (Sysinst needs two)

 pseudo-device	rnd			# /dev/random and in-kernel generator
+pseudo-device	wsmux			# mouse and keyboard multiplexor


   /Krister