Subject: Re: -current on PowerBook G3/400
To: Andreas Wrede <andreas@planix.com>
From: Erik Bertelsen <erik@mediator.uni-c.dk>
List: port-macppc
Date: 09/22/1999 07:54:25
On Tue, Sep 21, 1999 at 05:59:59PM -0400, Andreas Wrede wrote:
> 2. X
> Under 1.4.1 the X server runs fine, but with 1.4K I get the messages
> 
> OsVendorInit
> X: open kbd/mouse: No such file or directory
> 
> ktrace reveals that the open of /dev/wskbd0 returns errno 16 (busy).
> According to fstat, there is no process that has /dev/wdkbd0 open, ie
> no getty or login session is running on the consoile. Again, the same
> X server can open the kbd when running a 1.4.1 kernel. 


 This was discussed a few weeks ago on this mailing list. A fix was
suggested by someone (I don't recall who). This fix was never committeed
to the sources, but they work on my G3 DT 233MHz:

Index: wskbd.c
===================================================================
RCS file: /home/cvs-base/src/sys/dev/wscons/wskbd.c,v
retrieving revision 1.1.1.27
diff -r1.1.1.27 wskbd.c
560c560
< #if NWSMUX > 0 || NWSDISPLAY > 0
---
> #if NWSMUX > 0
666c666
< #if NWSMUX > 0 || NWSDISPLAY > 0
---
> #if NWSMUX > 0

Another thing that was discussed that time was that you should not have
a mux entry on the adb kbd conf line:

wskbd0  at akbd? console ?

With this the machine is happily running X.

- Erik