From owner-freebsd-current@FreeBSD.ORG Thu Apr 16 16:19:35 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 1238A106566C for ; Thu, 16 Apr 2009 16:19:35 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-gx0-f170.google.com (mail-gx0-f170.google.com [209.85.217.170]) by mx1.freebsd.org (Postfix) with ESMTP id C4DDD8FC12 for ; Thu, 16 Apr 2009 16:19:34 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by gxk18 with SMTP id 18so1299384gxk.12 for ; Thu, 16 Apr 2009 09:19:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=FdvtN5Lok4GfEqGQnrPlaIaRQU/vEbSlZMCbitxHjp4=; b=mAF7lh4c1R5R67OdwaAyAY1zO7PVDOM12j4k9sqJCHmgXE1xJ2suGHjwKuoeqF+D07 WudI4QYg8KqWWrtdSN7596OC7o46WZnbNfhnp7PRRXJCkA2uxgEL0aUlcnlB+0RwF8zh hI95Pc2LMRm6kGOJh6feBX7AN9xydUkQoRarg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Kss0oHpU2A0pWYsobnLGE/xYLg6IuOhla49MobCTGK/madAW63toRT5Bv1iRh/UPGx 0NGnsaj5K2ZPGmJ7JdyxSSTLa3qFdd/tNu0hI4fppwkTqSA4PhFH+UGKaapwb651kMqd FkTtGA1Ao3jfC8Scs+MjAg8HL79xEKd2Na1PM= MIME-Version: 1.0 Received: by 10.90.116.9 with SMTP id o9mr1599118agc.121.1239898773749; Thu, 16 Apr 2009 09:19:33 -0700 (PDT) In-Reply-To: <20090416141855.75ff5184@fabiankeil.de> References: <20090416141855.75ff5184@fabiankeil.de> Date: Thu, 16 Apr 2009 09:19:33 -0700 Message-ID: From: Maksim Yevmenkin To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Tobias Grosser 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 16:19:35 -0000 On Thu, Apr 16, 2009 at 5:18 AM, Fabian Keil wrote: > 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. >> >> 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. thanks for trying it out guys! anyone else? i plan to commit it at the end of the day today, provided, of course, i do not hear anything bad. thanks, max