From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YgA2s-0003X8-0P for mharc-grub-devel@gnu.org; Thu, 09 Apr 2015 06:50:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgA2l-0003WF-Dq for grub-devel@gnu.org; Thu, 09 Apr 2015 06:50:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgA2h-0001hX-P0 for grub-devel@gnu.org; Thu, 09 Apr 2015 06:50:43 -0400 Received: from caelum.uberspace.de ([95.143.172.212]:54846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgA2h-0001h0-A7 for grub-devel@gnu.org; Thu, 09 Apr 2015 06:50:39 -0400 Received: (qmail 13282 invoked from network); 9 Apr 2015 10:50:36 -0000 Received: from localhost (HELO ?143.205.192.124?) (127.0.0.1) by caelum.uberspace.de with SMTP; 9 Apr 2015 10:50:36 -0000 Message-ID: <55265961.60005@bierbaumer.net> Date: Thu, 09 Apr 2015 12:50:09 +0200 From: Bruno Bierbaumer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: [PATCH] Add apple_set_os command Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 95.143.172.212 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2015 10:50:47 -0000 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 is booted. This works by MAC OS X identifying itself as a custom EFI protocol. The mentioned patch adds a command (apple_set_os) that fakes this OS identification to make all the hardware accessible. It would be great if that patch could be merged so that distributions will contain the command without manually patching grub. I think the command is side-effect free as it just gets registered and then can be run by users who need this quirk for their hardware. References: https://github.com/0xbb/gpu-switch#requirements https://wiki.archlinux.org/index.php/MacBookPro11,x#Getting_the_integrated_intel_card_to_work_on_11.2C3 https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1367109 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=781843 Greetings, Bruno