On Sat, Feb 09, 2013 at 08:22:26PM +0100, Francois Pussault wrote: > > ---------------------------------------- > > From: Bastien Durel <[email protected]> > > Sent: Fri Feb 08 23:13:42 CET 2013 > > To: <[email protected]> > > Subject: KVM switch - keyboard > > > > > > Hello, > > > > I use a KVM switch to control various computers, including my OpenBSD > > 5.2 router. > > If I boot with console attached to the OpenBSD computer, it works well, > > I'm able to control it, login, etc. > > But when I switch to another computer, then back to OpenBSD, I get > > display but no keyboard. The KVM del blinks as it does not get data from > > the USB interface, and no event goes to dmesg. > > > > Is there any configuration to let it handle (dis-)connections of > > keyboard ? > > > > Thanks, > > > > NB: CW910 is a GENERIC kernel which lives on a ramdisk > > > > -- > > Bastien > > OpenBSD 5.2 (CW910) #0: Tue Jan 8 02:48:24 MST 2013 > > [email protected]:/obj/CW910 > > cpu0: Intel(R) Celeron(R) M processor 600MHz ("GenuineIntel" 686-class) 600 > > MHz > > cpu0: > > FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF > > real mem = 534179840 (509MB) > > avail mem = 463036416 (441MB) > > mainbus0 at root > > bios0 at mainbus0: AT/286+ BIOS, date 09/16/08, BIOS32 rev. 0 @ 0xfaa80, > > SMBIOS rev. 2.2 @ 0xf0800 (34 entries) > > bios0: vendor Phoenix Technologies, LTD version "6.00 PG" date 09/16/2008 > > apm0 at bios0: Power Management spec V1.2 (slowidle) > > acpi at bios0 function 0x0 not configured > > pcibios0 at bios0: rev 2.1 @ 0xf0000/0xdf84 > > pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfde80/240 (13 entries) > > pcibios0: PCI Exclusive IRQs: 6 9 10 11 12 > > pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82801DBM LPC" rev 0x00) > > pcibios0: PCI bus #1 is the last bus > > bios0: ROM list: 0xc0000/0xd400! 0xd0000/0x1800 > > cpu0 at mainbus0: (uniprocessor) > > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > > pchb0 at pci0 dev 0 function 0 "Intel 82855GM Host" rev 0x02 > > "Intel 82855GM Memory" rev 0x02 at pci0 dev 0 function 1 not configured > > "Intel 82855GM Config" rev 0x02 at pci0 dev 0 function 3 not configured > > vga1 at pci0 dev 2 function 0 "Intel 82855GM Video" rev 0x02 > > 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 0xe0000000, size 0x8000000 > > inteldrm0 at vga1: irq 11 > > drm0 at inteldrm0 > > "Intel 82855GM Video" rev 0x02 at pci0 dev 2 function 1 not configured > > uhci0 at pci0 dev 29 function 0 "Intel 82801DB USB" rev 0x02: irq 11 > > uhci1 at pci0 dev 29 function 1 "Intel 82801DB USB" rev 0x02: irq 9 > > uhci2 at pci0 dev 29 function 2 "Intel 82801DB USB" rev 0x02: irq 10 > > ehci0 at pci0 dev 29 function 7 "Intel 82801DB USB" rev 0x02: irq 6 > > usb0 at ehci0: USB revision 2.0 > > uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1 > > ppb0 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x82 > > pci1 at ppb0 bus 1 > > fxp0 at pci1 dev 0 function 0 "Intel 8255x" rev 0x0c, i82550: irq 11, > > address 00:02:b3:ca:2d:1e > > inphy0 at fxp0 phy 1: i82555 10/100 PHY, rev. 4 > > re0 at pci1 dev 1 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd > > (0x1800), irq 12, address 00:06:4f:66:40:00 > > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 > > re1 at pci1 dev 2 function 0 "Realtek 8169SC" rev 0x10: RTL8169/8110SCd > > (0x1800), irq 10, address 00:06:4f:66:40:01 > > rgephy1 at re1 phy 7: RTL8169S/8110S PHY, rev. 2 > > hifn0 at pci1 dev 6 function 0 "Hifn 7955/7954" rev 0x00: LZS 3DES ARC4 MD5 > > SHA1 RNG AES PK, 32KB dram, irq 9 > > ichpcib0 at pci0 dev 31 function 0 "Intel 82801DB LPC" rev 0x02: 24-bit > > timer at 3579545Hz > > pciide0 at pci0 dev 31 function 1 "Intel 82801DB IDE" rev 0x02: DMA, > > channel 0 configured to compatibility, channel 1 configured to compatibility > > pciide0: channel 0 disabled (no drives) > > wd0 at pciide0 channel 1 drive 0: <FLASH CARD> > > wd0: 1-sector PIO, LBA, 1919MB, 3931200 sectors > > wd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 4 > > ichiic0 at pci0 dev 31 function 3 "Intel 82801DB SMBus" rev 0x02: irq 12 > > iic0 at ichiic0 > > spdmem0 at iic0 addr 0x50: 512MB DDR SDRAM non-parity PC3200CL2.5 > > usb1 at uhci0: USB revision 1.0 > > uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb2 at uhci1: USB revision 1.0 > > uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > usb3 at uhci2: USB revision 1.0 > > uhub3 at usb3 "Intel UHCI root hub" rev 1.00/1.00 addr 1 > > isa0 at ichpcib0 > > isadma0 at isa0 > > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > > com2 at isa0 port 0x3e8/8 irq 5: ns16550a, 16 byte fifo > > com2: probed fifo depth: 15 bytes > > 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 > > pcppi0 at isa0 port 0x61 > > spkr0 at pcppi0 > > it0 at isa0 port 0x2e/2: IT8712F rev 7, EC port 0x290 > > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > > mtrr: Pentium Pro MTRR support > > uhub4 at uhub1 port 2 "ALCOR Generic USB Hub" rev 1.10/3.12 addr 2 > > uhidev0 at uhub4 port 1 configuration 1 interface 0 "CHESEN USB Keyboard" > > rev 1.10/1.10 addr 3 > > uhidev0: iclass 3/1 > > ukbd0 at uhidev0: 8 variable keys, 6 key codes, country code 33 > > wskbd1 at ukbd0 mux 1 > > wskbd1: connecting to wsdisplay0 > > uhidev1 at uhub4 port 1 configuration 1 interface 1 "CHESEN USB Keyboard" > > rev 1.10/1.10 addr 3 > > uhidev1: iclass 3/0, 3 report ids > > uhid0 at uhidev1 reportid 2: input=1, output=0, feature=0 > > uhid1 at uhidev1 reportid 3: input=3, output=0, feature=0 > > uhidev2 at uhub4 port 3 configuration 1 interface 0 "No brand 4 Port > > KVMSwicther" rev 1.10/1.00 addr 4 > > uhidev2: iclass 3/0 > > ukbd1 at uhidev2: 8 variable keys, 6 key codes > > wskbd2 at ukbd1 mux 1 > > wskbd2: connecting to wsdisplay0 > > uhidev3 at uhub4 port 3 configuration 1 interface 1 "No brand 4 Port > > KVMSwicther" rev 1.10/1.00 addr 4 > > uhidev3: no input interrupt endpoint > > vscsi0 at root > > scsibus0 at vscsi0: 256 targets > > softraid0 at root > > scsibus1 at softraid0: 256 targets > > root on rd0a swap on rd0b dump on rd0b > > wskbd1: disconnecting from wsdisplay0 > > wskbd1 detached > > ukbd0 detached > > uhidev0 detached > > uhid0 detached > > uhid1 detached > > uhidev1 detached > > wskbd2: disconnecting from wsdisplay0 > > wskbd2 detached > > ukbd1 detached > > uhidev2 detached > > uhidev3 detached > > uhub4 detached > > > Hi, many hardware cannot manage USB keyboards without it present at boot. > because bios or equiv doesn't enable the port so the OS (whatever it is) > cannot use it. > > That"s exactly why I cannot accept usb-KVM creator existance he should die, > his family > should die, his pet should die :D :D > but usb-KVM should really be forbiden forever & all over the universe & other > parallel universes > in past & future > > a solution could be to have an usb-test device connected to garantee usb is > enable > even if kvm is on another device.
Or buy a real USB KVM which simulates keyboard, screen and mouse even when not attached. That works great with any OS. -- Antoine

