On Thu, Jan 23, 2014 at 16:20, Lars Nooden wrote: > On Thu, 23 Jan 2014, David Coppa wrote: >> Maybe the following trick? >> >> # mkdir -p /etc/apm && \ >> printf "#!/bin/sh\n/sbin/wsconsctl keyboard.encoding=sv\n" > >> /etc/apm/resume && \ >> chmod 0755 /etc/apm/resume >> >> Followed by: >> >> # /etc/rc.d/apmd restart > > Thanks. That was the right direction. It also needed to sleep for a few > seconds at the beginning for the keyboard to reconnect first.
hotplugd may be a better match for devices like that.