Re: [Bugfix] Hang on new mac laptops

2009-03-11 Thread phcoder
Hello this issue still persists and unfortunately usb keyboard didn't fix the issue. Perhaps we should commit this as at least temporary solution for the problem? phcoder wrote: Fixed Pavel Roskin wrote: On Tue, 2009-02-03 at 22:30 +0100, phcoder wrote: - status = efi_call_3

Re: [Bugfix] Hang on new mac laptops

2009-02-09 Thread Robert Millan
On Mon, Feb 09, 2009 at 02:46:01AM +0100, step21 wrote: Ok, confirmed that keyboard is attached with usb. lsusb wans't very helpful cause apart from wireless and bluetooth it only mentioned apple devices and linux foundation devices however os x has a similiar command line tool ioreg which

Re: [Bugfix] Hang on new mac laptops

2009-02-08 Thread step21
I made an *.efi with a few modules (for convenience and cause the minimal build somehow didn't want to load anything, but that could have been me) Then I loaded at_keyboard with insmod at_keyboard that worked. Then when I do terminal_input at_keyboard it doesn't give me a new prompt and seems to

Re: [Bugfix] Hang on new mac laptops

2009-02-08 Thread Robert Millan
On Sun, Feb 08, 2009 at 06:02:27PM +0100, step21 wrote: I made an *.efi with a few modules (for convenience and cause the minimal build somehow didn't want to load anything, but that could have been me) Then I loaded at_keyboard with insmod at_keyboard that worked. Then when I do

Re: [Bugfix] Hang on new mac laptops

2009-02-08 Thread step21
ok makes sense. I did set debug=at_keyboard (before insmod I think) but not output at all. On Sun, Feb 8, 2009 at 7:00 PM, Robert Millan r...@aybabtu.com wrote: On Sun, Feb 08, 2009 at 06:02:27PM +0100, step21 wrote: I made an *.efi with a few modules (for convenience and cause the minimal

Re: [Bugfix] Hang on new mac laptops

2009-02-08 Thread Robert Millan
On Sun, Feb 08, 2009 at 07:52:39PM +0100, step21 wrote: ok makes sense. I did set debug=at_keyboard (before insmod I think) but not output at all. Sorry, it should have been debug=atkeyb. Also, you need a #define DEBUG_AT_KEYBOARD line as mentioned on IRC. -- Robert Millan The DRM opt-in

Re: [Bugfix] Hang on new mac laptops

2009-02-08 Thread step21
Ok, confirmed that keyboard is attached with usb. lsusb wans't very helpful cause apart from wireless and bluetooth it only mentioned apple devices and linux foundation devices however os x has a similiar command line tool ioreg which with -p IOUSB can be restricted to usb. Output

Re: [Bugfix] Hang on new mac laptops

2009-02-07 Thread Robert Millan
On Wed, Feb 04, 2009 at 08:56:28AM +0100, phcoder wrote: - status = efi_call_3 (b-wait_for_event, 1, (i-wait_for_key), index); - if (status != GRUB_EFI_SUCCESS) -return -1; + /* Don't use wait_for_event it's known + to cause hangs on some mac models */ +

[Bugfix] Hang on new mac laptops

2009-02-03 Thread phcoder
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 @@

Re: [Bugfix] Hang on new mac laptops

2009-02-03 Thread Pavel Roskin
On Tue, 2009-02-03 at 22:30 +0100, phcoder wrote: - 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;*/

Re: [Bugfix] Hang on new mac laptops

2009-02-03 Thread phcoder
Fixed Pavel Roskin wrote: On Tue, 2009-02-03 at 22:30 +0100, phcoder wrote: - 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;