From owner-freebsd-current@FreeBSD.ORG Tue Feb 28 15:08:31 2006 Return-Path: X-Original-To: freebsd-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 7A48D16A422 for ; Tue, 28 Feb 2006 15:08:31 +0000 (GMT) (envelope-from craig@xfoil.gank.org) Received: from ion.gank.org (ion.gank.org [64.81.113.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 708AD43D73 for ; Tue, 28 Feb 2006 15:08:22 +0000 (GMT) (envelope-from craig@xfoil.gank.org) Received: by ion.gank.org (mail, from userid 1001) id 7306592A; Tue, 28 Feb 2006 09:08:16 -0600 (CST) Date: Tue, 28 Feb 2006 09:08:17 -0600 From: Craig Boston To: Maksim Yevmenkin Message-ID: <20060228150546.GA13431@nowhere> Mail-Followup-To: Craig Boston , Maksim Yevmenkin , freebsd-current@freebsd.org References: <43FF986E.9030205@savvis.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <43FF986E.9030205@savvis.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-current@freebsd.org Subject: Re: [PATCH] kbdmux(4) update 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: Tue, 28 Feb 2006 15:08:31 -0000 On Fri, Feb 24, 2006 at 03:36:14PM -0800, Maksim Yevmenkin wrote: > dear Hackers, > > i was finally able to trace hard lockup problem with kbdmux(4), ps/2 > keyboard and ps/2 mouse under x11. > > the problem was traced back to the following code in kbdmux(4) > > this is only happening when kbdmux(4), ps/2 keyboard and ps/2 mouse used > together, and, here is why: atkbd_check_char() calls kbdc_data_ready(). > the later will return "true" if there are pending data in either kbd or > aux queue. Hmm, I wonder if this could be the cause of the lockups on my laptop when using the touchpad. I started using kbdmux a while ago with the built-in (PS/2) and USB keyboard but never even suspected it when I traced my occasional hard lockups to using the touchpad. I'll try the patch tonight and see if it clears up the problem. Craig