From owner-freebsd-usb@FreeBSD.ORG Wed Jan 30 12:41:47 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D7BA8426 for ; Wed, 30 Jan 2013 12:41:47 +0000 (UTC) (envelope-from gperez@entel.upc.edu) Received: from violet.upc.es (violet.upc.es [147.83.2.51]) by mx1.freebsd.org (Postfix) with ESMTP id 45455745 for ; Wed, 30 Jan 2013 12:41:46 +0000 (UTC) Received: from ackerman2.upc.es (ackerman2.upc.es [147.83.2.244]) by violet.upc.es (8.14.1/8.13.1) with ESMTP id r0UCfjwY031236 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Jan 2013 13:41:45 +0100 Received: from [10.0.2.151] ([147.83.40.183]) (authenticated bits=0) by ackerman2.upc.es (8.14.4/8.14.4) with ESMTP id r0UCficQ017405 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 30 Jan 2013 13:41:45 +0100 Message-ID: <51091508.5060906@entel.upc.edu> Date: Wed, 30 Jan 2013 13:41:44 +0100 From: =?ISO-8859-1?Q?Gustau_P=E9rez_i_Querol?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130112 Thunderbird/17.0.2 MIME-Version: 1.0 To: Yuri Subject: Re: Plugging out Microsoft Nano Tranceiver (USB mouse) causes PS2 keyboard to cease functioning References: <50F48D49.1060406@rawbw.com> <510900A1.5090208@rawbw.com> In-Reply-To: <510900A1.5090208@rawbw.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.70 on 147.83.2.244 X-Mail-Scanned: Criba 2.0 + Clamd X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (violet.upc.es [147.83.2.51]); Wed, 30 Jan 2013 13:41:45 +0100 (CET) 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: Wed, 30 Jan 2013 12:41:47 -0000 Al 30/01/2013 12:14, En/na Yuri ha escrit: > I found the cause of this problem. > > Due to the bug in Xorg it unloads the keyboard driver when it gets > signal from hald that keyboard is disconnected, even though there is > still another keyboard that is hooked up to kbdmux. > Looks like Xorg code assumes that there can only be one keyboard and > isn't aware of kbdmux. > > This was when hald is enabled (by default), and ServerFlags section in > xorg.conf looked like this: > Section "ServerFlags" > Option "AllowEmptyInput" "yes" > EndSection > > When I changed this section to this: > Section "ServerFlags" > Option "AutoAddDevices" "False" > EndSection > keyboard doesn't get affected, but mouse disappears for good when > unplugged and plugged back, since (I guess) Xorg ignores ums0 device > errors. > > I filed the following PRs with Xorg: > https://bugs.freedesktop.org/show_bug.cgi?id=60069 > https://bugs.freedesktop.org/show_bug.cgi?id=60070 > > Yuri > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" Take a look at uhidd. I had the same problem a few time ago and because of it I switched to it. Perhaps will do fine for your setup. Regards, Gustau -- Salut i força, Gustau --------------------------------------------------------------------------- Prou top-posting : http://ca.wikipedia.org/wiki/Top-posting Stop top-posting : http://en.wikipedia.org/wiki/Posting_style O O O Gustau Pérez i Querol O O O Unitat de Gestió dels departaments O O O Matemàtica Aplicada IV i Enginyeria Telemàtica Universitat Politècnica de Catalunya Edifici C3 - Despatx S101-B UPC Campus Nord UPC C/ Jordi Girona, 1-3 08034 - Barcelona