Skip to content

Commit 82cc5c6

Browse files
t-8chjwrdegoede
authored andcommitted
platform/x86: asus-wmi: Ignore fan on E410MA
The ASUS VivoBook has a fan device described in its ACPI tables but does not actually contain any physical fan. Use the quirk to inhibit fan handling. Signed-off-by: Thomas Weißschuh <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Hans de Goede <[email protected]> Signed-off-by: Hans de Goede <[email protected]>
1 parent c874b6d commit 82cc5c6

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

drivers/platform/x86/asus-nb-wmi.c

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,10 @@ static struct quirk_entry quirk_asus_tablet_mode = {
121121
.tablet_switch_mode = asus_wmi_lid_flip_rog_devid,
122122
};
123123

124+
static struct quirk_entry quirk_asus_ignore_fan = {
125+
.wmi_ignore_fan = true,
126+
};
127+
124128
static int dmi_matched(const struct dmi_system_id *dmi)
125129
{
126130
pr_info("Identified laptop model '%s'\n", dmi->ident);
@@ -473,6 +477,15 @@ static const struct dmi_system_id asus_quirks[] = {
473477
},
474478
.driver_data = &quirk_asus_tablet_mode,
475479
},
480+
{
481+
.callback = dmi_matched,
482+
.ident = "ASUS VivoBook E410MA",
483+
.matches = {
484+
DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
485+
DMI_MATCH(DMI_PRODUCT_NAME, "E410MA"),
486+
},
487+
.driver_data = &quirk_asus_ignore_fan,
488+
},
476489
{},
477490
};
478491

0 commit comments

Comments
 (0)