From e53d4870eaa8a84eca37a812d7137399137f60bc Mon Sep 17 00:00:00 2001 From: Christoffer Sandberg Date: Wed, 17 Mar 2021 13:53:35 +0100 Subject: [PATCH] Add standard Aura (now new) board name to perf. profile workaround - Convert remaining matches to string in for robustness (with occational space padding) - Add missing device comment --- src/clevo_keyboard.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/clevo_keyboard.h b/src/clevo_keyboard.h index 6733218..c9873c0 100644 --- a/src/clevo_keyboard.h +++ b/src/clevo_keyboard.h @@ -791,10 +791,11 @@ int clevo_keyboard_init(void) // Workaround for firmware issue not setting selected performance profile. // Explicitly set "performance" perf. profile on init regardless of what is chosen - // for these devices (Aura, XP14) + // for these devices (Aura, XP14, IBS14v5) performance_profile_set_workaround = false - || dmi_match(DMI_BOARD_NAME, "AURA1501") - || dmi_match(DMI_BOARD_NAME, "NV4XMB,ME,MZ") + || dmi_string_in(DMI_BOARD_NAME, "AURA1501") + || dmi_string_in(DMI_BOARD_NAME, "NL5xRU") + || dmi_string_in(DMI_BOARD_NAME, "NV4XMB,ME,MZ") || dmi_string_in(DMI_BOARD_NAME, "L140CU") ; if (performance_profile_set_workaround) {