atkbd: changing flags at boot time

Freddie Cash fcash at ocis.net
Mon Jun 27 16:16:42 GMT 2005


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).

-- 
Freddie Cash
fcash at ocis.net


More information about the freebsd-stable mailing list