mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Add Stellaris AMD Gen4 TDP ranges + threeprofile leds id
This commit is contained in:
parent
e6ecf69560
commit
b9b6f240c8
|
@ -100,6 +100,9 @@ static int tdp_max_gmxzgxx[] = { 0x50, 0x50, 0x5f };
|
|||
static int tdp_min_gmxagxx[] = { 0x05, 0x05, 0x05 };
|
||||
static int tdp_max_gmxagxx[] = { 0x78, 0x78, 0xd7 };
|
||||
|
||||
static int tdp_min_gmxrgxx[] = { 0x05, 0x05, 0x05 };
|
||||
static int tdp_max_gmxrgxx[] = { 0x64, 0x64, 0x6e };
|
||||
|
||||
static int *tdp_min_defs = NULL;
|
||||
static int *tdp_max_defs = NULL;
|
||||
|
||||
|
@ -138,6 +141,9 @@ void uw_id_tdp(void)
|
|||
} else if (dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI04")) {
|
||||
tdp_min_defs = tdp_min_gmxagxx;
|
||||
tdp_max_defs = tdp_max_gmxagxx;
|
||||
} else if (dmi_match(DMI_PRODUCT_SKU, "STEPOL1XA04")) {
|
||||
tdp_min_defs = tdp_min_gmxrgxx;
|
||||
tdp_max_defs = tdp_max_gmxrgxx;
|
||||
#endif
|
||||
} else {
|
||||
tdp_min_defs = NULL;
|
||||
|
|
|
@ -224,6 +224,7 @@ struct uniwill_device_features_t *uniwill_get_device_features(void)
|
|||
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI03")
|
||||
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XA03")
|
||||
|| dmi_match(DMI_PRODUCT_SKU, "STELLARIS1XI04")
|
||||
|| dmi_match(DMI_PRODUCT_SKU, "STEPOL1XA04")
|
||||
#endif
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue