From owner-freebsd-stable@FreeBSD.ORG Mon Jun 27 12:51:57 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org 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 56BBF16A41C for ; Mon, 27 Jun 2005 12:51:57 +0000 (GMT) (envelope-from jpmmattos@terra.com.br) Received: from loncoche.terra.com.br (loncoche.terra.com.br [200.154.55.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7C7F43D4C for ; Mon, 27 Jun 2005 12:51:56 +0000 (GMT) (envelope-from jpmmattos@terra.com.br) Received: from mubende.terra.com.br (mubende.terra.com.br [200.154.55.147]) by loncoche.terra.com.br (Postfix) with ESMTP id 3B9ADE794FB; Mon, 27 Jun 2005 09:51:55 -0300 (BRT) X-Terra-Karma: -2% X-Terra-Hash: a16e3478550f8da9451370c843b66f6e Received-SPF: pass (mubende.terra.com.br: domain of terra.com.br designates 200.154.55.147 as permitted sender) client-ip=200.154.55.147; envelope-from=jpmmattos@terra.com.br; helo=vstinm12; Received: from vstinm12 (sp_200_219_249_50.datacenter1.com.br [200.219.249.50]) (authenticated user jpmmattos) by mubende.terra.com.br (Postfix) with ESMTP id 044E52D0088; Mon, 27 Jun 2005 09:51:54 -0300 (BRT) Message-ID: <001c01c57b17$03933350$0702a8c0@vstinm12> From: "Joao Paulo Marques Mattos" To: "Brian Candler" , References: <200506271338.53836.B.Candler@pobox.com> Date: Mon, 27 Jun 2005 09:52:01 -0300 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.1830 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830 Cc: Subject: Re: atkbd: changing flags at boot time X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 12:51:57 -0000 set in /boot/device.hints hint.atkbd.0.flags="0x0" []´s JP-Ux ----- Original Message ----- From: "Brian Candler" To: Sent: Monday, June 27, 2005 9:38 AM Subject: atkbd: changing flags at boot time > [This is with FreeBSD 4.11-RELEASE] > > I would like to arrange that the ATA keyboard works even if the machine is > booted without a keyboard, but one is subsequently plugged in. My > understanding is that the default behaviour of probing for the keyboard is > set here in the kernel configuration: > > device atkbd0 at atkbdc? irq 1 flags 0x1 > ^^^ > # `flags' for atkbd: > # 0x01 Force detection of keyboard, else we always assume a > keyboard > > So I tried putting > hint.atkbd.0.flags="0x00" > in /boot/loader.conf, but that didn't make any difference. > > Looking at sys/dev/kbd/atkbd.c, I see: > > /* XXX: a kludge to obtain the device configuration flags */ > if (resource_int_value("atkbd", ATKBD_DEFAULT, "flags", &i) == 0) > flags |= i; > > Does this mean that it's impossible to clear this flag without recompiling > the > kernel? If so, is there a reason for this? > > TIA, > > Brian. > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > E-mail classificado pelo Identificador de Spam Inteligente Terra. > Para alterar a categoria classificada, visite > http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=jpmmattos&_l=1,1119875998.232013.1978.cagera.terra.com.br,4282,Des15,Des15 > > Esta mensagem foi verificada pelo E-mail Protegido Terra. > Scan engine: McAfee VirusScan / Atualizado em 24/06/2005 / Versão: > 4.4.00 - Dat 4521 > Proteja o seu e-mail Terra: http://mail.terra.com.br/ >