From owner-freebsd-current@FreeBSD.ORG Thu Apr 16 03:11:32 2009 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 75FA51065673 for ; Thu, 16 Apr 2009 03:11:32 +0000 (UTC) (envelope-from grosser@fim.uni-passau.de) Received: from smtprelay04.ispgateway.de (smtprelay04.ispgateway.de [80.67.18.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3667C8FC14 for ; Thu, 16 Apr 2009 03:11:32 +0000 (UTC) (envelope-from grosser@fim.uni-passau.de) Received: from [84.56.32.153] (helo=[192.168.178.29]) by smtprelay04.ispgateway.de with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1LuHpX-0005hX-6p; Thu, 16 Apr 2009 04:59:59 +0200 From: Tobias Grosser To: Maksim Yevmenkin In-Reply-To: References: Content-Type: text/plain Date: Thu, 16 Apr 2009 04:59:55 +0200 Message-Id: <1239850795.1222.2.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Df-Sender: 023415 X-Mailman-Approved-At: Thu, 16 Apr 2009 04:09:22 +0000 Cc: FreeBSD Current Subject: Re: [patch] prevent atkbd(4) from calling callback in polled mode 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: Thu, 16 Apr 2009 03:11:32 -0000 On Wed, 2009-04-15 at 17:17 -0700, Maksim Yevmenkin wrote: > hello, > > would anyone object to the small attached atkbd(4) patch? the idea is > to basically prevent atkbd(4) interrupt handler from calling keyboard > callback function when polled mode is enabled. > > i would really like to hear from people who is using kbdmux(4) on smp > systems and having problems with duplicated/missing characters while > using keyboard at mountroot, geli, etc. prompts. basically, when low > level console input functions (cngetc(), gets(), etc.) are used _and_ > interrupts are enabled. Hey, thanks a lot. This makes geli work with kbdmux loaded on my dual core system. Before, I had to remove kbdmux to be able to mount my discs during boot, as there where a lot of duplicate characters. Tobi