[systemd-devel] [PATCH v3 2/4] udev: Update pointingstick rules to allow setting ibm trackpoint sensitivity
David Herrmann
dh.herrmann at gmail.com
Tue Apr 7 04:46:56 PDT 2015
Hi
On Tue, Apr 7, 2015 at 1:40 PM, Hans de Goede <hdegoede at redhat.com> wrote:
>> The series looks reasonable, but I wonder why we cannot merge it into
>> 60-keyboard.rule (60-evdev.rule now) like Peter's series does? In that
>> case, please make this a builtin of input_id which uses
>> udev_device_get_parent_subsystem_devtype() and look for the
>> serio/atkbd (?) parent device, instead of hard-coding the path.
>
>
> Why would we want to merge this into keyboard rules/hwdb? Trackpoints
> always have a separate driver, input device and event node.
Right now, we do hwdb lookups for keyboard:foobar, evdev:foobar and
now trackpoint:foobar, instead of a single lookup for evdev:foobar.
To me, it looks much easier if we have one generic evdev rule, which
searches the hwdb based on the input-modalias via
evdev:input:<modalias> and the legacy fallback,
evdev:name:<name>:<dmi>
Depending on what properties where found, we simply apply them to the
evdev node.
Thanks
David
More information about the systemd-devel
mailing list