[patch] prevent atkbd(4) from calling callback in polled mode

Fabian Keil freebsd-listen at fabiankeil.de
Thu Apr 16 12:19:09 UTC 2009


Maksim Yevmenkin <maksim.yevmenkin at gmail.com> wrote:

> would anyone object to the small attached atkbd(4) patch? the idea is
> to basically prevent atkbd(4) interrupt handler from calling keyboard
> callback function when polled mode is enabled.
> 
> i would really like to hear from people who is using kbdmux(4) on smp
> systems and having problems with duplicated/missing characters while
> using keyboard at mountroot, geli, etc. prompts. basically, when low
> level console input functions (cngetc(), gets(), etc.) are used _and_
> interrupts are enabled.

Thanks. This version of your patch works for me, too.

Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090416/e924cc58/signature.pgp


More information about the freebsd-current mailing list