Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2004 13:59:49 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        freebsd-current@freebsd.org
Cc:        Johan Larsson <johan@ludd.luth.se>
Subject:   Re: Installing on a machine with no PS/2 ports (USB only)
Message-ID:  <417FE215.30501@marcuscom.com>
In-Reply-To: <20041027173924.GB74567@dragon.nuxi.com>
References:  <1098850867.51833.14.camel@shumai.marcuscom.com> <1098862658.1062.3.camel@localhost> <20041027110528.T91011@treo.operax.com> <20041027173924.GB74567@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------090601080906000800040709
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David O'Brien wrote:
| On Wed, Oct 27, 2004 at 11:06:04AM +0200, Johan Larsson wrote:
|
|>We installed RC1 on a GX280 recently, and the only thing we had to do to
|>get the usb keyboard working was to set the following in the loader:
|>
|>set hint.atkbd.0.flags="0x1"
|
|
| This sounds like something that could be added to the Beastie boot menu.
| Any one want to add it and send a patch?
|

Here's an untested patch.  I'll be able to test this tonight.

Joe

- --
PGP Key : http://www.marcuscom.com/pgp.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (Darwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBf+IVb2iPiv4Uz4cRAvulAJ9ErMh1ytA64XszYkHFNvXCIqlMoACdFbWF
Fmy3+cMh+4BAV/IkNzhF/E4=
=pocU
-----END PGP SIGNATURE-----

--------------090601080906000800040709
Content-Type: text/x-patch; x-mac-type="0"; x-mac-creator="0";
 name="beastie.4th.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="beastie.4th.diff"

--- beastie.4th.orig	Wed Oct 27 13:57:48 2004
+++ beastie.4th	Wed Oct 27 13:57:43 2004
@@ -40,6 +40,7 @@
 
 variable bootkey
 variable bootacpikey
+variable bootusbkey
 variable bootsafekey
 variable bootverbosekey
 variable bootsinglekey
@@ -155,6 +156,7 @@
 	else
 		-2 bootacpikey !
 	then
+	printmenuitem ."  Boot FreeBSD with USB keyboard support" bootusbkey !
 	printmenuitem ."  Boot FreeBSD in Safe Mode" bootsafekey !
 	printmenuitem ."  Boot FreeBSD in single user mode" bootsinglekey !
 	printmenuitem ."  Boot FreeBSD with verbose logging" bootverbosekey !
@@ -221,6 +223,10 @@
 				s" YES" s" acpi_load" setenv
 				s" 0" s" hint.acpi.0.disabled" setenv
 			then
+			0 boot
+		then
+		dup bootusbkey @ = if
+			s" 0x1" s" hint.atkbd.0.flags" setenv
 			0 boot
 		then
 		dup bootsafekey @ = if

--------------090601080906000800040709--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?417FE215.30501>