Open teackot opened 1 week ago
Is it your new laptop? Or just issue repost from other repo?
Yes, it's mine. My previous one (Prestige 14) is still around though
Nice, I'm found a way to test the WMI events, which fires on fn-lock and similar laptop things
Basically, you need to set SCM bit and listen to events with modded msi-wmi module from ~2010
you need to set SCM bit
You mean a WMI method or an EC bit?
On wmi2 device you can access any (255 of 256) byte of EC mapped to regions, or just by address, with get/set_data wmi method, which byte you can check in https://github.com/BeardOverflow/msi-ec/discussions/98#discussioncomment-9817838
tldr:
If you want to test events, just make, unload and load this module and check dmesg -w
. It's roughly coded but works. (only for ACPI_BUFFER's)
You can check changes made to sources with some diff tool
https://github.com/torvalds/linux/blob/master/drivers/platform/x86/msi-wmi.c
Or add this code between lines 221-222
} else if (obj && obj->type == ACPI_TYPE_BUFFER) {
pr_info("Got buffer, len: %d\n", obj->buffer.length);
pr_info("Array: [");
for (int i = 0; i < obj->buffer.length; i++) {
printk("0x%X,", obj->buffer.pointer[i]);
}
printk("]\n");
I don't found how to print arrays in one like to kernel log, so it's a bit messed
Laptop model
MSI Summit E14 Flip Evo A13MT
EC firmware version
14F1EMS1.209
EC memory dump
GPU
iGPU only (Intel)
Is your keyboard RGB?
No (single color)
Additional context
Got myself a new laptop
User scenarios
Advanced fan curve
0x71 - current choice 0x72..0x77 - fan curve
Keyboard Backlight
0x2c: always on - 00, 10sec - 08 0xd3: state
USB Power Share
0xbf bit 5 (08/28)
Fn <-> Win
0xe8 bit 4 invert = false