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