blob: ea9104d305517d5ac139af0db8427d5d1560b863 [file] [log] [blame]
ENV{POWERD_TAGS_USABLE}!="", ENV{POWERD_TAGS}+="$env{POWERD_TAGS_USABLE}"
ENV{POWERD_TAGS_WAKEUP}!="", ENV{POWERD_TAGS}+="$env{POWERD_TAGS_WAKEUP}"
ENV{POWERD_TAGS_INHIBIT}!="", ENV{POWERD_TAGS}+="$env{POWERD_TAGS_INHIBIT}"
# Include the role tag to make it easier to see how devices were classified.
ENV{POWERD_ROLE}!="", ENV{POWERD_TAGS}+="role_$env{POWERD_ROLE}"
# Apply the "powerd" udev tag to all events that powerd is interested in. powerd
# then filters by this tag.
ENV{POWERD_TAGS}!="", TAG+="powerd"
SUBSYSTEM=="drm", TAG+="powerd"
SUBSYSTEM=="i2c-dev", TAG+="powerd"
SUBSYSTEM=="input", TAG+="powerd"
SUBSYSTEM=="power_supply", TAG+="powerd"