On Mon, Jul 21, 2008 at 03:34:38PM +0200, Robert Millan wrote:
> 
> I'm wondering if the attached patch would solve the problem for Macs with
> an AT keyboard (i.e. laptops).

Actually, try this one instead.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What good is a phone call… if you are unable to speak?
(as seen on /.)
Index: conf/i386-efi.rmk
===================================================================
--- conf/i386-efi.rmk	(revision 1723)
+++ conf/i386-efi.rmk	(working copy)
@@ -84,7 +84,7 @@
 	kern/misc.c kern/mm.c kern/loader.c kern/rescue.c kern/term.c \
 	kern/i386/dl.c kern/i386/efi/init.c kern/parser.c kern/partition.c \
 	kern/env.c symlist.c kern/efi/efi.c kern/efi/init.c kern/efi/mm.c \
-	term/efi/console.c disk/efi/efidisk.c
+	term/efi/console.c term/i386/pc/at_keyboard.c disk/efi/efidisk.c
 kernel_mod_HEADERS = arg.h boot.h cache.h device.h disk.h dl.h elf.h elfload.h \
 	env.h err.h file.h fs.h kernel.h loader.h misc.h mm.h net.h parser.h \
 	partition.h pc_partition.h rescue.h symbol.h term.h time.h types.h \
Index: kern/efi/init.c
===================================================================
--- kern/efi/init.c	(revision 1723)
+++ kern/efi/init.c	(working copy)
@@ -33,6 +33,8 @@
      messages.  */
   grub_console_init ();
 
+  grub_keyboard_controller_init ();
+
   /* Initialize the memory management system.  */
   grub_efi_mm_init ();
 
Index: term/efi/console.c
===================================================================
--- term/efi/console.c	(revision 1723)
+++ term/efi/console.c	(working copy)
@@ -113,6 +113,7 @@
   return 1;
 }
 
+#if 0
 static int
 grub_console_checkkey (void)
 {
@@ -238,6 +239,7 @@
   read_key = -1;
   return key;
 }
+#endif
 
 static grub_uint16_t
 grub_console_getwh (void)

Reply via email to