From owner-freebsd-current@FreeBSD.ORG Thu Apr 16 12:19:09 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 AFE971065678 for ; Thu, 16 Apr 2009 12:19:09 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from smtprelay10.ispgateway.de (smtprelay10.ispgateway.de [80.67.29.24]) by mx1.freebsd.org (Postfix) with ESMTP id 6AD548FC19 for ; Thu, 16 Apr 2009 12:19:09 +0000 (UTC) (envelope-from freebsd-listen@fabiankeil.de) Received: from [62.143.132.243] (helo=localhost) by smtprelay10.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1LuQYe-0005Uo-51 for freebsd-current@freebsd.org; Thu, 16 Apr 2009 14:19:08 +0200 Date: Thu, 16 Apr 2009 14:18:55 +0200 From: Fabian Keil To: freebsd-current@freebsd.org Message-ID: <20090416141855.75ff5184@fabiankeil.de> In-Reply-To: References: X-Mailer: Claws Mail 3.7.1 (GTK+ 2.14.7; i386-portbld-freebsd8.0) X-PGP-KEY-URL: http://www.fabiankeil.de/gpg-keys/freebsd-listen-2008-08-18.asc Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/1kDxBHLvUAAkAayjueo3Qyy"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Df-Sender: 775067 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 12:19:09 -0000 --Sig_/1kDxBHLvUAAkAayjueo3Qyy Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Maksim Yevmenkin wrote: > 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. >=20 > 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. Thanks. This version of your patch works for me, too. Fabian --Sig_/1kDxBHLvUAAkAayjueo3Qyy Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAknnIjsACgkQBYqIVf93VJ2pTQCgv3ibdki9hfGR8yFI49uXlCEb eCIAnRnRzbEPOWiBrxrU0TDuiJhykyjw =Z1v1 -----END PGP SIGNATURE----- --Sig_/1kDxBHLvUAAkAayjueo3Qyy--