Re: restoring keyboard layout after suspend or hibernate

2014-01-24 Thread Lars Nooden
On Thu, 23 Jan 2014, Miod Vallat wrote: [cc: tech@, reply-to set to tech@] [snip] Fear not, for I have a diff for you (which I have been sitting on for about two years, and only completed and debugged thanks to this discussion)! [snip] Very cool. I've given it a try now on some limited

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Miod Vallat
[cc: tech@, reply-to set to tech@] After suspend or hibernate, I lose my designated console keyboard layout (sv) and it reverts to the default (us?) wsconsctl shows that the encoding to still be sv, keyboard.encoding=sv What setting(s) am I missing to preserve the designated

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread patrick keshishian
On Thu, Jan 23, 2014 at 08:57:43PM +, Miod Vallat wrote: [cc: tech@, reply-to set to tech@] After suspend or hibernate, I lose my designated console keyboard layout (sv) and it reverts to the default (us?) wsconsctl shows that the encoding to still be sv,

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread Miod Vallat
Couple of questions: 1. What if starting from this state: $ wsconsctl 2/dev/null |grep encoding keyboard.encoding=us keyboard1.encoding=is keyboard2.encoding=uk you unplug the Icelandic and Sun UK keyboards. Next attach first the Sun UK keyboard and next the

Re: restoring keyboard layout after suspend or hibernate

2014-01-23 Thread patrick keshishian
On 1/23/14, Miod Vallat m...@online.fr wrote: 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? There is a