From nobody@FreeBSD.org  Tue Jun 27 11:43:00 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 70E9016A403
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Jun 2006 11:43:00 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3B7FF43D55
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Jun 2006 11:43:00 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k5RBgxnR034247
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 27 Jun 2006 11:42:59 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k5RBgxPn034246;
	Tue, 27 Jun 2006 11:42:59 GMT
	(envelope-from nobody)
Message-Id: <200606271142.k5RBgxPn034246@www.freebsd.org>
Date: Tue, 27 Jun 2006 11:42:59 GMT
From: Dmitry Kazarov <kazarov@mcm.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: while using USB keyboard default params of atkbd and kbdmux lead to long delays on changes of keyboard state
X-Send-Pr-Version: www-2.3

>Number:         99538
>Category:       kern
>Synopsis:       [keyboard] [atkbdc] 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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 27 11:50:17 GMT 2006
>Closed-Date:    Tue Nov 13 20:51:36 UTC 2012
>Last-Modified:  Tue Nov 13 20:51:36 UTC 2012
>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@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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-usb 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Jun 27 16:18:23 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99538 
State-Changed-From-To: open->feedback 
State-Changed-By: ru 
State-Changed-When: Wed Oct 25 19:53:15 UTC 2006 
State-Changed-Why:  
Is this still an issue with recnt RELENG_6? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99538 
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Thu Jan 11 17:13:55 UTC 2007 
State-Changed-Why:  
From misfiled PR usb/107825: 

Date: Thu, 11 Jan 2007 15:39:50 +0300 
From: =?koi8-r?Q?=E4=CD=C9=D4=D2=C9=CA_=EB=C1=DA=C1=D2=CF=D7?= <kazarov@list.ru> 

Problem still exists 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99538 
Responsible-Changed-From-To: freebsd-usb->freebsd-bugs 
Responsible-Changed-By: arundel 
Responsible-Changed-When: Thu Aug 26 11:13:00 UTC 2010 
Responsible-Changed-Why:  
Problem doesn't sound usb, but atkbdc related. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99538 
State-Changed-From-To: open->feedback 
State-Changed-By: jh 
State-Changed-When: Fri Nov 11 19:37:21 UTC 2011 
State-Changed-Why:  
Can you still reproduce this on recent FreeBSD versions? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99538 
State-Changed-From-To: feedback->closed 
State-Changed-By: eadler 
State-Changed-When: Tue Nov 13 20:51:35 UTC 2012 
State-Changed-Why:  
Feedback timeout. Please email me and I will reopen if needed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=99538 
>Unformatted:
