Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Apr 2007 21:30:21 GMT
From:      Nakata Maho<maho@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/112214: (kbdmux) Japanese 106/109 USB keyboard ignores backslash/underscore
Message-ID:  <200704282130.l3SLULmD072440@www.freebsd.org>
Resent-Message-ID: <200704282140.l3SLe5Z0060806@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         112214
>Category:       misc
>Synopsis:       (kbdmux) Japanese 106/109 USB keyboard ignores backslash/underscore
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 28 21:40:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Nakata Maho
>Release:        6.2-RELEASE
>Organization:
FreeBSD.org
>Environment:
FreeBSD debussy.private.org 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Sun Apr 29 06:15:21 JST 2007     maho@debussy.private.org:/usr/src/sys/i386/compile/MAHO  i386

>Description:
According to http://lists.freebsd.org/pipermail/freebsd-stable/2006-May/025532.html

> After upgrading from FreeBSD 5.4 to 6.1, backslash/underscore key on
> Japanese 106/109 keyboard, which resides left of Rshift key, cannot be
> used any more.
> 
> Without kbdmux, the key works well.
> 
> Japanese 106/109 PS/2 keyborad has no problem. This problem is USB only.
> 

>How-To-Repeat:
Obtain Japanese 106/109 USB keyboard and try to type
backslash/underscore key just the left of right shift key.

>Fix:
In http://lists.freebsd.org/pipermail/freebsd-stable/2006-May/025532.html
patch has been attached. Just copy and pasted here. It worked for me, too.

--- kbdmux.c.org        Wed Mar 29 11:06:35 2006
+++ kbdmux.c    Mon May 15 19:08:36 2006
@@ -764,6 +764,9 @@
                case 0x63:      /* wake key */
                        keycode = 0x6f;
                        break;
+               case 0x64:      /* [JP106USB] backslash, underscore */
+                       keycode = 0x73;
+                       break;
                default:        /* ignore everything else */
                        goto next_code;
                }



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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704282130.l3SLULmD072440>