set in /boot/device.hints
hint.atkbd.0.flags="0x0"
[]?s
JP-Ux
----- Original Message -----
From: "Brian Candler" <B.Candler@pobox.com>
To: <freebsd-stable@freebsd.org>
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/
>