diff --git a/README.md b/README.md index 3638144..951a4d2 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The latest commit (30 Oct 2021) switched from the legacy name `lenovo_fix` for t ### Tested hardware Other users have confirmed that the tool is also working for these laptops: - Lenovo T470s, T480, T480s, X1C5, X1C6, X1C8, T580, L590, L490, L480, T470, X280, ThinkPad Anniversary Edition 25, E590 w/ RX 550X, P43s, E480, E580, T14 Gen 1, P14s Gen 1, T15 Gen 1, P15s Gen 1, E14 Gen 2 -- Dell XPS 9365, 9370, 9550, 7390 2-in-1, Latitude 7390 2-in-1 +- Dell XPS 9365, 9370, 9550, 7390 2-in-1, Latitude 7390 2-in-1, Inspiron 16 Plus 7620 - Microsoft Surface Book 2 - HP Probook 470 G5, Probook 450 G5, ZBook Firefly 15 G7 diff --git a/throttled.py b/throttled.py index 25b1749..b9f4c41 100755 --- a/throttled.py +++ b/throttled.py @@ -148,14 +148,17 @@ (6, 122, 8): 'GoldmontPlus', (6, 126, 5): 'IceLakeY', (6, 138, 1): 'Lakefield', - (6, 140, 1): 'TigerLake', - (6, 141, 1): 'TigerLake', + (6, 140, 1): 'TigerLake-U', + (6, 140, 2): 'TigerLake-U', + (6, 141, 1): 'TigerLake-H', (6, 142, 9): 'Kabylake', (6, 142, 10): 'Kabylake', (6, 142, 11): 'WhiskeyLake', (6, 142, 12): 'Comet Lake-U', - (6, 151, 2): 'AlderLake-S', + (6, 151, 2): 'AlderLake-S/HX', + (6, 151, 5): 'AlderLake-S', (6, 154, 3): 'AlderLake-P/H', + (6, 154, 4): 'AlderLake-U', (6, 156, 0): 'JasperLake', (6, 158, 9): 'KabylakeG', (6, 158, 10): 'Coffeelake', @@ -688,7 +691,7 @@ def power_thread(config, regs, exit_event, cpuid): except CalledProcessError: warning('Please ensure that "setpci" is in path. This is typically provided by the "pciutils" package.') warning('Trying to guess the MCHBAR address from the CPUID. This MIGHT NOT WORK!') - if cpuid in ((6, 151, 2), (6, 154, 3)): + if cpuid in ((6, 140, 1),(6, 140, 2),(6, 141, 1),(6, 151, 2),(6, 151, 5), (6, 154, 3),(6, 154, 4)): MCHBAR_BASE = 0xFEDC0001 else: MCHBAR_BASE = 0xFED10001