Review/Test: Pseudo-device unit number management patch
Melvyn Sopacua
freebsd-current at webteckies.org
Fri Feb 20 10:19:43 PST 2004
On Wednesday 18 February 2004 14:32, M. Warner Losh wrote:
> In message: <39796.1077013415 at critter.freebsd.dk>
>
> "Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
> : Current our handing is that if it disappears, it's gone, if it comes
> : back it's probably a new one anyway.
>
> Yes. If the hardware goes away and comes back, it can be very
> difficult to know if you have the same hardware or different
> hardware.
For something as critical as a keyboard, would it be possible:
- to keep the current layer in tact, but fool the layer that the device is
always there?
- store the last used keyboard somewhere and if no keyboard is found on boot,
assume the last one used and start emulating it's existence
All this of course, controllable by a kernel / bootloader / sysctl option, so
that environments where keyboard switching is normal do not suffer.
--
Melvyn
=======================================================
FreeBSD sarevok.idg.nl 5.2-CURRENT FreeBSD 5.2-CURRENT #2: Mon Feb 16 19:59:52
CET 2004
root at sarevok.webteckies.org:/usr/obj/usr/src/sys/SAREVOK_NOAPM_NODEBUG i386
=======================================================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040220/2217e352/attachment.bin
More information about the freebsd-current
mailing list