From owner-freebsd-usb@FreeBSD.ORG Thu Jan 31 19:07:49 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 B1FE76BD for ; Thu, 31 Jan 2013 19:07:49 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 9AD14B1C for ; Thu, 31 Jan 2013 19:07:49 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id r0VJ7Z19064293; Thu, 31 Jan 2013 11:07:36 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <510AC0F7.3090605@rawbw.com> Date: Thu, 31 Jan 2013 11:07:35 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130129 Thunderbird/17.0.2 MIME-Version: 1.0 To: Norbert Koch Subject: Re: usb/175731: detaching USB keyboard freezes other USB keyboards References: <201301311620.r0VGK1u0061871@freefall.freebsd.org> In-Reply-To: <201301311620.r0VGK1u0061871@freefall.freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@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 19:07:49 -0000 On 01/31/2013 08:20, Norbert Koch wrote: > It seems to be an X11 only problem. > My xorg.conf is auto-generated. Hald is running. > In xorg.conf I see Driver "kbd". > Does X11 bypass kbdmux? > This is the same problem I was seeing. Xorg assumes there is only one keyboard. When hald notifies xorg that some keyboard is detached, xorg unloads the keyboard driver. Even though xorg didn't open that particular device (normally kbdmux is the keyboard driver) You can see it in xorg.log See this PR https://bugs.freedesktop.org/show_bug.cgi?id=60069 If you disable hald in xorg.conf, you may experience another issue with disconnectable devices: https://bugs.freedesktop.org/show_bug.cgi?id=60070 Yuri