mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-14 19:24:00 +01:00
Aura perf. profile workaround
Explicitly sets the performance profile for Aura on keyboard init. This has the effect of setting the state (previously not done by firmware) to the relevant ACPI object. After this it should restore the performance profile correctly on its own on power supply change.
This commit is contained in:
parent
7ad2c50d1f
commit
e38fe87fad
|
@ -773,6 +773,13 @@ struct tuxedo_keyboard_driver clevo_keyboard_driver_v2 = {
|
|||
int clevo_keyboard_init(void)
|
||||
{
|
||||
tuxedo_keyboard_init_driver(&clevo_keyboard_driver_v2);
|
||||
|
||||
// Workaround for firmware issue not setting selected performance profile.
|
||||
// Explicitly set "performance" perf. profile on init regardless of what is chosen
|
||||
// for this device (Aura)
|
||||
if (dmi_match(DMI_BOARD_NAME, "AURA1501"))
|
||||
clevo_evaluate_method(0x79, 0x19000002, NULL);
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(clevo_keyboard_init);
|
||||
|
|
Loading…
Reference in a new issue