Repository navigation
Replies: 1 comment
|
Nope for Honor MagicBook Art 14 (MRA-XXX). |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Huawei PC Manager has a Turbo charge option that lifts the EC's default charge-current cap. On a MateBook X Pro 2024 it moves net charge power from about 6 W to about 25 W with the same charger.
Protocol, from the DSDT (
GI2C, MFID0x02, SFID0x10, which forwards raw EC commands) and from the Windows software: EC command0x02D3, two data bytes{op, value}.{00,00}queries support (out[2] == 1),{00,01}reads the switch,{01,01}and{01,00}set it (out[0] == 0on success). The EC clears it shortly after the charger is unplugged.A working user-space version is at https://github.com/EfrenPech/huawei-turbo-charge. For the driver, I would suggest a read/write
turbo_chargeattribute created only when the support query succeeds, following thefn_lock_statepattern, plus an entry in the sysfs ABI document. Re-applying on plug-in would stay in user space (udev).Two open questions: whether other models implement the same command (I only have one machine), and whether you would rather keep this out of the driver. Reports from other models are collected in the repo's issue template.
All reactions