kern/99090: some keys don't work with kbdmux

Daisuke Takahashi omikoshi at y9.dion.ne.jp
Sun Jun 18 06:30:20 UTC 2006


>Number:         99090
>Category:       kern
>Synopsis:       some keys don't work with kbdmux
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 18 06:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Daisuke Takahashi
>Release:        6.1-RELEASE
>Organization:
personal
>Environment:
FreeBSD rynex.localdomain 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006     root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
I use PS/2 keyboard and usb keyboard.

rynex# dmesg |grep kbd
kbd1 at kbdmux0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
ukbd0: Logitech NetPlay Keyboard, rev 1.10/1.33, addr 2, iclass 3/1
kbd2 at ukbd0


kbd0 workes fine, but some keys at kbd2 don't work.
With jp.106 keymap, I can't type '/' key.

'/' key generates a keycode as 115, but kbdmux0 sets kbd2 as K_RAW state, 
so kbd2 changes that keycode and '/' key doesn't work.


>How-To-Repeat:
1. connect 2 keyboards to PC, and boot 6.1-RELASE.
2. type '/' key at console from kbd2.
>Fix:
I have no idea.

 1. Why kbdmux set slave keyboards as K_RAW state.
 2. Why ukbd translate keycode '115' to another code in K_RAW mode.

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list