Skip to content

Commit

Permalink
Merge pull request #144 from teackot/e14-flip-evo-a13mt
Browse files Browse the repository at this point in the history
Add `Summit E14 Flip Evo A13MT` (`14F1EMS1.2xx`)
  • Loading branch information
teackot authored Jul 10, 2024
2 parents 1b2c32e + 57240a1 commit 853ffe3
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/supported_devices.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@
| Modern 15 A11M | 1552EMS1 | Issues:<br>- [#48](https://github.com/BeardOverflow/msi-ec/issues/48)<br> PRs:<br>- [#40](https://github.com/BeardOverflow/msi-ec/pull/40)<br>- [#125](https://github.com/BeardOverflow/msi-ec/pull/125) | 2 | ✔️ Battery thresholds <br> ✔️ Webcam toggle <br> ✔️ Webcam block <br> ✔️ Fn <-> Win <br> ✔️ Cooler boost <br> ✔️ Shift mode <br> ✔️ Fan mode <br> ✔️ Mic mute LED <br> ✔️ Sound mute LED <br> ✔️ Keyboard backlight intensity |
| Modern 15 B7M | 15HKEMS1 | Issues:<br>- [#89](https://github.com/BeardOverflow/msi-ec/issues/89)<br> PRs:<br>- [#91](https://github.com/BeardOverflow/msi-ec/pull/91) | 18 | ✔️ Battery thresholds <br> ✔️ Webcam toggle <br> ✔️ Webcam block <br> ✔️ Fn <-> Win <br> ✔️ Cooler boost <br> ✔️ Shift mode <br> ✔️ Fan mode <br> ✔️ Mic mute LED <br> ✔️ Sound mute LED <br> ✔️ Keyboard backlight intensity |
| Summit E14 Evo A12M | 14F1EMS1 | Issues:<br>- [#24](https://github.com/BeardOverflow/msi-ec/issues/24)<br>- [#103](https://github.com/BeardOverflow/msi-ec/issues/103)<br> PRs:<br>- [#30](https://github.com/BeardOverflow/msi-ec/pull/30)<br>- [#79](https://github.com/BeardOverflow/msi-ec/pull/79)<br>- [#110](https://github.com/BeardOverflow/msi-ec/pull/110) | 8 | ✔️ Battery thresholds <br> ✔️ Webcam toggle <br> ✔️ Webcam block <br> ✔️ Fn <-> Win <br> ✔️ Cooler boost <br> ✔️ Shift mode <br> ✔️ Fan mode <br> ❌ Mic mute LED <br> ✔️ Sound mute LED <br> ✔️ Keyboard backlight intensity |
| Summit E14 Flip Evo A13MT | 14F1EMS1 | Issues:<br>- [#136](https://github.com/BeardOverflow/msi-ec/issues/136)<br> PRs:<br>- [#144](https://github.com/BeardOverflow/msi-ec/pull/144) | 25 | ✔️ Battery thresholds <br> ✔️ Webcam toggle <br> ✔️ Webcam block <br> ✔️ Fn <-> Win <br> ✔️ Cooler boost <br> ✔️ Shift mode <br> ⭕ Fan mode <br> ✔️ Mic mute LED <br> ✔️ Sound mute LED <br> ✔️ Keyboard backlight intensity |
| Summit E16 Flip A12UCT / A12MT | 1592EMS1 | Issues:<br>- [#10](https://github.com/BeardOverflow/msi-ec/issues/10)<br>- [#68](https://github.com/BeardOverflow/msi-ec/issues/68)<br> PRs:<br>- [#13](https://github.com/BeardOverflow/msi-ec/pull/13)<br>- [#69](https://github.com/BeardOverflow/msi-ec/pull/69) | 3 | ✔️ Battery thresholds <br> ✔️ Webcam toggle <br> ✔️ Webcam block <br> ✔️ Fn <-> Win <br> ✔️ Cooler boost <br> ✔️ Shift mode <br> ✔️ Fan mode <br> ✔️ Mic mute LED <br> ✔️ Sound mute LED <br> ✔️ Keyboard backlight intensity |
80 changes: 80 additions & 0 deletions msi-ec.c
Original file line number Diff line number Diff line change
Expand Up @@ -2059,6 +2059,85 @@ static struct msi_ec_conf CONF24 __initdata = {
},
};

static const char *ALLOWED_FW_25[] __initconst = {
"14F1EMS1.209", // Summit E14 Flip Evo A13MT
"14F1EMS1.211",
NULL
};

static struct msi_ec_conf CONF25 __initdata = {
.allowed_fw = ALLOWED_FW_25, // WMI2 based
.charge_control = {
.address = 0xd7,
.offset_start = 0x8a,
.offset_end = 0x80,
.range_min = 0x8a,
.range_max = 0xe4,
},
.webcam = {
.address = 0x2e,
.block_address = 0x2f,
.bit = 1,
},
.fn_win_swap = {
.address = 0xe8,
.bit = 4,
.invert = false,
},
.cooler_boost = {
.address = 0x98,
.bit = 7,
},
.shift_mode = {
.address = 0xd2,
.modes = {
{ SM_ECO_NAME, 0xc2 },
{ SM_COMFORT_NAME, 0xc1 },
{ SM_TURBO_NAME, 0xc4 },
MSI_EC_MODE_NULL
},
},
.super_battery = {
.address = 0xeb,
.mask = 0x0f,
},
.fan_mode = {
.address = 0xd4,
.modes = {
{ FM_AUTO_NAME, 0x0d },
{ FM_SILENT_NAME, 0x1d },
{ FM_ADVANCED_NAME, 0x8d },
MSI_EC_MODE_NULL
},
},
.cpu = {
.rt_temp_address = 0x68,
.rt_fan_speed_address = 0x71,
.rt_fan_speed_base_min = 0x19,
.rt_fan_speed_base_max = 0x37,
.bs_fan_speed_address = MSI_EC_ADDR_UNSUPP,
.bs_fan_speed_base_min = 0x00,
.bs_fan_speed_base_max = 0x0f,
},
.gpu = {
.rt_temp_address = MSI_EC_ADDR_UNKNOWN,
.rt_fan_speed_address = 0x89,
},
.leds = {
.micmute_led_address = 0x2c,
.mute_led_address = 0x2d,
.bit = 1,
},
.kbd_bl = {
.bl_mode_address = 0x2c,
.bl_modes = { 0x00, 0x08 }, // 00 - on, 08 - 10 sec auto off
.max_mode = 1,
.bl_state_address = 0xd3,
.state_base_value = 0x80,
.max_state = 3,
},
};

static struct msi_ec_conf *CONFIGURATIONS[] __initdata = {
&CONF0,
&CONF1,
Expand All @@ -2085,6 +2164,7 @@ static struct msi_ec_conf *CONFIGURATIONS[] __initdata = {
&CONF22,
&CONF23,
&CONF24,
&CONF25,
NULL
};

Expand Down

0 comments on commit 853ffe3

Please sign in to comment.