]> git.ipfire.org Git - thirdparty/systemd.git/blob - rules.d/60-autosuspend.rules
dlfcn-util: add dlsym_many_and_warn() helper
[thirdparty/systemd.git] / rules.d / 60-autosuspend.rules
1 # do not edit this file, it will be overwritten on update
2
3 ACTION!="add", GOTO="autosuspend_end"
4
5 # I2C rules
6 SUBSYSTEM=="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.
11 ENV{ID_AUTOSUSPEND}=="1", TEST=="power/control", \
12 ATTR{power/control}="auto"
13
14 LABEL="autosuspend_end"