From owner-freebsd-current@FreeBSD.ORG Wed Jan 2 10:16:54 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3552C16A418 for ; Wed, 2 Jan 2008 10:16:54 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) Received: from ipmail05.adl2.internode.on.net (ipmail05.adl2.internode.on.net [203.16.214.145]) by mx1.freebsd.org (Postfix) with ESMTP id B70A213C45B for ; Wed, 2 Jan 2008 10:16:53 +0000 (UTC) (envelope-from Benjamin.Close@clearchain.com) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq4HAMfxekd5LUVm/2dsb2JhbACBV6UA X-IronPort-AV: E=Sophos;i="4.24,233,1196602200"; d="scan'208";a="28058164" Received: from ppp121-45-69-102.lns10.adl6.internode.on.net (HELO mail.clearchain.com) ([121.45.69.102]) by ipmail05.adl2.internode.on.net with ESMTP; 02 Jan 2008 20:46:51 +1030 Received: from [192.168.155.249] (draco.internal.clearchain.com [192.168.155.249]) (authenticated bits=0) by mail.clearchain.com (8.13.8/8.13.8) with ESMTP id m02AGmeO031172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Jan 2008 20:46:49 +1030 (CST) (envelope-from Benjamin.Close@clearchain.com) Message-ID: <477B648D.2080303@clearchain.com> Date: Wed, 02 Jan 2008 20:46:45 +1030 From: Benjamin Close User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Mike Silbersack References: <20071224020713.F1390@odysseus.silby.com> <20080102004324.U9178@odysseus.silby.com> In-Reply-To: <20080102004324.U9178@odysseus.silby.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.92, clamav-milter version 0.92 on pegasus.clearchain.com X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (mail.clearchain.com [192.168.154.1]); Wed, 02 Jan 2008 20:46:49 +1030 (CST) Cc: current@freebsd.org Subject: Re: Update: 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: Wed, 02 Jan 2008 10:16:54 -0000 Mike Silbersack wrote: > > On Mon, 24 Dec 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. >> >> Thanks, >> >> Mike "Silby" Silbersack > > Thanks to everyone who responded to this thread. Here's what I've > learned since my initial message: > > 1. Other people have seen this problem (or something similar) as far > back as 5.x. > > 1a. I noticed in my kernel config file that I did NOT have kdbmux in > my 6.2 kernel config file, but I do have it in my 7.0 kernel config > file. However, I also tried recompiling 7.0 without kbdmux, and the > problem still occurs. > > 2. The problem only happens when I have xbattbar running. Whether or > not I'm actually running on battery makes no difference. > > 3. Ssh sessions into the box do not appear to be affected. > > 4. If I plug in a USB keyboard, it does not seem to be affected. > (Either with or without kbdmux.) > > I've added some KTR debugging statements to try to help me track this > down, but I have not yet made much progress. > Mike, Does this only happen under X? If so it may not be kernel related at all. Until recently Xorg had a bug: http://bugs.freedesktop.org/show_bug.cgi?id=12610 Cheers, Benjamin