From owner-freebsd-usb@FreeBSD.ORG Thu Jan 31 14:10:01 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8AC8E921 for ; Thu, 31 Jan 2013 14:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 5975F972 for ; Thu, 31 Jan 2013 14:10:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0VEA149037373 for ; Thu, 31 Jan 2013 14:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0VEA1fl037372; Thu, 31 Jan 2013 14:10:01 GMT (envelope-from gnats) Resent-Date: Thu, 31 Jan 2013 14:10:01 GMT Resent-Message-Id: <201301311410.r0VEA1fl037372@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Norbert Koch Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EE000720 for ; Thu, 31 Jan 2013 14:03:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id CF66A924 for ; Thu, 31 Jan 2013 14:03:03 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0VE33xi015069 for ; Thu, 31 Jan 2013 14:03:03 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0VE33ng015068; Thu, 31 Jan 2013 14:03:03 GMT (envelope-from nobody) Message-Id: <201301311403.r0VE33ng015068@red.freebsd.org> Date: Thu, 31 Jan 2013 14:03:03 GMT From: Norbert Koch To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/175731: detaching USB keyboard freezes other USB keyboards X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Jan 2013 14:10:01 -0000 >Number: 175731 >Category: usb >Synopsis: detaching USB keyboard freezes other USB keyboards >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 31 14:10:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Norbert Koch >Release: 9.0 >Organization: >Environment: FreeBSD 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Thu Jan 24 16:31:49 CET 2013 root@entw-pr2.demig.intra:/usr/home/nk/src/kernel/src/sys/EMBEDDED_USBKBD_ONLY i386 >Description: My kernel is compiled without support for atkbd. I only use USB keyboards. Attaching is fine but when detaching, any of the keyboards - I tried up to three - the other keyboards freeze. If I attach the keyboard again the other keyboards unfreeze and work as before. The problem has something to do with devd. Detaching works without problems in single user mode or with devd not running. As long as dev does not run *during* detaching things seem to be ok too. Commenting out usb keyboard related entries in /etc/devd.conf or /etc/devd/usb.conf does not help. Commenting out syscons_setkeyboard in /etc/rc.d/syscons does not help either. >How-To-Repeat: Attach two USB keyboards. Detach any of them. The still connected keyboards freezes. Reconnect other keyboard. Both keyboards work. >Fix: >Release-Note: >Audit-Trail: >Unformatted: