From nobody@FreeBSD.org  Sat Apr 28 21:35:23 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 9574516A400
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Apr 2007 21:35:23 +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 82A7213C458
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Apr 2007 21:35:23 +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 l3SLZNJF073221
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Apr 2007 21:35:23 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l3SLULmD072440;
	Sat, 28 Apr 2007 21:30:21 GMT
	(envelope-from nobody)
Message-Id: <200704282130.l3SLULmD072440@www.freebsd.org>
Date: Sat, 28 Apr 2007 21:30:21 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:         112214
>Category:       kern
>Synopsis:       [kbdmux] [patch] Japanese 106/109 USB keyboard ignores backslash/underscore
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    emax
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 28 21:40:04 GMT 2007
>Closed-Date:    Thu Jul 19 17:14:16 GMT 2007
>Last-Modified:  Thu Jul 19 17:20:03 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:
Responsible-Changed-From-To: freebsd-bugs->emax 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Sun Apr 29 07:55:50 UTC 2007 
Responsible-Changed-Why:  
Forward to kbdmux(4) author. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112214 
State-Changed-From-To: open->patched 
State-Changed-By: emax 
State-Changed-When: Wed Jul 11 18:57:43 UTC 2007 
State-Changed-Why:  
Patch committed to -current 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112214 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/112214: commit references a PR
Date: Wed, 11 Jul 2007 18:57:23 +0000 (UTC)

 emax        2007-07-11 18:57:15 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/dev/kbdmux       kbdmux.c 
   Log:
   Fix kbdmux(4) issue with backslash/underscore key not working on
   Japanese 106/109 keyboard.
   
   PR:             kern/112214, kern/99090
   Submitted by:   TOMITA Yoshinori, TAKAHASHI Yoshihiro
   Approved by:    re (hrs)
   MFC after:      3 days
   
   Revision  Changes    Path
   1.15      +3 -0      src/sys/dev/kbdmux/kbdmux.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: emax 
State-Changed-When: Thu Jul 19 17:13:28 UTC 2007 
State-Changed-Why:  
patches committed to both -current and releng_6 

http://www.freebsd.org/cgi/query-pr.cgi?pr=112214 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/112214: commit references a PR
Date: Thu, 19 Jul 2007 17:12:16 +0000 (UTC)

 emax        2007-07-19 17:12:02 UTC
 
   FreeBSD src repository
 
   Modified files:        (Branch: RELENG_6)
     sys/dev/kbdmux       kbdmux.c 
   Log:
   MFC:
   
   Fix kbdmux(4) issue with backslash/underscore key not working on
   Japanese 106/109 keyboard.
   
   PR:             kern/112214, kern/99090
   Submitted by:   TAKAHASHI Yoshihiro, TOMITA Yoshinori
   Approved by:    re (hrs)
   
   Revision  Changes    Path
   1.2.2.9   +3 -0      src/sys/dev/kbdmux/kbdmux.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
