Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Mar 2004 10:58:08 +0300
From:      den <moreau@myrealbox.com>
To:        freebsd-questions@freebsd.org
Subject:   Keyboard enabling in 5.X
Message-ID:  <4046E190.7040500@myrealbox.com>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4046E190.7040500>