[Support request] Claw 8 EX AI+ (CG3EM) / 1T91EMS1.101 — battery charge limit
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 66/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Quiet
- Tech stack
- c, linux
- Domain
- backend, operating-systems
Research direction
Read the existing configuration entries and charge control definitions in the driver, then compare the proposed Claw config with a supported model. Add the 1T91EMS1.101 firmware entry using charge control address 0xd7; leave unsupported features disabled as described. Confirm the model registers battery charge control and that the threshold follows the reported 0x80 | percent encoding.
Written by the indexing model from the issue text.
Description
Laptop model
MSI Claw 8 EX AI+ (CG3EM) — handheld (board MS-1T91, Intel Panther Lake)
EC firmware version
1T91EMS1.101
EC Dump
Read-only ec_sys dump (kernel 7.0.12, charge limit currently set to 80% → note 0xd7 = 0xd0):
00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f
0x00: 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x20: 00 00 00 00 00 00 00 00 0a 05 00 00 08 2c 0b 08
0x30: 07 01 00 0d 01 00 50 81 88 13 c8 3c f4 01 c0 00
0x40: 88 13 4d 00 f0 13 00 00 47 0f f4 40 9e 0b 00 46
0x50: 00 00 00 00 00 00 00 00 00 00 00 00 21 2b 20 32
0x60: 00 00 00 00 04 00 09 00 1d 2f 32 39 40 47 4e 55
0x70: 69 3a 46 4a 4c 4e 50 54 5e 5a 30 33 3a 41 48 4f
0x80: 00 2f 32 39 40 47 4e 55 00 3a 46 4a 4c 4e 50 54
0x90: 5e 00 30 33 3a 41 48 4f 06 3c 00 00 00 00 1c 00
0xa0: 31 54 39 31 45 4d 53 31 2e 31 30 31 30 34 32 39
0xb0: 32 30 32 36 31 37 3a 35 32 3a 34 38 00 00 00 00
0xc0: 00 00 07 25 00 00 00 00 00 86 00 84 00 00 00 00
0xd0: 00 00 c1 80 00 00 04 d0 00 09 00 00 00 01 00 00
0xe0: e2 00 00 f0 13 01 00 00 00 00 00 00 00 c0 00 00
0xf0: 00 00 70 00 19 64 00 17 64 00 00 00 00 00 00 00
BIOS version
E1T91IMS.105
GPU
iGPU only (Intel)
Number of fans
No answer / I don't know
Webcam block
- No webcam
- Slider (small thing that covers the camera)
- Camera Button (often on F6 key)
- Camera Toggle Switch (often on the side of case)
- Camera switch in MSI App
Keyboard backlight type
No backlight
Win and FN button location
No answer
Mic and Speaker mute LED
- Speaker mute led
- Mic mute led
- No leds / no mute buttons
Distro name and version
CachyOS ("deckify" edition), kernel 7.0.12-1-cachyos-deckify
Additional context
This is a handheld, so most laptop fields (keyboard backlight, Fn/Win, webcam, mute LEDs) don't apply. I only reverse-engineered and verified the battery charge-limit register; I've left every other feature MSI_EC_ADDR_UNSUPP rather than guess at the Claw's EC layout for fan/shift/LEDs.
Address definitions found:
0xd7— charge control. Encoding is the standard MSIvalue = 0x80 | percent(bit 7 = limit enabled), i.e. the same thingset_end_threshold()already writes.0xa0— FW version string1T91EMS1.101(as expected).
How 0xd7 was verified (three independent sources):
- RWEverything EC diff (Windows): toggling the charge limit in MSI Center M changed exactly one byte —
0xd0at 80%,0xe4at 100% (=0x80|80and0x80|100). - Read-only
ec_sysdump (Linux, above):0xd7 = 0xd0live (the EC kept the 80% Windows setting across reboot).0xd7is also the documented gen2charge_control_address. - Live driver test with the config below:
cat charge_control_end_threshold→ 80;echo 70 >it → EC0xd7 = 0xc6;echo 80 >it →0xd7 = 0xd0.dmesg:ACPI: battery: new hook: msi-ec; KDE Plasma 6 reads the threshold. Charge support auto-detects viaec_check_bit(0xd7, 7), so a limit must have been set once (bit 7 present) for the battery hook to register.
Proposed config (charge control only — no driver code changes, just a new CONFIGURATIONS[] entry; happy to send as a PR):
static const char *ALLOWED_FW_CLAW[] __initconst = {
"1T91EMS1.101", // Claw 8 EX AI+ (CG3EM)
NULL
};
static struct msi_ec_conf CONF_CLAW __initdata = {
.allowed_fw = ALLOWED_FW_CLAW,
.charge_control_address = 0xd7,
.webcam = { .address = MSI_EC_ADDR_UNSUPP, .block_address = MSI_EC_ADDR_UNSUPP, .bit = 1 },
.fn_win_swap = { .address = MSI_EC_ADDR_UNSUPP, .bit = 4, .invert = false },
.cooler_boost = { .address = MSI_EC_ADDR_UNSUPP, .bit = 7 },
.shift_mode = { .address = MSI_EC_ADDR_UNSUPP, .modes = { MSI_EC_MODE_NULL } },
.super_battery = { .address = MSI_EC_ADDR_UNSUPP },
.fan_mode = { .address = MSI_EC_ADDR_UNSUPP, .modes = { MSI_EC_MODE_NULL } },
.cpu = { .rt_temp_address = MSI_EC_ADDR_UNSUPP, .rt_fan_speed_address = MSI_EC_ADDR_UNSUPP },
.gpu = { .rt_temp_address = MSI_EC_ADDR_UNSUPP, .rt_fan_speed_address = MSI_EC_ADDR_UNSUPP },
.leds = { .micmute_led_address = MSI_EC_ADDR_UNSUPP, .mute_led_address = MSI_EC_ADDR_UNSUPP, .bit = 2 },
.kbd_bl = { .bl_mode_address = MSI_EC_ADDR_UNSUPP, .bl_modes = { 0x00, 0x08 }, .max_mode = 1,
.bl_state_address = MSI_EC_ADDR_UNSUPP, .state_base_value = 0x80, .max_state = 3 },
};
I'm glad to collect dumps for the other features (fan/shift/LED) if you'd like the Claw entry fleshed out — but I'd want to verify each register the same way before enabling any writes on a handheld.
LLM Usage
YES
LLM Used (if any)
Claude Opus 4.8
Agent Used (if any)
Claude Code
Tasks given to the AI
Reverse-engineering and verification of the charge-limit EC register: diffing RWEverything EC dumps (limit at 80% vs 100%) on Windows, cross-checking a read-only ec_sys dump on Linux, identifying register 0xd7 with 0x80|percent encoding, writing and testing a minimal msi-ec config (charge control only), building/verifying it via DKMS, and drafting this report. All EC findings were independently confirmed against the live hardware before submission.
- Dominant language
- C
- Stars
- 507
- Forks
- 172
- Avg merge
- 7d 12h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MControlSuite/msi-ec
-
New firmware
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
MControlSuite/msi-ec#905 ·
-
New firmware
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
MControlSuite/msi-ec#842 ·
-
bug packaging
Difficulty 1/5 Under an hour Newbie friendliness 62/100
MControlSuite/msi-ec#832 ·
-
[Support request] MSI GT75 Titan 10SF, board MS-17A6, BIOS E17A6IMS.302, EC Version 17A6EMS1.103OpenNew firmware
Difficulty 4/5 Over a week Newbie friendliness 15/100
MControlSuite/msi-ec#904 ·
-
New firmware
Difficulty 4/5 3-5 days Newbie friendliness 15/100
MControlSuite/msi-ec#903 ·
All issues in MControlSuite/msi-ec
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 5 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
es-ude/OnDeviceTraining#549 ·
Maintainers usually reply within 1 day
-
riscv
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
intel/isa-l_crypto#181 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100