@@ -85,6 +85,11 @@ static struct quirk_entry quirk_asus_x55u = {
.no_display_toggle = true,
};
+static struct quirk_entry quirk_asus_fx705ge = {
+ .wmi_needs_3_args = true,
+ .wmi_uses_dsts2 = true,
+};
+
static struct quirk_entry quirk_asus_wapf4 = {
.wapf = 4,
.wmi_backlight_set_devstate = true,
@@ -110,10 +115,6 @@ static struct quirk_entry quirk_asus_forceals = {
.wmi_force_als_set = true,
};
-static struct quirk_entry quirk_asus_wmi_needs_3_args = {
- .wmi_needs_3_args = true,
-};
-
static int dmi_matched(const struct dmi_system_id *dmi)
{
pr_info("Identified laptop model '%s'\n", dmi->ident);
@@ -414,7 +415,7 @@ static const struct dmi_system_id asus_quirks[] = {
DMI_MATCH(DMI_PRODUCT_NAME,
"TUF Gaming FX705GE_FX705GE"),
},
- .driver_data = &quirk_asus_wmi_needs_3_args,
+ .driver_data = &quirk_asus_fx705ge,
},
{},
};
@@ -1946,6 +1946,9 @@ static int asus_wmi_platform_init(struct asus_wmi *asus)
else
asus->dsts_id = ASUS_WMI_METHODID_DSTS2;
+ if (asus->driver->quirks->wmi_uses_dsts2)
+ asus->dsts_id = ASUS_WMI_METHODID_DSTS2;
+
/* CWAP allow to define the behavior of the Fn+F2 key,
* this method doesn't seems to be present on Eee PCs */
if (asus->driver->quirks->wapf >= 0)
@@ -34,6 +34,7 @@ struct quirk_entry {
bool wmi_backlight_set_devstate;
bool wmi_force_als_set;
bool wmi_needs_3_args;
+ bool wmi_uses_dsts2;
int wapf;
/*
* For machines with AMD graphic chips, it will send out WMI event