From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qtl5L-0006Hg-QY for garchives@archives.gentoo.org; Wed, 17 Aug 2011 18:43:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54F3321C1AE; Wed, 17 Aug 2011 18:43:13 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by pigeon.gentoo.org (Postfix) with SMTP id 439FFE05A1 for ; Wed, 17 Aug 2011 18:42:21 +0000 (UTC) Received: (qmail invoked by alias); 17 Aug 2011 18:42:19 -0000 Received: from p5485050B.dip0.t-ipconnect.de (EHLO gmx.net) [84.133.5.11] by mail.gmx.net (mp041) with SMTP; 17 Aug 2011 20:42:19 +0200 X-Authenticated: #20088476 X-Provags-ID: V01U2FsdGVkX18h0n8mJmUh/nyj1aXjEvFe16XuzoxDgUSe2moHvh nasMyeg8DKBo53 Received: by gmx.net (nbSMTP-1.00) for uid 1001 Meino.Cramer@gmx.de; Wed, 17 Aug 2011 20:42:22 +0200 (CEST) Date: Wed, 17 Aug 2011 20:42:21 +0200 From: meino.cramer@gmx.de To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] [OT]: "Reset" of USB when switching to console and back to X? Message-ID: <20110817184221.GE13752@solfire> References: <20110817030118.GA13752@solfire> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: mutt-ng/devel-r804 (Linux) X-Y-GMX-Trusted: 0 X-Archives-Salt: X-Archives-Hash: c2be67784d7f137e557be98fc91823ab Paul Hartman [11-08-17 18:02]: > On Tue, Aug 16, 2011 at 10:01 PM, wrote: > > Hi, > > > > I have attached an old keyboard (PS/2-connector) via an > > USB-PS/2-adaptor to my PC. > > > > When typing too fast (...) the three LEDs of the keyboard flashes > > and everything typed then is typed as if the CTRL-Key constantly > > locked (I am using the X-window-system with openbox as windowmanager. > > There is no session management.) > > > > It is possible to revert back to normal when I switch > > from X-windows to the Linux console (CTRL-ALT-F1) and back > > to X (CTRL-ALT-F7). > > > > My question is: > > What part (PC? Adapator? Keyboard?) gets out of sync here is > > "resetted" (somehow), while switching between console and > > X-windows? > > > > How can I reset the behaviour without switching? How can I > > prevent the behaviour completly? > > FWIW I have experienced that same behavior with several PS/2 to USB > adapters, in Windows, in Linux, etc. I think it's a common problem > with those adapters in general. I've never used one that didn't "go > crazy" a few times a day. > Hi Paul, after some recursive investigations :) via internet I found some interesting things: 1) Yes, your are completly right: It is the USB-PS2-adapter, which goes crazy. 2) No, you are wrong, the reason is different. ;) :) 3) The answer is 41.999998 (calculated by a P90). ;) The reason for stuck CTRL/SHIFT keys is a missing pull-up resistor from the clock and the data line to the +5V line of the PS2 connection. Or in other words: Adding these resistors seem to fix the problem in most cases. See the link below (which describes the process for a IBM Model M keyboard. Seems true for other old PS2 keyboards as mine, too): http://ps-2.kev009.com:8081/ohlandl/keyboard/modify_keyboard/Model_M_Modifications.html The PS2 goes crazy because the high level gets too low without the additonal pull up resistors. But the "origin of the reason" is not the adapter, but the low high levels of the old PS2 line as such. I did find these information that late (after posting to this list) by searching for informations about certain different usb-PS/2-adapter. Sorry, when answering the other half of my own question.... :)