From marcus@shumai.marcuscom.com Thu Oct 28 01:03:36 2004 Return-Path: Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3DB416A4CE for ; Thu, 28 Oct 2004 01:03:36 +0000 (GMT) Received: from shumai.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 59F4F43D1F for ; Thu, 28 Oct 2004 01:03:36 +0000 (GMT) (envelope-from marcus@shumai.marcuscom.com) Received: from shumai.marcuscom.com (localhost.marcuscom.com [127.0.0.1]) by shumai.marcuscom.com (8.13.1/8.13.1) with ESMTP id i9S13Qoq014715 for ; Wed, 27 Oct 2004 21:03:26 -0400 (EDT) (envelope-from marcus@shumai.marcuscom.com) Received: (from marcus@localhost) by shumai.marcuscom.com (8.13.1/8.13.1/Submit) id i9S13Qbn014714; Wed, 27 Oct 2004 21:03:26 -0400 (EDT) (envelope-from marcus) Message-Id: <200410280103.i9S13Qbn014714@shumai.marcuscom.com> Date: Wed, 27 Oct 2004 21:03:26 -0400 (EDT) From: Joe Marcus Clarke Reply-To: Joe Marcus Clarke To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: [PATCH] Add USB keyboard option to Beastie menu X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 73223 >Category: misc >Synopsis: [PATCH] Add USB keyboard option to Beastie menu >Confidential: no >Severity: non-critical >Priority: high >Responsible: brooks >State: closed >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 28 01:10:22 GMT 2004 >Closed-Date: Tue Apr 05 20:13:09 GMT 2005 >Last-Modified: Tue Apr 05 20:13:09 GMT 2005 >Originator: Joe Marcus Clarke >Release: FreeBSD 5.3-STABLE i386 >Organization: FreeBSD, Inc. >Environment: System: FreeBSD shumai.marcuscom.com 5.3-STABLE FreeBSD 5.3-STABLE #22: Sun Oct 24 17:53:00 EDT 2004 marcus@shumai.marcuscom.com:/usr/obj/usr/src/sys/SHUMAI i386 >Description: FreeBSD currently does not support installations on a machine without PS/2 ports. That is, if you try to boot 5.3-RC1 on a machine with only USB keyboard support, the keyboard will stop working once the kernel boots. This is due to an over-zealous atkbd driver. >How-To-Repeat: Try to use a USB keyboard to install FreeBSD 5.3-RC1 (or 4.10 for that matter) >Fix: On obrien's request (or challenge), attached is a patch that adds a USB keyboard option to the Beastie boot menu. Selecting this option boots with the hint.atkbd.0.flags set to 0x1. This enables the USB keyboard in sysinstall. It would be good to get this into 5.3, as the machine onto which I installed FreeBSD was a Dell OptiPlex GX280, and there are other "mainstream" computers out there without PS/2 ports. The idea to set this flag was given by Vladimir Grebenschikov and Johan Larsson . --- beastie.4th.diff begins here --- --- 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" 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 --- beastie.4th.diff ends here --- >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-bugs->brooks Responsible-Changed-By: brooks Responsible-Changed-When: Fri Oct 29 08:51:06 GMT 2004 Responsible-Changed-Why: I'll take this and work with re@ on it. http://www.freebsd.org/cgi/query-pr.cgi?pr=73223 From: Matteo Riondato To: freebsd-gnats-submit@freebsd.org Cc: Joe Marcus Clarke Subject: Re: misc/73223 [PATCH] Add USB keyboard option to Beastie menu Date: Tue, 5 Apr 2005 21:38:44 +0200 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This was MFCed on 26th March, so the PR can be closed. Best Regards --=20 Rionda aka Matteo Riondato Disinformato per default G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org) --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCUulE2Mp4pR7Fa+wRAkKrAKC+UmZkdixhD9gg6EMcdY2160B1uQCbBY/2 eUS516wfKDuCY1TWraZyU28= =CQVt -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW-- State-Changed-From-To: open->closed State-Changed-By: brooks State-Changed-When: Tue Apr 5 20:12:09 GMT 2005 State-Changed-Why: This was MFC'd on March 26th. Thanks to Matteo Riondato for the report. http://www.freebsd.org/cgi/query-pr.cgi?pr=73223 >Unformatted: