blob: 25b261ea0d4a09b0e78543b404089b693211c31b [file] [log] [blame]
Mario Limonciellob61d7772019-09-09 22:49:35 +01001#!/usr/bin/env python3
2# SPDX-License-Identifier: LGPL-2.1+
3
4# Generate autosuspend rules for devices that have been whitelisted (IE tested)
Tim Teichmann0490b442019-10-06 17:59:53 +02005# by the Chromium OS team. Please keep this script in sync with:
Mario Limonciellob61d7772019-09-09 22:49:35 +01006# https://chromium.googlesource.com/chromiumos/platform2/+/master/power_manager/udev/gen_autosuspend_rules.py
7
8import sys
Tim Teichmann0490b442019-10-06 17:59:53 +02009import chromiumos.gen_autosuspend_rules
Mario Limonciellob61d7772019-09-09 22:49:35 +010010
11if __name__ == '__main__':
12 if len(sys.argv) > 1:
13 sys.stdout = open(sys.argv[1], 'w')
Tim Teichmann0490b442019-10-06 17:59:53 +020014 chromiumos.gen_autosuspend_rules.main()