From 42ad9de5c2887d532f1c7ea34396aaf474178b29 Mon Sep 17 00:00:00 2001 From: faux Date: Sun, 26 Jan 2025 00:44:18 -0500 Subject: [PATCH 1/2] Corrected version number, super battery address, and shift mode value --- msi-ec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/msi-ec.c b/msi-ec.c index d782449..0e954fe 100644 --- a/msi-ec.c +++ b/msi-ec.c @@ -3180,7 +3180,7 @@ static struct msi_ec_conf CONF38 __initdata = { }; static const char *ALLOWED_FW_39[] __initconst = { - "16R8IMS.111", // GF63 Thin 12VF + "16R8IMS1.111", // GF63 Thin 12VF NULL }; @@ -3212,13 +3212,13 @@ static struct msi_ec_conf CONF39 __initdata = { .modes = { { SM_ECO_NAME, 0xc2 }, { SM_COMFORT_NAME, 0xc1 }, - { SM_SPORT_NAME, 0xc1 }, + { SM_SPORT_NAME, 0xc0 }, { SM_TURBO_NAME, 0xc4 }, MSI_EC_MODE_NULL }, }, .super_battery = { - .address = MSI_EC_ADDR_UNSUPP, // unsupported + .address = 0xeb, // unsupported .mask = 0x0f, // 00, 0f }, .fan_mode = { From 58b85f487641a9c3d3c2c7da70604b2da0494939 Mon Sep 17 00:00:00 2001 From: mutchiko <95985922+mutchiko@users.noreply.github.com> Date: Mon, 27 Jan 2025 21:43:23 +0100 Subject: [PATCH 2/2] add super battery --- msi-ec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/msi-ec.c b/msi-ec.c index 0e954fe..f21aa66 100644 --- a/msi-ec.c +++ b/msi-ec.c @@ -3212,13 +3212,13 @@ static struct msi_ec_conf CONF39 __initdata = { .modes = { { SM_ECO_NAME, 0xc2 }, { SM_COMFORT_NAME, 0xc1 }, - { SM_SPORT_NAME, 0xc0 }, + { SM_SPORT_NAME, 0xc1 }, { SM_TURBO_NAME, 0xc4 }, MSI_EC_MODE_NULL }, }, .super_battery = { - .address = 0xeb, // unsupported + .address = 0xeb, .mask = 0x0f, // 00, 0f }, .fan_mode = {