Keyboard enabling in 5.X

den moreau at myrealbox.com
Wed Mar 3 23:55:41 PST 2004


Hi,

I have a question about keyboard driver in FreeBSD 5.X.
I want to have a possibility to boot my box without keyboard and attach
keyboard after system already started.
In FreeBSD 4.X we may remove flags with values from kernel config line :

device atkbd0 at atkbdc? irq 1 flags 0x1

and after recompiling keyboard driver is always load when system started.
So there was possibility to attach keyboard to already loaded system.
In FreeBSD 5.X we have device.hints with

hint.atkbd.0.flags="0x1"

but removing this hint or setting it to
hint.atkbd.0.flags="0x0"
has no affect for loading keyboard driver on startup.
So after attach keyboard to box it is not work.

How can I enable such possibility in 5.X ?
I think that heart of the problem is devfs.
Devfs is not recognize keyboard at startup and so it don't create device 
in /dev.
And devfs is not recognize attached keyboard on already loaded system.
If so -  may somebody tell me how can I use devfs to enable keyboard 
driver ?

Thanks,
Denis.



More information about the freebsd-questions mailing list