mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Add TDP def for IBPG8MK1
This commit is contained in:
parent
e2e69ea79d
commit
24e6f19b55
|
@ -82,6 +82,9 @@ static int tdp_max_ph4tqx[] = { 0x32, 0x32, 0x00 };
|
|||
static int tdp_min_ph4axx[] = { 0x05, 0x05, 0x00 };
|
||||
static int tdp_max_ph4axx[] = { 0x2d, 0x3c, 0x00 };
|
||||
|
||||
static int tdp_min_phxpxx[] = { 0x05, 0x05, 0x05 };
|
||||
static int tdp_max_phxpxx[] = { 0x2a, 0x32, 0x5a };
|
||||
|
||||
static int tdp_min_pfxluxg[] = { 0x05, 0x05, 0x05 };
|
||||
static int tdp_max_pfxluxg[] = { 0x23, 0x23, 0x28 };
|
||||
|
||||
|
@ -124,6 +127,9 @@ void uw_id_tdp(void)
|
|||
tdp_min_defs = tdp_min_ph4axx;
|
||||
tdp_max_defs = tdp_max_ph4axx;
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0)
|
||||
} else if (dmi_match(DMI_PRODUCT_SKU, "IBP1XI08MK1")) {
|
||||
tdp_min_defs = tdp_min_phxpxx;
|
||||
tdp_max_defs = tdp_max_phxpxx;
|
||||
} else if (dmi_match(DMI_PRODUCT_SKU, "PULSE1502")) {
|
||||
tdp_min_defs = tdp_min_pfxluxg;
|
||||
tdp_max_defs = tdp_max_pfxluxg;
|
||||
|
|
Loading…
Reference in a new issue