Bug 18422 - AutoAddDevices disables keyboard and mouse, even when auto-added devices can't work
Summary: AutoAddDevices disables keyboard and mouse, even when auto-added devices can'...
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 7.4 (2008.09)
Hardware: All Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-07 00:56 UTC by Jan de Groot
Modified: 2008-11-09 22:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Jan de Groot 2008-11-07 00:56:44 UTC
since commit c264826da96ad1859dd112b17eb8aa9e5278478f, the configured mouse and keyboard from xorg.conf are removed when AutoAddDevices is enabled. This is a good thing, but it has one downside: when the evdev driver is not installed, automatically added devices will not get added to the server because the driver doesn't exist. This, combined with the removed, working, devices configured from xorg.conf using the kbd and mouse drivers, result in an X server without mouse and keyboard. Users have to use SSH or serial terminal to get back in their system.
Comment 1 Peter Hutterer 2008-11-09 22:29:56 UTC
On Fri, Nov 07, 2008 at 12:56:44AM -0800, bugzilla-daemon@freedesktop.org wrote:
> since commit c264826da96ad1859dd112b17eb8aa9e5278478f, the configured mouse and
> keyboard from xorg.conf are removed when AutoAddDevices is enabled. This is a
> good thing, but it has one downside: when the evdev driver is not installed,
> automatically added devices will not get added to the server because the driver
> doesn't exist. This, combined with the removed, working, devices configured
> from xorg.conf using the kbd and mouse drivers, result in an X server without
> mouse and keyboard. Users have to use SSH or serial terminal to get back in
> their system.

we don't know that this is an issue until the server has already started up
and the list of devices requires the evdev driver to load.
By then it's too late to load mouse/kbd though. And you don't necessarily need
evdev as there are other drivers (synaptics, wacom, joystick) that support
hotplugging.

The fix to that is to provide an xorg.conf with AutoEnableDevices off and a
mouse and kbd section.


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.