atkbd: changing flags at boot time
Sean Winn
sean at gothic.net.au
Mon Jun 27 18:23:45 GMT 2005
On 28/06/2005, at 2:16 AM, Freddie Cash wrote:
> On June 27, 2005 05:52 am, Joao Paulo Marques Mattos wrote:
>> Brian Candler wrote:
>>> [This is with FreeBSD 4.11-RELEASE]
>
>> set in /boot/device.hints
>> hint.atkbd.0.flags="0x0"
>
> FreeBSD 4.x supports device.hints? I thought that was a 5.x feature.
>
>>> So I tried putting
>>> hint.atkbd.0.flags="0x00"
>>> in /boot/loader.conf, but that didn't make any difference.
>
> Change the flags parameter in the kernel config file, and recompile the
> kernel.
>
>>> Does this mean that it's impossible to clear this flag without
>>> recompiling the kernel? If so, is there a reason for this?
>
> From what I know of 4.x, the only way to change device flags is to
> recompile the kernel. 5.x has the handy device.hints file and you can
> set
> hints via /boot/loader.conf (preferred as device.hints is overwritten
> during installworld).
>
Not quite.
from /boot/loader.conf:
userconfig_script_load="YES"
from /boot/kernel.conf:
flags atkbd0 0
quit
Or you can use "boot -c" at the loader prompt, and use the
configuration utility directly, but after that you'll need to use kget
to save it permanently
> --
> Freddie Cash
> fcash at ocis.net
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to
> "freebsd-stable-unsubscribe at freebsd.org"
>
>
More information about the freebsd-stable
mailing list