From owner-freebsd-x11@FreeBSD.ORG Thu Mar 19 01:03:51 2009 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D44E21065676 for ; Thu, 19 Mar 2009 01:03:51 +0000 (UTC) (envelope-from scuppers@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.30]) by mx1.freebsd.org (Postfix) with ESMTP id 8F2108FC0A for ; Thu, 19 Mar 2009 01:03:51 +0000 (UTC) (envelope-from scuppers@gmail.com) Received: by yw-out-2324.google.com with SMTP id 5so218898ywh.13 for ; Wed, 18 Mar 2009 18:03:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=ZtTblkiDbV5czGMnzhCCN/iQvaxeFeaIxjkRSM9xsbQ=; b=lQeNAP3LnUetCZSc812yUV8pGacLBKkMN+I0ghcQLYy8yYEklhhka6/QxBHjHFh0SJ aWDmAVIhNlmTtqtPtqjWlGp/UarA5a8OIQRYiUgliV5hDGERT44ixEB+EtYAm8D7f+jG FXUk9ok8deOjN6KNjMxr5AG8QcYGMP0BM79U8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pIjkRj/OKsOQFF3FjIKlHooxIC6IuySwfzQ+48teOCpRjt1OKuwNlXzy5lSgdijWl/ osiD6cikVieNhwwWOnRrk93t0daEU0QivPrKOcaFB7qVqNIvoUI9BV5oBg2/vbO/uuww j93u4A47AOdWuNRtOPflXURxIrGc0M0CaaABY= MIME-Version: 1.0 Received: by 10.231.15.74 with SMTP id j10mr643733iba.48.1237422992217; Wed, 18 Mar 2009 17:36:32 -0700 (PDT) Date: Wed, 18 Mar 2009 20:36:32 -0400 Message-ID: From: Scott Spare To: freebsd-x11@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: X11 mouse driver and USB mouse disconnection X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2009 01:03:52 -0000 Under FreeBSD 7.1 STABLE and XOrg, it looks like there's trouble with the handling of USB mouse disconnections (e.g. when a KVM switch is used.) These problems only occur when Xorg / x11 is running and selected via the virtual TTY (i.e. ALT-F9). Expected behavior: the mouse resumes working even if physically disconnected. Actual behavior: the mouse stops working if disconnected and reconnected. Remedy / Workaround: switch to one of the console-based virtual TTYs, then switch back to the virtual TTY that runs XOrg. Other information: -This problem occurs regardless of whether moused is running. -This problem was tested with a Logitech Mx518 optical mouse, and XOrg 7_3.2 -Virtual TTY0 (ALT-F1) displays the following each time the mouse is disconnected and reconnected: ums0: at ubub 1 port 4 (addr5) disconnected ums0: detatched. -Upon reconnection, it displays the following: ums0: on uhub 1 ums0: 8 buttons and Z dir How to replicate: Presumably, disconnect and reconnect any USB mouse while X11 is running. The mouse will stop responding. Alternatively: use a Logitech Mx518 mouse with XOrg 7_3.2. Would wiring down the mouse in device.hints have any effect? Is this a lower level issue? Can anyone comment?? Best regards, Scott