kern/99538: while using USB keyboard default params of atkbd and kbdmux lead to long delays on changes of keyboard state

Dmitry Kazarov kazarov at mcm.ru
Tue Jun 27 11:50:26 UTC 2006


>Number:         99538
>Category:       kern
>Synopsis:       while using USB keyboard default params of atkbd and kbdmux lead to long delays on changes of keyboard state
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 27 11:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Kazarov
>Release:        6.1-STABLE
>Organization:
Multicom Ltd, Moscow
>Environment:
FreeBSD kazarov.cds.ru 6.1-STABLE FreeBSD 6.1-STABLE #1: Tue Jun 27 12:44:34 MSD 2006     root at kazarov.cds.ru:/var/tmp/obj/usr/src/sys/CE  i386
>Description:
I use an USB keyboard only.
When I press CapsLock there is delay about second. It's dramatically decrease speed of typing since I use CapsLock quite often - it's configured as a switch between Cyrillic and Latin keyboard layouts. Also the same delay occures on switching between virtual consoles.

There is no delay when AT keyboard is attached regardless which keyboard is used.

The reason of this problem is kbdmux in conjunction with atkbdc driver. On changes in the state of virtual keyboard the kbdmux tryies to set state of absent AT keyboard. Since no keyboard is attached atkbd driver waits until timeout.
>How-To-Repeat:
Attach USB keyboard, detach AT keyboard and switch between virtual consoles (Alt-F1, Alt-F2).
>Fix:
If no AT keyboard is used at all the simplest workaround is to disable atkbd by adding next line to /boot/device.hints
hint.atkbd.0.flags="1"

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list