[systemd-devel] [PATCH v2 2/4] udev: Update pointingstick rules to allow setting ibm trackpoint sensitivity
Kay Sievers
kay at vrfy.org
Wed Apr 8 10:54:27 PDT 2015
On Tue, Apr 7, 2015 at 7:06 AM, Peter Hutterer <peter.hutterer at who-t.net> wrote:
> On Fri, Apr 03, 2015 at 04:11:58PM +0200, Hans de Goede wrote:
>> +TEST=="../../../sensitivity", ENV{POINTINGSTICK_SENSITIVITY}!="", \
>> + ATTR{../../../sensitivity}="$env{POINTINGSTICK_SENSITIVITY}"
>>
>> LABEL="pointingstick_end"
>
> hmm, not the nicest rule but I couldn't find anything simpler. Kay, any idea
> how do do this with fewer relative path specs?
We cannot really ship any "../../../". This would encode a fixed
number of steps from the child device to the parent device, but the
kernel must be free to insert more devices in the chain of devices
without breaking our logic.
This stuff probably needs to be implemented in code looking up a
specific parent, and not just using udev rules.
Kay
More information about the systemd-devel
mailing list