]>
Commit | Line | Data |
---|---|---|
b61d777a | 1 | # This udev rule is for any devices that should enter automatic suspend |
0490b440 | 2 | # but are not already included in generated rules from Chromium OS via |
b61d777a ML |
3 | # tools/make-autosuspend-rules.py |
4 | # | |
5 | ||
6 | ACTION!="add", GOTO="autosuspend_manual_end" | |
7 | SUBSYSTEM!="usb", GOTO="autosuspend_manual_end" | |
8 | ||
9 | SUBSYSTEM=="usb", GOTO="autosuspend_manual_usb" | |
10 | ||
11 | # USB rules | |
12 | LABEL="autosuspend_manual_usb" | |
13 | GOTO="autosuspend_manual_end" | |
14 | ||
15 | # Enable autosuspend | |
16 | LABEL="autosuspend_manual_enable" | |
17 | TEST=="power/control", ATTR{power/control}="auto", GOTO="autosuspend_manual_end" | |
18 | ||
19 | LABEL="autosuspend_manual_end" |