From owner-freebsd-stable Thu Jan 17 9:18:29 2002 Delivered-To: freebsd-stable@freebsd.org Received: from tesla.foo.is (tesla.reverse-bias.org [217.151.166.96]) by hub.freebsd.org (Postfix) with ESMTP id 895D237B404 for ; Thu, 17 Jan 2002 09:18:25 -0800 (PST) Received: from germanium (germanium.reverse-bias.org [192.168.1.1]) by tesla.foo.is (Postfix) with SMTP id DD46A274C; Thu, 17 Jan 2002 17:18:18 +0000 (GMT) Content-Type: text/plain; charset="iso-8859-1" From: Baldur Gislason To: "Michael R. Wayne" Subject: Re: Force keyboard detection flag? Date: Thu, 17 Jan 2002 17:21:14 +0000 X-Mailer: KMail [version 1.2] References: <20020117120511.W73347@staff.msen.com> In-Reply-To: <20020117120511.W73347@staff.msen.com> Cc: freebsd-stable@freebsd.org MIME-Version: 1.0 Message-Id: <0201171721140C.03869@germanium> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Have you never compiled your own kernel? Here's a paste from LINT: # `flags' for atkbd: # 0x01 Force detection of keyboard, else we always assume a keyboard # 0x02 Don't reset keyboard, useful for some newer ThinkPads # 0x04 Old-style (XT) keyboard support, useful for older ThinkPads And GENERIC has: device atkbd0 at atkbdc? irq 1 flags 0x1 Remove the 0x1 flag and recompile, also a look at the boot(8) manpage: -P probe the keyboard. If no keyboard is found, the -D and -h options are automatically set. Remove the -P from /boot.config Baldur On Thursday 17 January 2002 17:05, you wrote: > I started to look through the kernel code for keyboard detection > with plans toward having a sysctl that forces the keyboard at run > time, rather than kernel compile. But I got sidetracked. > > Related problems come up so often that I am convinced that such a > fix is required. Me finding time to implement is a problem. > > /\/\ \/\/ > > On Tue, Jan 15, 2002 at 06:21:30PM +1030, Daniel O'Connor wrote: > > I was wondering if there is a flag to force the kernel to detect a PS/2 > > keyboard even if it doesn't detect one. > > > > The usual answer is 'set atkbdc flags to 0x0' but you can't do that if > > you are installing for the first time - when you boot -c the config > > prompt is printed in an infinite loop :( > > > > The newer keyboards I have (Mitsubishi Diamond Touch) do not get detected > > by FreeBSD so every time I need to install from a base CD I have to dig > > up my detectable keyboard and hot swap it after the detection phase. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message