Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2009 20:36:32 -0400
From:      Scott Spare <scuppers@gmail.com>
To:        freebsd-x11@freebsd.org
Subject:   X11 mouse driver and USB mouse disconnection
Message-ID:  <daaab7120903181736n6c9287e2j5bcbfe1e103bdc0c@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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: <Logitech USB-PS/2 Optical Mouse, Class 0/0, rev 2.00/22.00, addr5> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?daaab7120903181736n6c9287e2j5bcbfe1e103bdc0c>