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

Tobias Grosser grosser at fim.uni-passau.de
Thu Apr 16 03:11:32 UTC 2009


On Wed, 2009-04-15 at 17:17 -0700, Maksim Yevmenkin wrote:
> hello,
> 
> 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.

Hey,

thanks a lot. This makes geli work with kbdmux loaded on my dual core
system. Before, I had to remove kbdmux to be able to mount my discs
during boot, as there where a lot of duplicate characters.

Tobi



More information about the freebsd-current mailing list