From owner-freebsd-hackers@FreeBSD.ORG Thu Feb 23 21:42:45 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CF9116A422 for ; Thu, 23 Feb 2006 21:42:45 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from ismybrain.com (ismybrain.com [64.246.42.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB8CB43D46 for ; Thu, 23 Feb 2006 21:42:44 +0000 (GMT) (envelope-from maksim.yevmenkin@savvis.net) Received: from [10.254.186.111] (localhost.localdomain [127.0.0.1]) by ismybrain.com (8.11.6/8.11.6) with ESMTP id k1NLgfM23046; Thu, 23 Feb 2006 16:42:41 -0500 Message-ID: <43FE2C4F.6030909@savvis.net> Date: Thu, 23 Feb 2006 13:42:39 -0800 From: Maksim Yevmenkin User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050404) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Norbert Koch References: <000001c6379d$63036d80$4801a8c0@ws-ew-3.demig.intra> In-Reply-To: <000001c6379d$63036d80$4801a8c0@ws-ew-3.demig.intra> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: does ukbd delay break scan codes? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2006 21:42:45 -0000 Norbert, [...] > I still do not know where it comes from, > but what I found so far is, > that the usb keyboard (or ukbd driver) > seems to delay the break codes for > keys with prefix E0 (which may or may not > have anything to do with my problem). > > E.g., I press Keypad-Enter and see > E0 1C E0 > ^prefix > ^make code > ^prefix > and nothing else. As soon as I press > e.g. Enter (any key works) I see > 9C 1C 9C > ^break code > ^make code > ^delayed break code. > > Does anyone have an idea where that > may come from? i see this to on week old -current. if ukbd(4) delays break code then this might explain state synchronization problem with kbdmux(4). i guess we should start digging into ukbd(4), starting with ukbd_interrupt() to see why this happening. > Could it be a possible bug in ukbd's > conversion code? could be > (BTW: I compared ukbd.c of RELENG-4 > against RELENG-6. There are no > significant differences) have you tried to look at other bsd's (i.e. netbsd for example)? > My usb keyboard is a Cherry RS6000. i do not think this has anything to do with the keyboard. i have ps/2-to-usb converter and use ps/2 keyboard with it, and, it has exactly the same problem. thanks, max