From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jybp3-0007qG-J8 for qemu-devel@nongnu.org; Tue, 20 May 2008 20:04:49 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jybp1-0007pJ-Lj for qemu-devel@nongnu.org; Tue, 20 May 2008 20:04:49 -0400 Received: from [199.232.76.173] (port=34233 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jybp1-0007pA-30 for qemu-devel@nongnu.org; Tue, 20 May 2008 20:04:47 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:35429) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jyboz-0006m2-FV for qemu-devel@nongnu.org; Tue, 20 May 2008 20:04:46 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH 3/3] MusicPal: Add specific =?iso-8859-15?q?-hold-button=09option?= Date: Wed, 21 May 2008 01:04:41 +0100 References: <48336562.7000601@web.de> In-Reply-To: <48336562.7000601@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805210104.41636.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jan Kiszka > MusicPal's U-Boot is able to start in a special mode (firmware recovery) > in case one of the control buttons is pressed during power-up. As with > QEMU, there is no chance to achieve this by hand (except for > artificially delaying the power-up with sleep()), this patch adds a > MusicPal-specific command line option -hold-button. The option takes > button codes and simulates those buttons as pressed on power-up. There's no reason why this should be limited to the musicpal. Better would be to implement it in the input layer and have to work with all machines. Paul