[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bugfix] Hang on new mac laptops
From: |
phcoder |
Subject: |
[Bugfix] Hang on new mac laptops |
Date: |
Tue, 03 Feb 2009 22:30:00 +0100 |
User-agent: |
Thunderbird 2.0.0.19 (X11/20090105) |
Hello. On new mac laptops waiting for keyboard event causes random
hangs. Bugfix attached
Thanks
Vladimir 'phcoder' Serbinenko
Index: ChangeLog
===================================================================
--- ChangeLog (revision 1967)
+++ ChangeLog (working copy)
@@ -1,3 +1,10 @@
+2009-02-03 Vladimir Serbinenko <address@hidden>
+
+ Don't rely on event for keyboard on EFI. It causes random hangs
+ Great thanks to Florian Idelberger for testing and helping finding
this bug
+
+ * term/efi/console.c: Replace wait for event with grub_millisleep (10)
+
2009-02-01 Felix Zielcke <address@hidden>
* INSTALL: Note that we now require at least autconf 2.59 and that LZO
Index: term/efi/console.c
===================================================================
--- term/efi/console.c (revision 1967)
+++ term/efi/console.c (working copy)
@@ -226,9 +226,10 @@
do
{
- status = efi_call_3 (b->wait_for_event, 1, &(i->wait_for_key),
&index);
+ /* status = efi_call_3 (b->wait_for_event, 1,
&(i->wait_for_key), &index);
if (status != GRUB_EFI_SUCCESS)
- return -1;
+ return -1;*/
+ grub_millisleep (10);
grub_console_checkkey ();
}
- [Bugfix] Hang on new mac laptops,
phcoder <=
- Re: [Bugfix] Hang on new mac laptops, Pavel Roskin, 2009/02/03
- Re: [Bugfix] Hang on new mac laptops, phcoder, 2009/02/04
- Re: [Bugfix] Hang on new mac laptops, Robert Millan, 2009/02/07
- Re: [Bugfix] Hang on new mac laptops, step21, 2009/02/08
- Re: [Bugfix] Hang on new mac laptops, Robert Millan, 2009/02/08
- Re: [Bugfix] Hang on new mac laptops, step21, 2009/02/08
- Re: [Bugfix] Hang on new mac laptops, Robert Millan, 2009/02/08
- Re: [Bugfix] Hang on new mac laptops, step21, 2009/02/08
- Re: [Bugfix] Hang on new mac laptops, Robert Millan, 2009/02/09