From owner-freebsd-usb@FreeBSD.ORG Thu Jan 31 14:22:26 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D7240BF8; Thu, 31 Jan 2013 14:22:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.c2i.net [212.247.155.2]) by mx1.freebsd.org (Postfix) with ESMTP id 28F0E9E4; Thu, 31 Jan 2013 14:22:25 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.213.204] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe09.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 199507946; Thu, 31 Jan 2013 15:22:23 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards Date: Thu, 31 Jan 2013 15:23:34 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-STABLE; KDE/4.8.4; amd64; ; ) References: <201301311403.r0VE33ng015068@red.freebsd.org> In-Reply-To: <201301311403.r0VE33ng015068@red.freebsd.org> X-Face: ?p&W)c(+80hU; '{.$5K+zq{oC6y| /D'an*6mw>j'f:eBsex\Gi, Cc: Norbert Koch , freebsd-gnats-submit@freebsd.org 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:22:27 -0000 On Thursday 31 January 2013 15:03:03 Norbert Koch wrote: > >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. Hi, Is this with or without X11? Can you try 9-stable? --HPS