summaryrefslogtreecommitdiff
path: root/upstream/packages/nbfc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'upstream/packages/nbfc.patch')
-rw-r--r--upstream/packages/nbfc.patch427
1 files changed, 427 insertions, 0 deletions
diff --git a/upstream/packages/nbfc.patch b/upstream/packages/nbfc.patch
new file mode 100644
index 0000000..8bb2158
--- /dev/null
+++ b/upstream/packages/nbfc.patch
@@ -0,0 +1,427 @@
+From 0d7c51151629ea21325b4cc8f2d912633b842743 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Marek=20Pa=C5=9Bnikowski?= <marek@marekpasnikowski.pl>
+Date: Sun, 9 Jun 2024 18:59:16 +0200
+Subject: [PATCH 1/1] change temperature threshholds
+
+---
+ share/nbfc/configs/Acer Nitro AN515-43.json | 406 +++++++++-----------
+ 1 file changed, 173 insertions(+), 233 deletions(-)
+
+diff --git a/share/nbfc/configs/Acer Nitro AN515-43.json b/share/nbfc/configs/Acer Nitro AN515-43.json
+index a0c64fb..edea6e0 100644
+--- a/share/nbfc/configs/Acer Nitro AN515-43.json
++++ b/share/nbfc/configs/Acer Nitro AN515-43.json
+@@ -5,237 +5,177 @@
+ "ReadWriteWords": true,
+ "CriticalTemperature": 90,
+ "FanConfigurations": [
+- {
+- "ReadRegister": 19,
+- "WriteRegister": 55,
+- "MinSpeedValue": 0,
+- "MaxSpeedValue": 100,
+- "IndependentReadMinMaxValues": true,
+- "MinSpeedValueRead": 0,
+- "MaxSpeedValueRead": 6122,
+- "ResetRequired": true,
+- "FanSpeedResetValue": 50,
+- "FanDisplayName": "Ryzen 3550H",
+- "TemperatureThresholds": [
+- {
+- "UpThreshold": 40,
+- "DownThreshold": 0,
+- "FanSpeed": 0.0
+- },
+- {
+- "UpThreshold": 42,
+- "DownThreshold": 40,
+- "FanSpeed": 30.0
+- },
+- {
+- "UpThreshold": 44,
+- "DownThreshold": 41,
+- "FanSpeed": 32.0
+- },
+- {
+- "UpThreshold": 48,
+- "DownThreshold": 43,
+- "FanSpeed": 34.0
+- },
+- {
+- "UpThreshold": 52,
+- "DownThreshold": 46,
+- "FanSpeed": 36.0
+- },
+- {
+- "UpThreshold": 54,
+- "DownThreshold": 50,
+- "FanSpeed": 38.0
+- },
+- {
+- "UpThreshold": 58,
+- "DownThreshold": 53,
+- "FanSpeed": 41.0
+- },
+- {
+- "UpThreshold": 62,
+- "DownThreshold": 56,
+- "FanSpeed": 44.0
+- },
+- {
+- "UpThreshold": 64,
+- "DownThreshold": 60,
+- "FanSpeed": 47.0
+- },
+- {
+- "UpThreshold": 68,
+- "DownThreshold": 63,
+- "FanSpeed": 50.0
+- },
+- {
+- "UpThreshold": 72,
+- "DownThreshold": 66,
+- "FanSpeed": 55.0
+- },
+- {
+- "UpThreshold": 74,
+- "DownThreshold": 70,
+- "FanSpeed": 61.0
+- },
+- {
+- "UpThreshold": 78,
+- "DownThreshold": 73,
+- "FanSpeed": 68.0
+- },
+- {
+- "UpThreshold": 82,
+- "DownThreshold": 76,
+- "FanSpeed": 76.0
+- },
+- {
+- "UpThreshold": 84,
+- "DownThreshold": 80,
+- "FanSpeed": 85.0
+- },
+- {
+- "UpThreshold": 88,
+- "DownThreshold": 83,
+- "FanSpeed": 94.0
+- },
+- {
+- "UpThreshold": 90,
+- "DownThreshold": 86,
+- "FanSpeed": 100.0
+- }
+- ],
+- "FanSpeedPercentageOverrides": []
+- },
+- {
+- "ReadRegister": 21,
+- "WriteRegister": 58,
+- "MinSpeedValue": 0,
+- "MaxSpeedValue": 100,
+- "IndependentReadMinMaxValues": true,
+- "MinSpeedValueRead": 0,
+- "MaxSpeedValueRead": 6122,
+- "ResetRequired": true,
+- "FanSpeedResetValue": 50,
+- "FanDisplayName": "AMD RX560X",
+- "TemperatureThresholds": [
+- {
+- "UpThreshold": 40,
+- "DownThreshold": 0,
+- "FanSpeed": 0.0
+- },
+- {
+- "UpThreshold": 42,
+- "DownThreshold": 40,
+- "FanSpeed": 22.0
+- },
+- {
+- "UpThreshold": 44,
+- "DownThreshold": 41,
+- "FanSpeed": 24.0
+- },
+- {
+- "UpThreshold": 48,
+- "DownThreshold": 43,
+- "FanSpeed": 26.0
+- },
+- {
+- "UpThreshold": 52,
+- "DownThreshold": 46,
+- "FanSpeed": 28.0
+- },
+- {
+- "UpThreshold": 54,
+- "DownThreshold": 50,
+- "FanSpeed": 30.0
+- },
+- {
+- "UpThreshold": 58,
+- "DownThreshold": 53,
+- "FanSpeed": 34.0
+- },
+- {
+- "UpThreshold": 62,
+- "DownThreshold": 56,
+- "FanSpeed": 38.0
+- },
+- {
+- "UpThreshold": 64,
+- "DownThreshold": 60,
+- "FanSpeed": 42.0
+- },
+- {
+- "UpThreshold": 68,
+- "DownThreshold": 63,
+- "FanSpeed": 46.0
+- },
+- {
+- "UpThreshold": 72,
+- "DownThreshold": 66,
+- "FanSpeed": 52.0
+- },
+- {
+- "UpThreshold": 74,
+- "DownThreshold": 70,
+- "FanSpeed": 59.0
+- },
+- {
+- "UpThreshold": 78,
+- "DownThreshold": 73,
+- "FanSpeed": 67.0
+- },
+- {
+- "UpThreshold": 82,
+- "DownThreshold": 76,
+- "FanSpeed": 76.0
+- },
+- {
+- "UpThreshold": 84,
+- "DownThreshold": 80,
+- "FanSpeed": 86.0
+- },
+- {
+- "UpThreshold": 88,
+- "DownThreshold": 83,
+- "FanSpeed": 96.0
+- },
+- {
+- "UpThreshold": 90,
+- "DownThreshold": 86,
+- "FanSpeed": 100.0
+- }
+- ],
+- "FanSpeedPercentageOverrides": []
+- }
+- ],
++ {
++ "ReadRegister": 19,
++ "WriteRegister": 55,
++ "MinSpeedValue": 0,
++ "MaxSpeedValue": 100,
++ "IndependentReadMinMaxValues": true,
++ "MinSpeedValueRead": 0,
++ "MaxSpeedValueRead": 6122,
++ "ResetRequired": true,
++ "FanSpeedResetValue": 50,
++ "FanDisplayName": "Ryzen 3550H",
++ "TemperatureThresholds": [
++ {
++ "UpThreshold": 25,
++ "DownThreshold": 0,
++ "FanSpeed": 0
++ },
++ {
++ "UpThreshold": 30,
++ "DownThreshold": 25,
++ "FanSpeed": 10.0
++ },
++ {
++ "UpThreshold": 35,
++ "DownThreshold": 30,
++ "FanSpeed": 20.0
++ },
++ {
++ "UpThreshold": 40,
++ "DownThreshold": 35,
++ "FanSpeed": 30.0
++ },
++ {
++ "UpThreshold": 45,
++ "DownThreshold": 40,
++ "FanSpeed": 40.0
++ },
++ {
++ "UpThreshold": 50,
++ "DownThreshold": 45,
++ "FanSpeed": 50.0
++ },
++ {
++ "UpThreshold": 55,
++ "DownThreshold": 50,
++ "FanSpeed": 60.0
++ },
++ {
++ "UpThreshold": 60,
++ "DownThreshold": 55,
++ "FanSpeed": 70.0
++ },
++ {
++ "UpThreshold": 65,
++ "DownThreshold": 60,
++ "FanSpeed": 80.0
++ },
++ {
++ "UpThreshold": 70,
++ "DownThreshold": 65,
++ "FanSpeed": 90.0
++ },
++ {
++ "UpThreshold": 75,
++ "DownThreshold": 70,
++ "FanSpeed": 100.0
++ }
++ ],
++ "FanSpeedPercentageOverrides": []
++ },
++ {
++ "ReadRegister": 21,
++ "WriteRegister": 58,
++ "MinSpeedValue": 0,
++ "MaxSpeedValue": 100,
++ "IndependentReadMinMaxValues": true,
++ "MinSpeedValueRead": 0,
++ "MaxSpeedValueRead": 6122,
++ "ResetRequired": true,
++ "FanSpeedResetValue": 50,
++ "FanDisplayName": "AMD RX560X",
++ "TemperatureThresholds": [
++ {
++ "UpThreshold": 25,
++ "DownThreshold": 0,
++ "FanSpeed": 0
++ },
++ {
++ "UpThreshold": 30,
++ "DownThreshold": 25,
++ "FanSpeed": 10.0
++ },
++ {
++ "UpThreshold": 35,
++ "DownThreshold": 30,
++ "FanSpeed": 20.0
++ },
++ {
++ "UpThreshold": 40,
++ "DownThreshold": 35,
++ "FanSpeed": 30.0
++ },
++ {
++ "UpThreshold": 45,
++ "DownThreshold": 40,
++ "FanSpeed": 40.0
++ },
++ {
++ "UpThreshold": 50,
++ "DownThreshold": 45,
++ "FanSpeed": 50.0
++ },
++ {
++ "UpThreshold": 55,
++ "DownThreshold": 50,
++ "FanSpeed": 60.0
++ },
++ {
++ "UpThreshold": 60,
++ "DownThreshold": 55,
++ "FanSpeed": 70.0
++ },
++ {
++ "UpThreshold": 65,
++ "DownThreshold": 60,
++ "FanSpeed": 80.0
++ },
++ {
++ "UpThreshold": 70,
++ "DownThreshold": 65,
++ "FanSpeed": 90.0
++ },
++ {
++ "UpThreshold": 75,
++ "DownThreshold": 70,
++ "FanSpeed": 100.0
++ }
++ ],
++ "FanSpeedPercentageOverrides": []
++ }
++ ],
+ "RegisterWriteConfigurations": [
+- {
+- "WriteMode": "Set",
+- "WriteOccasion": "OnInitialization",
+- "Register": 34,
+- "Value": 12,
+- "ResetRequired": true,
+- "ResetValue": 4,
+- "ResetWriteMode": "Set",
+- "Description": "CPU fan manual mode"
+- },
+- {
+- "WriteMode": "Set",
+- "WriteOccasion": "OnInitialization",
+- "Register": 33,
+- "Value": 48,
+- "ResetRequired": true,
+- "ResetValue": 16,
+- "ResetWriteMode": "Set",
+- "Description": "GPU fan manual mode"
+- },
+- {
+- "WriteMode": "Set",
+- "WriteOccasion": "OnInitialization",
+- "Register": 16,
+- "Value": 0,
+- "ResetRequired": true,
+- "ResetValue": 1,
+- "ResetWriteMode": "Set",
+- "Description": "CoolBoost off"
+- }
+- ]
+-}
++ {
++ "WriteMode": "Set",
++ "WriteOccasion": "OnInitialization",
++ "Register": 34,
++ "Value": 12,
++ "ResetRequired": true,
++ "ResetValue": 4,
++ "ResetWriteMode": "Set",
++ "Description": "CPU fan manual mode"
++ },
++ {
++ "WriteMode": "Set",
++ "WriteOccasion": "OnInitialization",
++ "Register": 33,
++ "Value": 48,
++ "ResetRequired": true,
++ "ResetValue": 16,
++ "ResetWriteMode": "Set",
++ "Description": "GPU fan manual mode"
++ },
++ {
++ "WriteMode": "Set",
++ "WriteOccasion": "OnInitialization",
++ "Register": 16,
++ "Value": 0,
++ "ResetRequired": true,
++ "ResetValue": 1,
++ "ResetWriteMode": "Set",
++ "Description": "CoolBoost off"
++ }
++ ]
++ }
+--
+2.45.1
+