From owner-freebsd-current@FreeBSD.ORG Mon Dec 24 12:27:30 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1AF016A418; Mon, 24 Dec 2007 12:27:30 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe15.swipnet.se [212.247.155.193]) by mx1.freebsd.org (Postfix) with ESMTP id 0A35813C469; Mon, 24 Dec 2007 12:27:29 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [193.217.102.3] (account mc467741@c2i.net HELO [10.0.0.105]) by mailfe15.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 7112716; Mon, 24 Dec 2007 12:27:25 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Mon, 24 Dec 2007 12:28:08 +0100 User-Agent: KMail/1.9.7 References: <20071224020713.F1390@odysseus.silby.com> In-Reply-To: <20071224020713.F1390@odysseus.silby.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712241228.09404.hselasky@c2i.net> Cc: Mike Silbersack , current@freebsd.org Subject: Re: Repeated or missed keys after upgrading from 6.2 to 7.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2007 12:27:30 -0000 On Monday 24 December 2007, Mike Silbersack wrote: > In order to eat my own dog food, I upgraded my laptop from 6.2 to 7.0. > This seemed to have gone well, until I started writing a long e-mail while > sitting on the couch today. As I was typing the e-mail, I noticed that my > typing skills seemed to have gone missing; there were words missing 2-3 > letters, and other places where I was apparently holding down keyyyys. > Heh, that's a real example of the phenomenon right there. > > After a while I realized that I was not typing sloppily, but that in fact > keys are being lost in certain cases and duplicated in others. Since I > did not rebuild any ports or packages, I'm convinced that this is directly > related to the 7.0 upgrade. > > This behavior has shown up when running a local copy of pine (inside > konsole), chatting in ksirc, and in a few other programs. (I'm running > KDE.) I think it happens more when on battery than when plugged into an > outlet. I'm running xbattbar, so it could be querying the battery status > and causing problems. This is using the laptop's built-in keyboard > (non-USB.) > > I'm going to try to track this down, although I don't know how successful > I'll be. I'd like to know if anyone else has seen this problem and if > they have any additional information that might help me track it down > faster. Hi, It might be related to ACPI polling the battery status, hence from what I understand it uses the same interface like the AT keyboard. Try disabling the battery monitoring application in KDE. I have a similar problem on my laptop, but I use an USB keyboard mostly, so it doesn't matter so much. Last time I looked at it I was not able to completely lock down the problem, except that there might be a conflict between ACPI and atkbd0 accessing the same piece of hardware at the same time. I know that the atkbd is sometimes called without Giant locked which makes the situation even more dangerous. --HPS