From owner-freebsd-current@FreeBSD.ORG Wed Dec 22 20:08:45 2004 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 2449116A4CE for ; Wed, 22 Dec 2004 20:08:45 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id E853643D1F for ; Wed, 22 Dec 2004 20:08:44 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id iBMK96CV024503; Wed, 22 Dec 2004 12:09:06 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id iBMK96Ea024501; Wed, 22 Dec 2004 12:09:06 -0800 Date: Wed, 22 Dec 2004 12:09:06 -0800 From: Brooks Davis To: Stefan Cars Message-ID: <20041222200906.GA24094@odin.ac.hmc.edu> References: <41C9CFD7.4020303@snowfall.se> <20041222200255.GB15881@odin.ac.hmc.edu> <41C9D35C.1090408@snowfall.se> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <41C9D35C.1090408@snowfall.se> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu cc: freebsd-current@freebsd.org Subject: Re: Keyboard not working Dell PE 1850 and DRAC cards.. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Dec 2004 20:08:45 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 22, 2004 at 09:04:44PM +0100, Stefan Cars wrote: > Hi! >=20 > Thanks for the info, where can I find more information on how to do that= =20 > ? Could you provide an example of how the devd.conf (or what files=20 > needed to be changed) would look ? The devd.conf changes should be a fairly simple modification of the existing rules (see "When a USB keyboard arrives") in the file. Mostly changing 1 to 2 and 0 to 1. You'll want to set the rc.conf variable "keyboard" to /dev/kdb1 so it uses the DRAC keyboard by default. -- Brooks >=20 > Kind Regards, > Stefan Cars >=20 >=20 > Brooks Davis wrote: > >On Wed, Dec 22, 2004 at 08:49:43PM +0100, Stefan Cars wrote: > > > >>Hi! > >> > >>I have some trouble using keyboards (both PS/2 and/or USB) on our 15 ne= w=20 > >>PE 1850's. The installation goes fine (the PS/2 works, USB does not) an= d=20 > >>single user works OK (with PS/2), but normal boot does not work, it=20 > >>seems it attaches the keyboard to the DRAC cards (it identifies itself= =20 > >>as ukbd0). I found a post regarding this=20 > >>(http://lists.freebsd.org/pipermail/freebsd-current/2004-September/0388= 79.html).=20 > >> > >>My question is then, is there anyway I can make this work so I can use = a=20 > >>regular keyboard (PS/2 or USB) and the DRAC, maybe by fixing so when i= =20 > >>attach a USB it disconnectes the DRAC and attaches the USB ?. Disable= =20 > >>the keyboard for the DRAC is something I don't want to do since the=20 > >>reason we bought DRACS to them is the possibility to control them=20 > >>remote, I have some pressure of people wanting us to run RedHat on them= =20 > >>and I don't want to be forced to do that becuase of this stupid little= =20 > >>thing. > > > > > >The correct behavior is currently unobtainable, but you may be able to > >get a sufficent approximation working. At the moment, you'll only be > >able to use the PS/2 keyboard in single user mode because syscons is > >going to always pick it and you can't switch unless you have a keyboard > >or are in multi-user mode. However, in multiuser you can change > >devd.conf to have a different behavior. It would be fairly simple to > >make /dev/kbd1 the primary keyboard and have the appearence of ukbd1 > >cause /dev/kdb2 to become and primary. > > > >Hopefully we'll have a real solution soon, but I haven't found the time > >to work on it as much as I'd like. > > > >-- Brooks > > --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBydRhXY6L6fI4GtQRAiObAKDE542WFw0H3qN2yKIPzp2gfImn1ACgu5nZ oft6fTBqBNJuSXjsVU85AfQ= =8CEz -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi--