Date: Tue, 28 Jun 2005 04:23:39 +1000 From: Sean Winn <sean@gothic.net.au> To: Freddie Cash <fcash@ocis.net> Cc: freebsd-stable@freebsd.org Subject: Re: atkbd: changing flags at boot time Message-ID: <84dd92ee86f786a09379768d54a6a819@gothic.net.au> In-Reply-To: <200506270916.28125.fcash@ocis.net> References: <200506271338.53836.B.Candler@pobox.com> <001c01c57b17$03933350$0702a8c0@vstinm12> <200506270916.28125.fcash@ocis.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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@ocis.net > _______________________________________________ > 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" > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?84dd92ee86f786a09379768d54a6a819>