61-autosuspend-manual.rules 565 B

12345678910111213141516171819
  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. ACTION!="add", GOTO="autosuspend_manual_end"
  6. SUBSYSTEM!="usb", GOTO="autosuspend_manual_end"
  7. SUBSYSTEM=="usb", GOTO="autosuspend_manual_usb"
  8. # USB rules
  9. LABEL="autosuspend_manual_usb"
  10. GOTO="autosuspend_manual_end"
  11. # Enable autosuspend
  12. LABEL="autosuspend_manual_enable"
  13. TEST=="power/control", ATTR{power/control}="auto", GOTO="autosuspend_manual_end"
  14. LABEL="autosuspend_manual_end"