From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OZvPW-00057w-Ga for mharc-grub-devel@gnu.org; Fri, 16 Jul 2010 20:37:46 -0400 Received: from [140.186.70.92] (port=57721 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZvPT-00056h-3Z for grub-devel@gnu.org; Fri, 16 Jul 2010 20:37:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZvPR-0000ve-QP for grub-devel@gnu.org; Fri, 16 Jul 2010 20:37:42 -0400 Received: from panda.math.berkeley.edu ([128.32.213.171]:35838) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZvPR-0000uW-Dv for grub-devel@gnu.org; Fri, 16 Jul 2010 20:37:41 -0400 Received: from tashkent.math.berkeley.edu (tashkent.Math.Berkeley.EDU [169.229.58.215]) by panda.math.berkeley.edu (8.13.8/8.13.8) with ESMTP id o6H0bcwa009467; Fri, 16 Jul 2010 17:37:38 -0700 Received: (from vojta@localhost) by tashkent.math.berkeley.edu (8.13.8+Sun/8.13.8/Submit) id o6H0bctr015753; Fri, 16 Jul 2010 17:37:38 -0700 (PDT) Date: Fri, 16 Jul 2010 17:37:38 -0700 From: Paul Vojta To: The development of GNU GRUB Message-ID: <20100717003738.GA15694@math.berkeley.edu> References: <4BF92009.2030803@gmail.com> <20100620045258.GA1083@math.berkeley.edu> <4C285D14.9040808@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C285D14.9040808@gmail.com> User-Agent: Mutt/1.4.2.1i X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: Vendor power-on button X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 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: Sat, 17 Jul 2010 00:37:44 -0000 On Mon, Jun 28, 2010 at 10:28:04AM +0200, Vladimir '?-coder/phcoder' Serbinenko wrote: > On 06/20/2010 06:52 AM, Paul Vojta wrote: > > On Sun, May 23, 2010 at 02:31:05PM +0200, Vladimir '??-coder/phcoder' Serbinenko wrote: > > > >> Hello, all. I've just merged vendor power-on button support into > >> mainline. Here is extract from manual: > >> > > [snip] > > > > > >> If you have a laptop which has a similar feature could you figure your > >> address and contribute? > >> > > I have a Dell XPS M1330, and GRUB_BUTTON_CMOS_ADDRESS=85:3 works also for me. > > > > However, I do have one question. > > > > I have it set up now to boot directly into Linux when I use the main power-on > > button, and I use the auxiliary button to get a boot menu, defaulting > > to Windows. But when I boot Windows using that button, it starts up > > a MediaDirect setup screen (in addition to regular Windows). Would it be > > possible to (optionally) clear the vendor power-on button bit in the > > cmos before booting? > > > Please try the attached patch. And add: > GRUB_BUTTON_CMOS_CLEAN=yes That didn't help (and, noticing a typo in your patch, neither did adding GRUB_BUTTON_CMOS_CLEAN=prettyplease). I don't know how Windows decides to start up Media Direct, but I think the best way to solve my problem is to replace the file MDirect.exe with something innocuous. Anyway, thanks for trying. --Paul Vojta, vojta@math.berkeley.edu