From 6e55b9b75839d257bfb430dac9900db18c956f0a Mon Sep 17 00:00:00 2001 From: Mario Limonciello Date: Thu, 6 Feb 2020 09:55:42 -0600 Subject: [PATCH] chromiumos: sync auto suspend rules with chromeos commit e348a229bacc3 Enables autosuspend for the following: - Microchip (Composite HID + CDC) - i915 - proc_thermal - xchi_hdc - snd_hda - pcieport - lpc_ich - iosf_mbi_pci - Realtek RTL8822C BT --- tools/chromiumos/gen_autosuspend_rules.py | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/tools/chromiumos/gen_autosuspend_rules.py b/tools/chromiumos/gen_autosuspend_rules.py index e50d6e743aa..41e6cc95862 100644 --- a/tools/chromiumos/gen_autosuspend_rules.py +++ b/tools/chromiumos/gen_autosuspend_rules.py @@ -34,6 +34,8 @@ USB_IDS += [ '8087:0024', # Genesys Logic (Internal Hub) (rambi) '8087:8000', + # Microchip (Composite HID + CDC) (kefka) + '04d8:0b28', ] # Webcams @@ -98,6 +100,8 @@ USB_IDS += [ '04ca:3016', # LiteOn (scarlet) '04ca:301a', + # Realtek (blooglet) + '0bda:b00c', # Atheros (stumpy, stout) '0cf3:3004', # Atheros (AR3011) (mario, alex, zgb) @@ -236,6 +240,21 @@ PCI_IDS += [ '8086:591c', # iwlwifi (atlas) '8086:2526', + # i915 (kefka) + '8086:22b1', + # proc_thermal (kefka) + '8086:22dc', + # xchi_hdc (kefka) + '8086:22b5', + # snd_hda (kefka) + '8086:2284', + # pcieport (kefka) + '8086:22c8', + '8086:22cc', + # lpc_ich (kefka) + '8086:229c', + # iosf_mbi_pci (kefka) + '8086:2280', ] # Samsung @@ -264,7 +283,7 @@ PCI_IDS += [ '2646:5008', ] -################################################################################ +# Do not edit below this line. ################################################# UDEV_RULE = """\ ACTION!="add", GOTO="autosuspend_end"