Re: OpenBSD and KVM switch.

2010-04-27 Thread J.C. Roberts
On Tue, 27 Apr 2010 22:05:37 +0930 David Walker wrote: > >> 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

Re: OpenBSD and KVM switch.

2010-04-27 Thread Antti Harri
On Tue, 27 Apr 2010, David Walker wrote: [...] #!/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=""

Re: OpenBSD and KVM switch.

2010-04-27 Thread David Walker
On 27/04/2010, J.C. Roberts wrote: > On Tue, 27 Apr 2010 16:31:02 +0930 David Walker > 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

Re: OpenBSD and KVM switch.

2010-04-27 Thread Pierre Riteau
On Tue, Apr 27, 2010 at 04:44:06AM -0700, J.C. Roberts wrote: > On Tue, 27 Apr 2010 16:31:02 +0930 David Walker > 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 > >

Re: OpenBSD and KVM switch.

2010-04-27 Thread J.C. Roberts
On Tue, 27 Apr 2010 16:31:02 +0930 David Walker 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 t

Re: OpenBSD and KVM switch.

2010-04-27 Thread David Walker
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 Thanks for the heads up on hotplug. Best wishes. On 26/04/2010, J.C. Roberts wrote: > On Mon, 26 Apr 2010 16:44:55 +0930 David Walke

Re: OpenBSD and KVM switch.

2010-04-26 Thread J.C. Roberts
On Mon, 26 Apr 2010 16:44:55 +0930 David Walker wrote: > Apr 27 01:00:25 compaq /bsd: uhub2 detached > Apr 27 01:03:03 compaq /bsd: uhub2 at uhub1 > > @ three minutes is where it re-attaches. > I suspect this is a "feature" and not a hardware issue, however dmesg > follows. Any ideas welcome. >

OpenBSD and KVM switch.

2010-04-26 Thread David Walker
Bonjour. I have an OpenBSD box that shares keyboard, mouse, video with another machine (via a KVM). I use a dvorak keyboard layout. Everything works fine except that when the KVM re-attaches to OpenBSD my keyboard layout goes to QWERTY. uname -rv 4.6 GENERIC#58 cat /etc/kbdtype us.dvorak cat /v