From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JDkYS-00034b-OD for mharc-grub-devel@gnu.org; Sat, 12 Jan 2008 12:54:00 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JDkYQ-00033q-AC for grub-devel@gnu.org; Sat, 12 Jan 2008 12:53:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JDkYN-00032r-U3 for grub-devel@gnu.org; Sat, 12 Jan 2008 12:53:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDkYN-00032o-Ld for grub-devel@gnu.org; Sat, 12 Jan 2008 12:53:55 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JDkYN-0005VN-3A for grub-devel@gnu.org; Sat, 12 Jan 2008 12:53:55 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JDkYI-0006NC-5f for grub-devel@gnu.org; Sat, 12 Jan 2008 17:53:50 +0000 Received: from dial-213-168-64-129.netcologne.de ([213.168.64.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Jan 2008 17:53:50 +0000 Received: from patrick by dial-213-168-64-129.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Jan 2008 17:53:50 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: Patrick Georgi Date: Sat, 12 Jan 2008 17:53:42 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dial-213-168-64-129.netcologne.de User-Agent: Pan/0.129 (Benson & Hedges Moscow Gold) Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 2/4: Keyboard controller X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2008 17:53:58 -0000 Hi, second installement of my mini-series: The AT keyboard driver assumes that the keyboard is set to scancode set #1. It seems like many keyboards use set #2 (or even #3) by default now, and some 8042-emulating chipsets don't enable translation (to #1) by default. The BIOS then enables it to support the legacy compatibility the PC architecture is famous for - but CoreBoot doesn't. http://osdever.net/ has some information on programming the 8042 (without BIOS calls), incl. how to configure the scancode set you want to have. Also, 0x01 is the scancode for ESC. I didn't look if there's a special case for escapes, but a simple "\e" instead of "\0" at that code point might help. Regards, Patrick