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

Maksim Yevmenkin maksim.yevmenkin at gmail.com
Thu Apr 16 16:19:35 UTC 2009


On Thu, Apr 16, 2009 at 5:18 AM, Fabian Keil
<freebsd-listen at fabiankeil.de> wrote:
> 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.

thanks for trying it out guys!

anyone else?

i plan to commit it at the end of the day today, provided, of course,
i do not hear anything bad.

thanks,
max


More information about the freebsd-current mailing list