Bug 60070 - Xorg ignores errors on the mouse device and loses the mouse when it is re-plugged (disabled HAL)
Summary: Xorg ignores errors on the mouse device and loses the mouse when it is re-plu...
Alias: None
Product: xorg
Classification: Unclassified
Component: Input/Mouse (show other bugs)
Version: 7.5 (2009.10)
Hardware: Other FreeBSD
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
Depends on:
Reported: 2013-01-30 11:12 UTC by Yuri
Modified: 2018-08-10 20:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Yuri 2013-01-30 11:12:27 UTC
When I run Xorg with the disabled HAL support and plug the mouse out and back in, mouse stops working. There are messages in log that HAL requests are ignored as per the option in Xorg.conf (this is correct). But there is no message that there is an error on the mouse device. And there is an error. When I run 'cat /dev/ums0' and unplug the mouse, I get an input/output error.

The mouse device reading errors should not be ignored by Xorg.

Once such error is detected, Xorg should have the fallback code that would keep attempting to reopen the mouse device after some reasonable timeout (for example 5 seconds).

The situation when the USB device is plugged out and in is usual within the domain of USB specification, and shouldn't be treated as out of range situation. My suggestion above will make the behavior of Xorg reasonable.
Comment 1 GitLab Migration User 2018-08-10 20:58:49 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-input-mouse/issues/18.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.