diff options
| author | Mohsen Tahmasebi <moh53n@moh53n.net> | 2026-08-19 18:31:58 +0330 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-09-18 19:42:12 +0300 |
| commit | 3bd07ec2893bef0220cd63589c19e5be354fe835 (patch) | |
| tree | c011497bf92e4951dc2bcf737399108069972946 | |
| parent | 4bee415640e9fcb4fb0655a7ba3ea96eff424ac9 (diff) | |
| download | linux-3bd07ec2893bef0220cd63589c19e5be354fe835.tar.gz linux-3bd07ec2893bef0220cd63589c19e5be354fe835.zip | |
platform/x86: acer-wmi: enable hwmon on Aspire A315-58G
The Acer Aspire A315-58G supports the Acer hwmon interface and reports
CPU, GPU and external temperatures.
Note that the GPU temperature reports 0 when the Nvidia MX350 GPU is in
D3cold, but reports a valid value when the GPU is in D3hot/D0.
This commit enables hwmon for this model.
Signed-off-by: Mohsen Tahmasebi <moh53n@moh53n.net>
Link: https://patch.msgid.link/20260819150205.19453-4-moh53n@moh53n.net
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
| -rw-r--r-- | drivers/platform/x86/acer-wmi.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index e551110dc811..d3d741aad556 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -454,6 +454,10 @@ static struct quirk_entry quirk_acer_aspire_1520 = { .brightness = -1, }; +static struct quirk_entry quirk_acer_aspire_a315_58g = { + .hwmon = true, +}; + static struct quirk_entry quirk_acer_travelmate_2490 = { .mailled = 1, }; @@ -644,6 +648,15 @@ static const struct dmi_system_id acer_quirks[] __initconst = { }, { .callback = dmi_matched, + .ident = "Acer Aspire A315-58G", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Acer"), + DMI_MATCH(DMI_PRODUCT_NAME, "Aspire A315-58G"), + }, + .driver_data = &quirk_acer_aspire_a315_58g, + }, + { + .callback = dmi_matched, .ident = "Acer TravelMate 2490", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "Acer"), |
