]>
Commit | Line | Data |
---|---|---|
79dc5d35 ZJS |
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" |