From owner-freebsd-current@FreeBSD.ORG Fri Mar 25 19:41:13 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DA3016A4CE for ; Fri, 25 Mar 2005 19:41:13 +0000 (GMT) Received: from dragon.NUXI.org (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A9BF43D2F for ; Fri, 25 Mar 2005 19:41:13 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.NUXI.org (obrien@localhost [127.0.0.1]) by dragon.NUXI.org (8.13.3/8.13.3) with ESMTP id j2PJfCMb062616 for ; Fri, 25 Mar 2005 11:41:12 -0800 (PST) (envelope-from obrien@dragon.NUXI.org) Received: (from obrien@localhost) by dragon.NUXI.org (8.13.3/8.13.1/Submit) id j2PJfCKR062615 for current@freebsd.org; Fri, 25 Mar 2005 11:41:12 -0800 (PST) (envelope-from obrien) Date: Fri, 25 Mar 2005 11:41:12 -0800 From: "David O'Brien" To: current@freebsd.org Message-ID: <20050325194112.GA62568@dragon.NUXI.org> Mail-Followup-To: freebsd-current@freebsd.org, current@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 User-Agent: Mutt/1.5.9i Subject: [PATCH] change beastie menu to support booting on R3000 laptop X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-current@freebsd.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Mar 2005 19:41:13 -0000 I'd like to change the beastie.4th menu to have a "safe" keyboard option instead of a USB specific one. This changes hint.atkbd.0.flags from 0x1 to 0x9. I'm open to a better term than "safe keyboard" as it is too close to the full-fledged "safe mode". Does anyone know if this will cause any system problems using a USB keyboard? -- -- David (obrien@FreeBSD.org) Index: beastie.4th =================================================================== RCS file: /home/ncvs/src/sys/boot/forth/beastie.4th,v retrieving revision 1.10 diff -u -r1.10 beastie.4th --- beastie.4th 1 Dec 2004 07:17:57 -0000 1.10 +++ beastie.4th 25 Mar 2005 19:38:17 -0000 @@ -40,7 +40,7 @@ variable bootkey variable bootacpikey -variable bootusbkey +variable bootsafekbkey variable bootsafekey variable bootverbosekey variable bootsinglekey @@ -165,9 +165,9 @@ printmenuitem ." Escape to loader prompt" escapekey ! s" arch-i386" environment? if drop - printmenuitem ." Boot FreeBSD with USB keyboard" bootusbkey ! + printmenuitem ." Boot FreeBSD with Safe keyboard (includes USB)" bootsafekbkey ! else - -2 bootusbkey ! + -2 bootsafekbkey ! then printmenuitem ." Reboot" rebootkey ! menuX @ 20 at-xy @@ -234,8 +234,8 @@ then 0 boot then - dup bootusbkey @ = if - s" 0x1" s" hint.atkbd.0.flags" setenv + dup bootsafekbkey @ = if + s" 0x9" s" hint.atkbd.0.flags" setenv 0 boot then dup bootsafekey @ = if