On Thu, Jan 23, 2014 at 20:57, Miod Vallat wrote:

> - when changing the keyboard layout of a particular keyboard with an
> ioctl (i.e. using kbd(8) or wsconsctl(8)), the layout will become the
> default layout of the mux for new keyboard attachments.

> Now I plug a Sun USB keyboard with the uk layout (pound sign as shift-3,
> etc). Sun keyboards provide country information to the ukbd driver,
> which uses it to select the matching layout.
> 
> $ wsconsctl 2>/dev/null |grep encoding
> keyboard.encoding=us
> keyboard1.encoding=is
> keyboard2.encoding=uk
> 
> And the uk layout has become the default for new attachments. If I
> unplug, then replug, the icelandic keyboard, it will reattach as wskbd1,
> and it will pick the default mux layout, which is still icelandic.
> 
> $ wsconsctl 2>/dev/null |grep encoding
> keyboard.encoding=us
> keyboard1.encoding=is
> keyboard2.encoding=uk

Something is inconsistent here. Do you mean the uk is not the
default? Or there is a difference between mux default and new attach
default? How does one know whether plugging a keyboard in is
reattaching it or attachning a new one?

I think you cleared this up a little in your later mail, but just
checking.

Reply via email to