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 /var/log/messages
Apr 27 01:00:01 compaq syslogd: restart
Apr 27 01:00:25 compaq /bsd: wsmouse0 detached
Apr 27 01:00:25 compaq /bsd: ums0 detached
Apr 27 01:00:25 compaq /bsd: uhidev0 detached
Apr 27 01:00:25 compaq /bsd: wskbd1: disconnecting from wsdisplay0
Apr 27 01:00:25 compaq /bsd: wskbd1 detached
Apr 27 01:00:25 compaq /bsd: ukbd0 detached
Apr 27 01:00:25 compaq /bsd: uhidev1 detached
Apr 27 01:00:25 compaq /bsd: uhid0 detached
Apr 27 01:00:25 compaq /bsd: uhid1 detached
Apr 27 01:00:25 compaq /bsd: uhid2 detached
Apr 27 01:00:25 compaq /bsd: uhidev2 detached
Apr 27 01:00:25 compaq /bsd: uhub2 detached
Apr 27 01:03:03 compaq /bsd: uhub2 at uhub1
Apr 27 01:03:03 compaq /bsd:  port 4 "ALCOR Generic USB Hub" rev
1.10/3.12 addr 3
Apr 27 01:03:04 compaq /bsd: uhidev0 at uhub2
Apr 27 01:03:04 compaq /bsd:  port 2 configuration 1 interface 0
"Microsoft Microsoft Basic Optical Mouse v2.0" rev 1.10/1.99 addr 4
Apr 27 01:03:04 compaq /bsd: uhidev0: iclass 3/1
Apr 27 01:03:04 compaq /bsd: ums0 at uhidev0: 3 buttons, Z dir
Apr 27 01:03:04 compaq /bsd: wsmouse0 at ums0 mux 0
Apr 27 01:03:05 compaq /bsd: uhidev1 at uhub2
Apr 27 01:03:05 compaq /bsd:  port 4 configuration 1 interface 0
"NOVATEK USB Keyboard" rev 1.10/1.12 addr 5
Apr 27 01:03:05 compaq /bsd: uhidev1: iclass 3/1
Apr 27 01:03:05 compaq /bsd: ukbd0 at uhidev1: 8 modifier keys, 6 key codes
Apr 27 01:03:05 compaq /bsd: wskbd1 at ukbd0 mux 1
Apr 27 01:03:05 compaq /bsd: wskbd1: connecting to wsdisplay0
Apr 27 01:03:05 compaq /bsd: uhidev2 at uhub2
Apr 27 01:03:05 compaq /bsd:  port 4 configuration 1 interface 1
"NOVATEK USB Keyboard" rev 1.10/1.12 addr 5
Apr 27 01:03:05 compaq /bsd: uhidev2: iclass 3/0, 4 report ids
Apr 27 01:03:05 compaq /bsd: uhid0 at uhidev2 reportid 2: input=1,
output=0, feature=0
Apr 27 01:03:05 compaq /bsd: uhid1 at uhidev2 reportid 3: input=3,
output=0, feature=0
Apr 27 01:03:05 compaq /bsd: uhid2 at uhidev2 reportid 4: input=2,
output=0, feature=0

@ three minutes is where it re-attaches.
I suspect this is a "feature" and not a hardware issue, however dmesg follows.
Any ideas welcome.

Best wishes.

cat /var/run/dmesg.boot
OpenBSD 4.6 (GENERIC) #58: Thu Jul  9 21:24:42 MDT 2009
   dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Celeron ("GenuineIntel" 686-class, 128KB L2 cache) 499 MHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem  = 132739072 (126MB)
avail mem = 119533568 (113MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 11/23/99, BIOS32 rev. 0 @
0xfa0e0, SMBIOS rev. 2.3 @ 0xf9370 (19 entries)
bios0: vendor Compaq version "686C3" date 11/23/1999
bios0: Compaq Compaq PC
acpi0 at bios0: rev 0
acpi0: tables DSDT FACP SSDT
acpi0: wakeup devices PBTN(S1) PCI0(S1) USB0(S1) BUS1(S1)
acpitimer0 at acpi0: 3579545 Hz, 24 bits
acpiprt0 at acpi0: bus 0 (PCI0)
acpicpu0 at acpi0: C2
acpibtn0 at acpi0: PBTN
bios0: ROM list: 0xc0000/0x8000 0xd0000/0x1000 0xe8000/0x4000! 0xec000/0x4000!
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "Intel 82810E Host" rev 0x03
vga1 at pci0 dev 1 function 0 "Intel 82810E Video" rev 0x03
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
intagp0 at vga1
agp0 at intagp0: aperture at 0x44000000, size 0x4000000
ppb0 at pci0 dev 30 function 0 "Intel 82801AA Hub-to-PCI" rev 0x02
pci1 at ppb0 bus 1
esa0 at pci1 dev 5 function 0 "ESS ES1989" rev 0x10: irq 5
ac97: codec id 0x45838308 (ESS Technology ES1921)
ac97: codec features 20 bit DAC, 20 bit ADC, ESS Technology
audio0 at esa0
fxp0 at pci1 dev 8 function 0 "Intel 8255x" rev 0x08, i82559: irq 3,
address 00:02:b3:21:9c:1c
inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4
ichpcib0 at pci0 dev 31 function 0 "Intel 82801AA LPC" rev 0x02
pciide0 at pci0 dev 31 function 1 "Intel 82801AA IDE" rev 0x02: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: <SAMSUNG SV0511D>
wd0: 16-sector PIO, LBA, 4865MB, 9965088 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
atapiscsi0 at pciide0 channel 1 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <COMPAQ, CRD-8400B, 1.04> ATAPI 5/cdrom removable
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 31 function 2 "Intel 82801AA USB" rev 0x02: irq 11
ichiic0 at pci0 dev 31 function 3 "Intel 82801AA SMBus" rev 0x02: irq 5
iic0 at ichiic0
spdmem0 at iic0 addr 0x50: 64MB SDRAM non-parity PC100CL2
spdmem1 at iic0 addr 0x51: 64MB SDRAM non-parity PC133CL3
isa0 at ichpcib0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
mpu0 at isa0 port 0x300/2: generic MPU-401 compatible
midi0 at mpu0: <MPU-401 MIDI UART>
pcppi0 at isa0 port 0x61
midi1 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
usb0 at uhci0: USB revision 1.0
uhub0 at usb0 "Intel UHCI root hub" rev 1.00/1.00 addr 1
biomask fde5 netmask fded ttymask ffff
mtrr: Pentium Pro MTRR support
uhub1 at uhub0 port 1 "Texas Instruments UT-USB41 hub" rev 1.10/1.25 addr 2
uhub2 at uhub1 port 4 "ALCOR Generic USB Hub" rev 1.10/3.12 addr 3
uhidev0 at uhub2 port 2 configuration 1 interface 0 "Microsoft
Microsoft Basic Optical Mouse v2.0" rev 1.10/1.99 addr 4
uhidev0: iclass 3/1
ums0 at uhidev0: 3 buttons, Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub2 port 4 configuration 1 interface 0 "NOVATEK USB
Keyboard" rev 1.10/1.12 addr 5
uhidev1: iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev2 at uhub2 port 4 configuration 1 interface 1 "NOVATEK USB
Keyboard" rev 1.10/1.12 addr 5
uhidev2: iclass 3/0, 4 report ids
uhid0 at uhidev2 reportid 2: input=1, output=0, feature=0
uhid1 at uhidev2 reportid 3: input=3, output=0, feature=0
uhid2 at uhidev2 reportid 4: input=2, output=0, feature=0
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

Reply via email to