From owner-freebsd-current@FreeBSD.ORG Wed May 10 02:07:16 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 79E0816A4DD for ; Wed, 10 May 2006 02:07:16 +0000 (UTC) (envelope-from emil@cs.rmit.edu.au) Received: from its-mu-mail4.its.rmit.edu.au (its-mu-mail4.its.rmit.edu.au [131.170.2.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E68843D73 for ; Wed, 10 May 2006 02:07:12 +0000 (GMT) (envelope-from emil@cs.rmit.edu.au) Received: from wombat.cs.rmit.edu.au (wombat.cs.rmit.edu.au [131.170.24.41]) by its-mu-mail4.its.rmit.edu.au (8.13.6/8.13.6/mail4) with ESMTP id k4A26FZv003883; Wed, 10 May 2006 12:07:09 +1000 (EST) Received: from goanna.cs.rmit.edu.au (root@goanna.cs.rmit.edu.au [131.170.24.40]) by wombat.cs.rmit.edu.au (8.12.10/8.12.10/cshub) with ESMTP id k4A23eAf005750; Wed, 10 May 2006 12:03:40 +1000 (EST) Received: from goanna.cs.rmit.edu.au (emil@localhost [127.0.0.1]) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.4/csnode) with ESMTP id k4A23dDi008675; Wed, 10 May 2006 12:03:40 +1000 (EST) Received: (from emil@localhost) by goanna.cs.rmit.edu.au (8.13.4+Sun/8.13.3/Submit) id k4A23b6E008669; Wed, 10 May 2006 12:03:37 +1000 (EST) Date: Wed, 10 May 2006 12:03:36 +1000 From: Emil Mikulic To: Pascal Hofstee Message-ID: <20060510020336.GA25800@cs.rmit.edu.au> References: <1147219290.1410.6.camel@synergy.odyssey.homeunix.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1147219290.1410.6.camel@synergy.odyssey.homeunix.org> X-Operating-System: SunOS 5.10 X-PGP-Fingerprint: D2B4 7C14 0C41 9AE5 8D2B 16B0 D3D6 F910 8E4C 5D35 X-Authentication-Warning: localhost: emil pwned teh intarweb User-Agent: Mutt/1.5.10i X-Scanned-By: MIMEDefang 2.44 Cc: current@freebsd.org Subject: Re: kbdmux oddity ? 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, 10 May 2006 02:07:16 -0000 On Tue, May 09, 2006 at 05:01:30PM -0700, Pascal Hofstee wrote: > I recently decided to add kbdmux support to my default kernel config > since i noticed at times that upon kernel panics and similar events my > USB keyboard goes dead. > > Today i got to actually installing a kbdmux enabled kernel and came to > the conclusion that even though keys like Capslock, Numlock and > Scrolllock perform the functions they're supposed to do, the keyboard > leds seem to arbitrarily decide wether or not they want to toggle > on/off. > > on console i noticed that usually after hitting e.g. caps lock a few > times the leds decdide to "work with me again" and toggle on/off > accordingly .. until i hit any actual textual input .. at which point > the previous eratic behavior has resurfaced. > > Similar problems exist in X as well ... though seem to be even more > eratic there. > > Removing kbdmux from my kernel seems to restore normality again. > > Am i the only one seeing these problems ? I'm seeing a similar (but different?) problem - I get an interrupt storm every time I hit Caps Lock or Num Lock, or flip VTs in text mode. If XMMS is running, the music skips. Normally, if I'm hitting letter keys, I never see any irq1: atkbd0 interrupts. If I bounce on the Caps Lock, I can get it as high as 72/sec. Running top(1), I can get system time up to about 50% by pounding away at Caps Lock. Normal typing doesn't affect the system time much, it fluctuates between 0% and 1%. This is with 7-CURRENT, GENERIC, on x86, from yesterday. And it's on a Dell GX280 with a USB keyboard. I've seen similar issues on a Dell Poweredge SC430, again with a USB keyboard. --Emil