On 27/04/2010, J.C. Roberts <[email protected]> wrote:
> On Tue, 27 Apr 2010 16:31:02 +0930 David Walker
> <[email protected]> wrote:
>
>> Hiya JCR.
>>
>> A snapshot also re-attaches with the default layout (QWERTY).
>> It doesn't matter if I use wsconsctl.conf or the kbdtype file.
>>
>> uname -rv
>> 4.7 GENERIC#628
>>
>
> Bummer. Now we need to figure out why.
>
> BTW, is there still the 3 minute attach delay as seen/mentioned with
> 4.6-release?
That was the delay between me detaching and attaching. I deliberately
took my time so the messages in the log would be obvious (the
demarcation point).
Apologies for the confusion.
>> Thanks for the heads up on hotplug.
>
> :)
> It's just a work-around. Finding and fixing the root cause is still
> important.
I wasn't sure if it was a bug or a known feature - i.e. it was decided
to not make guesses about what people were plugging/unplugging.
BTW, hotplug works great.
In case anyone has the same issue and can't work it out (I am a script
noob so keep the laughter to a minimum or tell me what I could do
better):
#!/bin/sh
DEVCLASS=$1
DEVNAME=$2
case $DEVNAME in
wskbd0)
kbd us.dvorak
;;
esac
Make the script executable.
Don't forget to switch on hotplug in rc.conf.local:
hotplugd_flags=""
> --
> The OpenBSD Journal - http://www.undeadly.org
>
Best wishes.