From nobody@FreeBSD.org  Sat Apr 28 21:35:47 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id C77B016A406
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Apr 2007 21:35:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id B659613C44B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Apr 2007 21:35:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l3SLZliM073330
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Apr 2007 21:35:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l3SLUjal072476;
	Sat, 28 Apr 2007 21:30:45 GMT
	(envelope-from nobody)
Message-Id: <200704282130.l3SLUjal072476@www.freebsd.org>
Date: Sat, 28 Apr 2007 21:30:45 GMT
From: Nakata Maho<maho@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: (kbdmux) Japanese 106/109 USB keyboard ignores backslash/underscore
X-Send-Pr-Version: www-3.0

>Number:         112216
>Category:       misc
>Synopsis:       (kbdmux) Japanese 106/109 USB keyboard ignores backslash/underscore
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 28 21:40:05 GMT 2007
>Closed-Date:    Sat Apr 28 23:01:18 GMT 2007
>Last-Modified:  Sat Apr 28 23:01:18 GMT 2007
>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:
State-Changed-From-To: open->closed 
State-Changed-By: linimon 
State-Changed-When: Sat Apr 28 23:00:42 UTC 2007 
State-Changed-Why:  
Duplicate of kern/112214. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112216 
>Unformatted:
