]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev: skip EVDEV_ABS override on devices without EV_ABS (#5984)
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 19 May 2017 08:56:29 +0000 (18:56 +1000)
committerLennart Poettering <lennart@poettering.net>
Fri, 19 May 2017 08:56:29 +0000 (10:56 +0200)
commit855cf359b26b5dfa93351da1cb7c728f9d656b0e
treefa8f44fc810e588ee7e563c9a15a06ab1b7d2f81
parente69c933694b943797155b339fb561cd1a3cf82a3
udev: skip EVDEV_ABS override on devices without EV_ABS (#5984)

When we first handle a device with an EVDEV_ABS override, check if it has
EV_ABS bits. If not, print a warning and continue. This is required on devices
where the match string applies to multiple device nodes, not all of which may
have absolute axes.

Fixes https://github.com/systemd/systemd/issues/5079
src/udev/udev-builtin-keyboard.c