summaryrefslogtreecommitdiff
path: root/tools/make-autosuspend-rules.py
Commit message (Collapse)AuthorAgeFilesLines
* trivial: rename chromeos to chromiumosTim Teichmann2019-10-071-3/+3
|
* rules: Add automatic suspend udev rulesMario Limonciello2019-10-041-0/+14
The ChromeOS ecosystem has a large amount of testing, both automated and manual across devices including measurement of power regressions. It's safe to assume that any of these devices will handle USB auto-suspend appropriately. Use the script from ChromeOS https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py to generate udev rules at build time. This script in systemd `tools/chromeos/gen_autosuspend_rules.py` should be kept in sync with the ChromeOS version of the script. Manually added autosuspend devices should be placed in the new template `rules/61-autosuspend-manual.rules` Suggested-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mario Limonciello <mario.limonciello@dell.com>