Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NZJnT-0002Iw-7i for mharc-grub-devel@gnu.org; Mon, 25 Jan 2010 02:55:43 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZJnQ-0002G5-UC for grub-devel@gnu.org; Mon, 25 Jan 2010 02:55:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZJnM-0002A0-56 for grub-devel@gnu.org; Mon, 25 Jan 2010 02:55:40 -0500 Received: from [199.232.76.173] (port=35460 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZJnM-00029r-0t for grub-devel@gnu.org; Mon, 25 Jan 2010 02:55:36 -0500 Received: from mx20.gnu.org ([199.232.41.8]:44626) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZJnL-0004jE-Az for grub-devel@gnu.org; Mon, 25 Jan 2010 02:55:35 -0500 Received: from xvm-190-8.ghst.net ([217.70.190.8] helo=aybabtu.com) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NZJnK-000868-OA for grub-devel@gnu.org; Mon, 25 Jan 2010 02:55:34 -0500 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1NZJnK-0006xC-1P for grub-devel@gnu.org; Mon, 25 Jan 2010 08:55:34 +0100 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1NZJnJ-0003eE-AD for grub-devel@gnu.org; Mon, 25 Jan 2010 08:55:33 +0100 Date: Mon, 25 Jan 2010 08:55:33 +0100 From: Robert Millan To: The development of GNU GRUB Message-ID: <20100125075533.GG13584@thorin> References: <201001182117.41329.szymon@janc.net.pl> <20100118205508.GX5847@riva.ucam.org> <201001202250.25774.szymon@janc.net.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001202250.25774.szymon@janc.net.pl> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Subject: Re: [PATCH] make 'sleep --interruptible 0' interruptible X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2010 07:55:41 -0000 On Wed, Jan 20, 2010 at 10:50:25PM +0100, Szymon Janc wrote: > > > On the PC architecture, you can't check for Escape without having some > > kind of delay. Only modifier keys can be checked instantaneously. > > > > http://bazaar.launchpad.net/~ubuntu-core-dev/ubuntu/lucid/grub2/lucid/annot > > ate/head%3A/debian/patches/951_sleep_shift.diff has an alternative patch > > which may be helpful, and links to previous discussions. > > Hmm now I see that this trivial case is no so trivial at all. Yet it would be > nice to have unified sollution for GRUB_HIDDEN_TIMEOUT. > > Maybe extra command especially for user interactivity? It would combine > functionality of sleep and keystatus without need to worry about restrictions > mentioned in previous discussion. > I know that this is somewhat redundant but it looks like it would be very hard > for 'clean' solution. We're going to migrate to hardware drivers (at_keyboard / usb_keyboard) in the near future. I guess this resolves the stated problem, so I wouldn't invest a lot of effort in finding other solutions to it. If you want to help with polishing at_keyboard, usb_keyboard and the USB stack, that'd be most welcome. -- Robert Millan "Be the change you want to see in the world" -- Gandhi