Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2006 09:48:35 -0800
From:      Maksim Yevmenkin <maksim.yevmenkin@gmail.com>
To:        Eugeny Kuzakov <coredumped@coredumped.org.ru>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kbdmux: unable to work with dual keyboard
Message-ID:  <bb4a86c70601130948k345172aagdd470c36fb0ce731@mail.gmail.com>
In-Reply-To: <43C7DA71.5080609@coredumped.org.ru>
References:  <E1EwtLl-000IPw-00.coredumped-mail-ru@f9.mail.ru> <bb4a86c70601121140j6ba00bffua99454515139d654@mail.gmail.com> <43C7DA71.5080609@coredumped.org.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> >>3. shell script (from man kbdcontrol):
> >>
> >>kbdcontrol -K < /dev/console
> >>kbdcontrol -a /dev/ukbd0 < /dev/kbdmux0
> >>kbdcontrol -a /dev/atkbd0 < /dev/kbdmux0
> >>kbdcontrol -k /dev/kbdmux0 < /dev/console
> >
> >please read the man page carefully. you should use
> >
> >kbdcontrol -a ukbd0 < /dev/kbdmux0
> >kbdcontrol -a atkbd0 < /dev/kbdmux0
>
> I have tried that as you said:
> kbdcontrol -K < /dev/console
> kbdcontrol -a ukbd0 < /dev/kbdmux0
> kbdcontrol -a atkbd0 < /dev/kbdmux0
> kbdcontrol -k /dev/kbdmux0 < /dev/console
>
> output below(it's same) sh -x:

no, its not the same as in your previous email. you got different
error. did you run your script in console or xterm window?

also, just to be on the safe side, you might want to replace
/dev/console with /dev/ttyv0, i.e.

kbdcontrol -K < /dev/ttyv0
kbdcontrol -a ukbd0 < /dev/kbdmux0
kbdcontrol -a atkbd0 < /dev/kbdmux0
kbdcontrol -k /dev/kbdmux0 < /dev/ttyv0

thanks,
max



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bb4a86c70601130948k345172aagdd470c36fb0ce731>