]> git.ipfire.org Git - thirdparty/systemd.git/blame - rules.d/60-autosuspend.rules
dlfcn-util: add dlsym_many_and_warn() helper
[thirdparty/systemd.git] / rules.d / 60-autosuspend.rules
CommitLineData
79dc5d35
ZJS
1# do not edit this file, it will be overwritten on update
2
3ACTION!="add", GOTO="autosuspend_end"
4
5# I2C rules
6SUBSYSTEM=="i2c", ATTR{name}=="cyapa", \
7 ATTR{power/control}="on", GOTO="autosuspend_end"
8
9# Enable autosuspend if hwdb says so. Here we are relying on
10# the hwdb import done earlier based on MODALIAS.
11ENV{ID_AUTOSUSPEND}=="1", TEST=="power/control", \
12 ATTR{power/control}="auto"
13
14LABEL="autosuspend_end"