From owner-freebsd-stable@FreeBSD.ORG Sun Apr 4 00:38:15 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AEB0416A4CE for ; Sun, 4 Apr 2004 00:38:15 -0800 (PST) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.Uni-Dortmund.DE [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E901B43D48 for ; Sun, 4 Apr 2004 00:38:14 -0800 (PST) (envelope-from ma@dt.e-technik.uni-dortmund.de) Received: from m2a2.dyndns.org (krusty.dt.e-technik.uni-dortmund.de [129.217.163.1])CA0AC2729A for ; Sun, 4 Apr 2004 10:38:13 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id 0A631A9491 for ; Sun, 4 Apr 2004 10:38:12 +0200 (CEST) Received: from merlin.emma.line.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09285-04-2 for ; Sun, 4 Apr 2004 10:38:09 +0200 (CEST) Received: by merlin.emma.line.org (Postfix, from userid 500) id 361FBA0C3F; Sun, 4 Apr 2004 10:38:09 +0200 (CEST) To: freebsd-stable@freebsd.org In-Reply-To: <20040401213559.GZ26131@elvis.mu.org> (Alfred Perlstein's message of "Thu, 1 Apr 2004 13:35:59 -0800") References: <20040401213559.GZ26131@elvis.mu.org> From: Matthias Andree Date: Sun, 04 Apr 2004 10:38:09 +0200 Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at m2a2.dyndns.org Subject: Re: who broke keyboards again? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2004 08:38:15 -0000 Alfred Perlstein writes: > I have a client that has several dell machines, when he boots without > a keyboard he gets: > > atkbdc0: at port 0x60,0x64 on isa0 > > but no: > atkbd0: flags 0x1 irq 1 on atkbdc0 > kbd0 at atkbd0 > > This used to work, then was broken by someone trying to "do the right > thing". > > We need the keyboards to be hot swappable. I recommend that the next > dork that breaks this should have to reenact the lye scene from Fight > Club. > > No other OS has this problem. Also, breaking this in -stable is > super lame, c'mon can't we do better? In this context, detection of Fujitsu-Siemens-Computers KBPC S2 keyboards (looks like normal PS/2 stuff) has also been broken on -CURRENT somewhen after 5.1. If some of such breakage has propagated into -STABLE (via MFC), then the person who did the original change ought to sit down and clear things up. However, I have been unable to identify a "suspicious" commit. If however you need to boot without keyboard and plug one in later, then you cannot go with the default flags of 0x1 for this will disable the _driver_ when no keyboard is found at boot time. Change it to 0x0, 0x2 or 0x3, whichever works well for you. I wonder what this whole mess with the keyboard detection/nondetection and flags=0x1 is about. 0x0 should be the default, if someone knows he won't ever need the driver (headless), he can remove it from the kernel. -- Matthias Andree Encrypt your mail: my GnuPG key ID is 0x052E7D95