Subject: Re: current current build fail in wsmux.o?
To: Martin J. Laubach <mjl@emsi.priv.at>
From: Jim Bernard <jbernard@mines.edu>
List: current-users
Date: 10/20/2001 09:44:53
On Sat, Oct 20, 2001 at 03:01:53PM +0000, Martin J. Laubach wrote:
> | > ld -N -Ttext 0x100000 -e __start -S -o netbsd ${SYSTEM_OBJ} vers.o
> | > wsmux.o: In function `wsmuxdoioctl':
> | > wsmux.o(.text+0x5dc): undefined reference to `wsmouse_add_mux'
> | > wsmux.o(.text+0x614): undefined reference to `wsmouse_rem_mux'
> | > *** Error code 1
> | > 
> | > when trying to build a current macppc GENERIC kernel.
> |  
> |  Turns out I wasn't seeing things. Can someone please post something when 
> |  this is fixed.
> 
>   This can be fixed by adding "pseudo-device wsmux 2" to the
> kernel config. However I haven't been able to get X to work
> then: it can't open /dev/wdkbd0, and /dev/wskbd won't deliver
> any keystrokes.
>  
>   I guess there's more to be done?

  I added wsmux to my kernel config this morning, for just this reason,
and the kernel and X are working fine.  The system is i386, but X is from
xfree86-current of a few weeks ago, since my radeon board is not supported
by xfree86 4.1.0.  The (only) keyboard is plugged into the PS/2 keyboard
port on the motherboard.  There's no explicit specification of the device
to use in my XF86Config file.  dmesg shows:

wsdisplay0 at vga1 kbdmux -1: console (80x25, vt100 emulation)
...
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
...
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0

  Maybe you'll find some clues in there.

--Jim