Bug 89023 - xorg-server: evdev config shouldn't be included in base server package
Summary: xorg-server: evdev config shouldn't be included in base server package
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-07 19:53 UTC by Lyude Paul
Modified: 2015-11-18 22:12 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Lyude Paul 2015-02-07 19:53:51 UTC
Ran into this problem when converting my ThinkPad. The default distribution of xorg-server includes 10-evdev.conf in it's config directory. As a result, even when we have a system that doesn't have xf86-input-evdev installed onto it, xorg attempts to default to all applicable input drivers using evdev, which can be a problem if we want to use libinput instead of evdev.
I think a better solution for installing these configs would be to include them in xf86-input-evdev instead of the base xorg-server package.
Comment 2 Peter Hutterer 2015-05-18 03:41:53 UTC
xf86-input-evdev:
commit 66c997886424a20e92ce30fcfda46cbb5c7352ab
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue May 5 15:34:07 2015 +1000

    Add the default evdev config
Comment 3 Peter Hutterer 2015-05-20 04:34:12 UTC
commit fc59c8fe8d941b0ec1e98c59bc57b1f97dba149d
Author: Peter Hutterer <peter.hutterer@who-t.net>
Date:   Tue May 5 15:54:20 2015 +1000

    config: remove 10-evdev.conf, let the evdev driver install that file
Comment 4 teika kazura 2015-11-18 11:05:57 UTC
Note to downstream (I'm not a developer of freedesktop.org): This patch is not (yet?) included in xorg-server 1.17 branch as of Nov 2015, including 1.17.4. If you want to use xf86-input-evdev >= 2.10, wait for xorg-server 1.18, or delete 10-evdev.conf from xorg-server manually.
Comment 5 Peter Hutterer 2015-11-18 22:12:41 UTC
fwiw, I'm not planning to backport this to 1.17, it has the potential to break existing 1.17 installations if they have not updated to a newer evdev version.

A file conflict is usually easily detected in packaging system but if the file is missing nothing will complain and the user may be left without any input devices.


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.