BeardOverflow / msi-ec

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

Firmware Request for MSI Prestige 15-A10SC #160

Open noegodinho opened 2 months ago

noegodinho commented 2 months ago

Laptop model

MSI Prestige 15-A10SC

EC firmware version

16S3EMS1.103

EC memory dump

Sound Off and Mic Off

00000000  00 80 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00000020  00 00 00 00 00 00 00 00  00 00 20 80 fb 06 bf 0b
00000030  03 01 00 05 51 0a 05 00  a0 14 60 3b 71 02 c0 00
00000040  18 15 4f 00 f8 0d 00 00  f5 0a df 3c d6 0b f8 43
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00000060  00 00 00 00 00 00 00 00  31 00 32 3a 41 46 5a 5f
00000070  64 00 00 3a 41 48 50 55  64 00 03 05 05 05 05 03
00000080  00 00 32 3c 46 52 5a 5d  64 00 00 32 41 48 50 55
00000090  64 00 03 05 05 06 03 03  02 00 6e 02 00 66 00 00
000000a0  31 36 53 33 45 4d 53 31  2e 31 30 33 31 31 30 37
000000b0  32 30 31 39 31 37 3a 30  34 3a 33 30 f8 0d 40 40
000000c0  00 07 23 00 00 00 00 00  00 5c 00 00 00 00 14 00
000000d0  00 00 40 00 70 00 00 00  00 00 00 80 00 00 00 00
000000e0  e2 02 00 03 10 00 00 00  00 00 00 00 00 9a 00 bc
000000f0  00 00 80 81 8d 0f 05 00  00 00 00 00 00 00 00 00

Sound On and Mic Off

00000000  00 80 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00000020  00 00 00 00 00 00 00 00  00 00 20 80 fb 06 bf 0b
00000030  03 01 00 05 51 0a 05 00  a0 14 60 3b 71 02 c0 00
00000040  18 15 4f 00 f8 0d 00 00  f5 0a df 3c d7 0b f8 43
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00000060  00 00 00 00 00 00 00 00  32 00 32 3a 41 46 5a 5f
00000070  64 00 00 3a 41 48 50 55  64 00 03 05 05 05 05 03
00000080  00 00 32 3c 46 52 5a 5d  64 00 00 32 41 48 50 55
00000090  64 00 03 05 05 06 03 03  02 00 6e 02 00 66 00 00
000000a0  31 36 53 33 45 4d 53 31  2e 31 30 33 31 31 30 37
000000b0  32 30 31 39 31 37 3a 30  34 3a 33 30 f8 0d 40 40
000000c0  00 07 23 00 00 00 00 00  00 84 00 00 00 00 14 00
000000d0  00 00 40 00 70 00 00 00  00 00 00 80 00 00 00 00
000000e0  e2 02 00 03 10 00 00 00  00 00 00 00 00 9a 00 bc
000000f0  00 00 80 81 8d 0f 05 00  00 00 00 00 00 00 00 00

Sound Off and Mic On

00000000  00 80 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00000010  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00000020  00 00 00 00 00 00 00 00  00 00 20 80 fb 06 bf 0b
00000030  03 01 00 0d 51 0a 05 00  a0 14 60 3b 71 02 c0 00
00000040  18 15 4f 00 f8 0d 00 00  f5 0a df 3c d6 0b f8 43
00000050  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
00000060  00 00 00 00 00 00 00 00  32 00 32 3a 41 46 5a 5f
00000070  64 3a 00 3a 41 48 50 55  64 00 03 05 05 05 05 03
00000080  00 00 32 3c 46 52 5a 5d  64 00 00 32 41 48 50 55
00000090  64 00 03 05 05 06 03 03  02 00 6e 02 00 66 00 00
000000a0  31 36 53 33 45 4d 53 31  2e 31 30 33 31 31 30 37
000000b0  32 30 31 39 31 37 3a 30  34 3a 33 30 f8 0d 40 40
000000c0  00 07 23 00 00 00 00 00  00 7f 00 00 00 8e 14 00
000000d0  00 00 40 00 70 00 00 00  00 00 00 80 00 00 00 00
000000e0  e2 02 00 03 10 00 00 00  00 00 00 00 00 9a 00 bc
000000f0  00 00 80 81 8d 0f 05 00  00 00 00 00 00 00 00 00

GPU

Nvidia

Is your keyboard RGB?

No (single color)

Additional context

Setup: NixOS 24.05, kernel 6.10.6, Nvidia driver 560.35.03

By default, FN keys work, including ESC and POWER LEDs.

By using MControlCenter I have the following extra functionalities:

The following (relevant) thing does not work: F1/F5 LEDs (sound and mic).

With NixOS I cannot install normally the driver due to immutability, but I was able to load it in the configurations. However, when trying to load the driver as debug mode, the following errors emerge:

Dmesg shows:

Probably some older version is loaded on the kernel that does not have debug mode implemented.

glpnk commented 2 months ago

Hi, yes, you need to unload in-kernel version first to load git one.

But this dumps should be enough.

glpnk commented 2 months ago

Your device is WMI1 based, so you can check other WMI1 configs and reuse them as new device config

noegodinho commented 2 months ago

Hi, thank you for the fast reply.

However, I cannot install the driver due to the following errors:

I could not find any kind of NixOS configuration that allowed me to install the latest version.

glpnk commented 2 months ago

You probably don't have kernel headers which used during module building.

I never used NixOS so I don't know how to help you. But in regular distros use DKMS, which backup default module and replace it with new one. Maybe Nix allow similar procedure or support DKMS.

Or you can manually build and replace module, which is violate nix idea, but may work