1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-28 11:55:23 +03:00
Commit Graph

12 Commits

Author SHA1 Message Date
Marco d'Itri
6b32e81929 rules: input - create by-path/ links for pci devices 2010-03-16 12:44:43 +01:00
Martin Pitt
6722e19ab1 input: Deprecate ENV{ID_CLASS}
The ID_CLASS property on input devices has been replaced by the more accurate
set of flags ID_INPUT_{KEYBOARD,KEYS,MOUSE,TOUCHPAD,TABLET,JOYSTICK}.

Rewrite 60-persistent-input.rules to use the new properties now and not export
ID_CLASS any more, since it is not used by anything else any more.

Add note about migration to NEWS, in case this is being used in custom rules.
2009-11-30 19:16:09 +01:00
Martin Pitt
a6cf773401 extras: Add input_id
input_id probes input/event devices for their class (keyboard, keys, mouse,
touchpad, tablet, joystick). This is based on the corresponding hal code in
hald/linux/device.c, input_test_{abs,rel,...}.

This should provide enough functionality to get hal-less X.org working (which
in particular needs to know exactly which devices are touchpads).

Replace the brittle hacks in 60-persistent-input.rules with checking for the
new ID_INPUT_* flags. This keeps the old ID_CLASS properties for now (but they
are to be removed later on).

Note: The current code has several hacks still, which are to be replaced with
proper libudev calls later on.
2009-11-30 18:38:43 +01:00
Anssi Hannula
d256454415 rules: exclude digitizers from joystick class
Exclude digitizers and similar devices from ID_CLASS joystick by
checking modalias for BTN_DIGI.

This was also done for linux kernel joydev interface in linux commit
d07a9cba6be5c0e947afc1014b5a62182a86f1f1.
2009-08-05 05:07:15 +02:00
Kay Sievers
9fc643a414 rules: do not call path_id for virtual devices 2009-06-04 03:21:33 +02:00
Kay Sievers
998d9788e7 rules: add "event*" match 2009-05-01 17:52:21 +02:00
Kay Sievers
c311b393be rules: input - fix comments 2009-04-27 03:50:48 +02:00
Kay Sievers
4d3657816a rules: input - add links for USB/platform non-kbd/mouse devices 2009-04-27 03:23:41 +02:00
Kay Sievers
7e827bcde8 usb_id: add ID_USB_INTERFACES=:0e0100:0e0200:010100:010200: 2009-02-26 17:05:58 +01:00
Kay Sievers
01acecef8f rules: input - make sure needed variables are set 2009-01-02 03:26:44 +01:00
Kay Sievers
a689165b5a libudev: require LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE 2008-08-29 21:22:24 +02:00
Kay Sievers
282988c4f8 move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/
None of these rules is supposed to be changed by users, so move
them out of /etc. Custom rules, and automatically generated rules
stay in /etc. All rules are still processed in lexical order,
regardless which directory they live in.
2008-07-18 15:56:03 +02:00