diff --git a/src/tuxedo_io/tuxedo_io.c b/src/tuxedo_io/tuxedo_io.c index 5c66979..6bb514d 100644 --- a/src/tuxedo_io/tuxedo_io.c +++ b/src/tuxedo_io/tuxedo_io.c @@ -79,6 +79,9 @@ static int tdp_max_ph4trx[] = { 0x32, 0x32, 0x00 }; static int tdp_min_ph4tqx[] = { 0x05, 0x05, 0x00 }; static int tdp_max_ph4tqx[] = { 0x32, 0x32, 0x00 }; +static int tdp_min_pfxluxg[] = { 0x05, 0x05, 0x05 }; +static int tdp_max_pfxluxg[] = { 0x23, 0x23, 0x28 }; + static int tdp_min_gmxngxx[] = { 0x05, 0x05, 0x05 }; static int tdp_max_gmxngxx[] = { 0x50, 0x50, 0x5f }; @@ -109,6 +112,9 @@ void uw_id_tdp(void) tdp_min_defs = tdp_min_ph4tqx; tdp_max_defs = tdp_max_ph4tqx; #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 18, 0) + } else if (dmi_match(DMI_PRODUCT_SKU, "PULSE1502")) { + tdp_min_defs = tdp_min_pfxluxg; + tdp_max_defs = tdp_max_pfxluxg; } else if (dmi_match(DMI_PRODUCT_SKU, "POLARIS1XA02")) { tdp_min_defs = tdp_min_gmxngxx; tdp_max_defs = tdp_max_gmxngxx; diff --git a/src/uniwill_interfaces.h b/src/uniwill_interfaces.h index fbc1d71..7287d00 100644 --- a/src/uniwill_interfaces.h +++ b/src/uniwill_interfaces.h @@ -46,6 +46,7 @@ struct uniwill_interface_t { uniwill_write_ec_ram_t *write_ec_ram; }; +#define UW_MODEL_PF5LUXG 0x09 #define UW_MODEL_PH4TUX 0x13 #define UW_MODEL_PH4TRX 0x12 #define UW_MODEL_PH4TQF 0x14