Subject: Re: wsconsctl not working on NetBSD-current?
To: None <itojun@iijlab.net>
From: Lennart Augustsson <lennart@augustsson.net>
List: current-users
Date: 08/03/1999 01:45:07
itojun@iijlab.net wrote:
> > I used wsconsctl for swapping caps lock to control, but it now
> > does not work (device busy). I did not investigate this further
> > but is it just me or common issue?
>
> initializing sc->sc_mux to NULL in attach routine of wskbd.c fixed
> the problem. I'll be supplying patch later.
> (if sc->sc_mux is non-zero the driver will always return EBUSY,
> and it prevented wsconsctl from opreating)
>
> I dunno how wsconsctl and wsmux should interact yet.
Well, setting sc_mux to NULL before the call to wsmux_attach()
should have no effect since it should be NULL already. Setting
it to NULL after will make the mux non-working.
I'll try and figure out how wsconsctl should interact with wsmux.
--
-- Lennart