[systemd-devel] assigning one udev attr to another

Jason A. Donenfeld Jason at zx2c4.com
Thu Jun 20 08:36:14 PDT 2013


I'd like to have a rule that does this:

zx2c4 at thinkpad /etc/udev/rules.d $ cat 90-hotkeys.rules
DRIVER=="thinkpad_acpi", ATTR{hotkey_mask}=ATTR{hotkey_recommended_mask}

Unfortunately, it "doesn't work."

This works:

zx2c4 at thinkpad /etc/udev/rules.d $ cat 90-hotkeys.rules
DRIVER=="thinkpad_acpi", ATTR{hotkey_mask}="123"

But assigning one to another does not.

Any advice?

Thanks,
Jason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20130620/afcef22b/attachment.html>


More information about the systemd-devel mailing list