BeardOverflow / msi-ec

GNU General Public License v2.0
145 stars 45 forks source link

Add `Katana 17 B11UCX` support #93

Closed fuckgithubanyway closed 10 months ago

fuckgithubanyway commented 10 months ago

Added config for: 17L2EMS1.108

In addition to the items established by the driver format, the addresses of the following parameters are also included (indicated in the comments, in case the functionality is expanded):

teackot commented 10 months ago

Hi! Thanks for your PR!

Can you please attach an EC dump from the debug mode here, so we can verify that everything is right and safe (and for the record)

fuckgithubanyway commented 10 months ago

Hello @teackot . Do you need one dump? ))) Or are you expecting a series of dump screenshots + temperature readings (for example), etc.?

fuckgithubanyway commented 10 months ago

device: MSI Katana 17 B11UCX-897XRU -family: GF -version: REV:1.0

motherboard: MS-17L2 *-firmware: E17L2IMS.317

CPU: 11th Gen Intel(R) Core(TM) i5-11260H @ 2.60GHz iGPU: TigerLake-H GT1 [UHD Graphics] dGPU: GA107 [GeForce RTX 2050]

EC firmware version: 17L2EMS1.108

EC_dump in default state:

     | _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _a _b _c _d _e _f
-----+------------------------------------------------
0x0_ | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1_ | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x2_ | 00 00 00 00 00 00 00 00 0a 05 00 00 00 04 0b 0b
0x3_ | 02 05 00 0d 00 00 50 81 d2 11 88 2c c8 01 c0 00
0x4_ | f8 11 36 00 cb 11 90 fb 78 09 04 2c c1 0b fa 32
0x5_ | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x6_ | 00 00 00 00 00 00 00 00 25 00 37 40 49 4c 52 58
0x7_ | 64 26 26 2b 30 36 3c 46 55 64 08 03 03 03 03 03
0x8_ | 00 00 37 3d 43 49 4f 54 63 00 00 2b 30 36 3c 46
0x9_ | 55 64 08 03 03 03 03 02 02 0f 7d 02 0a 78 32 00
0xa_ | 31 37 4c 32 45 4d 53 31 2e 31 30 38 30 34 31 30
0xb_ | 32 30 32 33 31 33 3a 34 34 3a 34 32 00 00 00 08
0xc_ | 00 00 01 25 00 00 00 00 00 d3 00 00 00 00 00 00
0xd_ | 00 00 c1 81 0d 00 05 bc 00 01 00 00 00 00 00 00
0xe_ | e2 00 00 cb 11 00 00 40 40 00 00 00 00 d1 00 00
0xf_ | 00 00 70 00 00 64 00 00 64 00 00 00 00 00 00 00

EC_dump in charging + cooler_boost + micmute_led is on + kbd_bl is off + webcam is off :

     | _0 _1 _2 _3 _4 _5 _6 _7 _8 _9 _a _b _c _d _e _f
-----+------------------------------------------------
0x0_ | 00 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1_ | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x2_ | 00 00 00 00 00 00 00 00 0a 05 00 00 02 04 09 0b
0x3_ | 03 01 00 0d 01 00 50 81 d2 11 88 2c c8 01 c0 00
0x4_ | f8 11 34 00 cb 11 00 00 2d 09 fa 2c ca 0b fa 32
0x5_ | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x6_ | 00 00 00 00 00 00 00 00 26 00 37 40 49 4c 52 58
0x7_ | 64 26 26 2b 30 36 3c 46 55 64 08 03 03 03 03 03
0x8_ | 21 00 37 3d 43 49 4f 54 63 00 00 2b 30 36 3c 46
0x9_ | 55 64 08 03 03 03 03 02 82 0f 7d 02 0a 78 35 00
0xa_ | 31 37 4c 32 45 4d 53 31 2e 31 30 38 30 34 31 30
0xb_ | 32 30 32 33 31 33 3a 34 34 3a 34 32 00 00 00 08
0xc_ | 00 00 01 25 00 00 00 00 00 54 00 51 00 00 00 00
0xd_ | 00 00 c1 80 0d 00 05 bc 00 01 00 00 00 00 00 00
0xe_ | e2 00 00 cb 11 00 00 40 40 00 00 00 00 c0 00 00
0xf_ | 00 00 70 00 00 64 00 00 64 00 00 00 00 00 00 00

Is this suitable?