Without this, udev does not tag input devices with ID_INPUT variables,
which causes libinput to ignore them.

For example, when starting weston:

  event0  - Logitech USB-PS/2 Optical Mouse: not tagged as supported input 
device
  event0  - not using input device '/dev/input/event0'
  event1  - gpio-keys: not tagged as supported input device
  event1  - not using input device '/dev/input/event1'
  event2  - HID 046a:0023: not tagged as supported input device
  event2  - not using input device '/dev/input/event2'
  warning: no input devices on entering Weston. Possible causes:
        - no permissions to read /dev/input/event*
        - seats misconfigured (Weston backend option 'seat', udev device 
property ID_SEAT)
  failed to create input devices

Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
---
 rules/systemd.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/systemd.make b/rules/systemd.make
index 468e547b7..d2b55606e 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -226,6 +226,7 @@ SYSTEMD_UDEV_HELPER-$(PTXCONF_SYSTEMD_UDEV_MTD_PROBE)       
        += mtd_probe
 
 SYSTEMD_UDEV_RULES-y := \
        50-udev-default.rules \
+       60-input-id.rules \
        60-persistent-alsa.rules \
        60-persistent-input.rules \
        60-persistent-storage-tape.rules \
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to