[PATCH] Add apple_set_os command

2015-04-09 Thread Bruno Bierbaumer
Hello! I wanted to bring some attention to this patch: https://lists.gnu.org/archive/html/grub-devel/2013-12/msg00442.html I haven been using this patch for months and it works well. The current generation of dual GPU Macbook Pros turn off the integrated Intel GPU when any other OS than Mac OS X i

Re: [PATCH] Add apple_set_os command

2014-11-13 Thread Michael Marineau
This is a long belated reply to an old thread: https://lists.gnu.org/archive/html/grub-devel/2014-01/msg00017.html I just wanted to note that I made a quick implementation of this a while back for Linux's EFI-stub which may be useful to folks interested in this issue. Revisiting it now since the c

Re: [PATCH] Add apple_set_os command

2014-01-07 Thread SevenBits
On Jan 7, 2014, at 10:19 AM, andr...@heider.io wrote: > Am 2014-01-03 19:38, schrieb SevenBits: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> On 01/03/2014 01:46 AM, Vladimir '?-coder/phcoder' Serbinenko wrote: >>> On 31.12.2013 00:11, SevenBits wrote: On Monday, December 30, 2013, A

Re: [PATCH] Add apple_set_os command

2014-01-07 Thread andreas
Am 2014-01-03 19:38, schrieb SevenBits: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/03/2014 01:46 AM, Vladimir '?-coder/phcoder' Serbinenko wrote: On 31.12.2013 00:11, SevenBits wrote: On Monday, December 30, 2013, Andreas Heider wrote: The EFI on current macbooks configures hardware

Re: [PATCH] Add apple_set_os command

2014-01-07 Thread andreas
Am 2014-01-07 14:38, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: On 30.12.2013 17:04, Andreas Heider wrote: +static const grub_efi_char8_t apple_os_version[] = "Mac OS X 10.9"; +static const grub_efi_char8_t apple_os_vendor[] = "Apple Inc."; + Can those be optionally supplied on command lin

Re: [PATCH] Add apple_set_os command

2014-01-07 Thread Andrey Borzenkov
В Вт, 07/01/2014 в 14:38 +0100, Vladimir 'φ-coder/phcoder' Serbinenko пишет: > On 30.12.2013 17:04, Andreas Heider wrote: > > +static const grub_efi_char8_t apple_os_version[] = "Mac OS X 10.9"; > > +static const grub_efi_char8_t apple_os_vendor[] = "Apple Inc."; > > + > Can those be optionally su

Re: [PATCH] Add apple_set_os command

2014-01-07 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 30.12.2013 17:04, Andreas Heider wrote: > +static const grub_efi_char8_t apple_os_version[] = "Mac OS X 10.9"; > +static const grub_efi_char8_t apple_os_vendor[] = "Apple Inc."; > + Can those be optionally supplied on command line? E.g. apple_set_os [[VENDOR] VERSION] On the other hand we shoul

Re: [PATCH] Add apple_set_os command

2014-01-03 Thread SevenBits
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/03/2014 01:46 AM, Vladimir '?-coder/phcoder' Serbinenko wrote: > On 31.12.2013 00:11, SevenBits wrote: >> On Monday, December 30, 2013, Andreas Heider wrote: >> >> The EFI on current macbooks configures hardware differently >> depending on wethe

Re: [PATCH] Add apple_set_os command

2014-01-03 Thread SevenBits
On Friday, January 3, 2014, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > On 31.12.2013 00:11, SevenBits wrote: > > On Monday, December 30, 2013, Andreas Heider wrote: > > > > The EFI on current macbooks configures hardware differently depending > > on wether it is booting Mac OS X or a d

Re: [PATCH] Add apple_set_os command

2014-01-02 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 31.12.2013 00:11, SevenBits wrote: > On Monday, December 30, 2013, Andreas Heider wrote: > > The EFI on current macbooks configures hardware differently depending > on wether it is booting Mac OS X or a different os, for example > disabling the internal GPU completely on some models

Re: [PATCH] Add apple_set_os command

2013-12-30 Thread Andreas Heider
Am 31.12.2013 um 00:11 schrieb SevenBits : > On Monday, December 30, 2013, Andreas Heider wrote: > The EFI on current macbooks configures hardware differently depending > on wether it is booting Mac OS X or a different os, for example > disabling the internal GPU completely on some models. > > M

Re: [PATCH] Add apple_set_os command

2013-12-30 Thread SevenBits
On Monday, December 30, 2013, Andreas Heider wrote: > The EFI on current macbooks configures hardware differently depending > on wether it is booting Mac OS X or a different os, for example > disabling the internal GPU completely on some models. > > Mac OS X identifies itself using a custom EFI pr

[PATCH] Add apple_set_os command

2013-12-30 Thread Andreas Heider
The EFI on current macbooks configures hardware differently depending on wether it is booting Mac OS X or a different os, for example disabling the internal GPU completely on some models. Mac OS X identifies itself using a custom EFI protocol. This adds a command that fakes the os identification,