Closed glpnk closed 1 month ago
MicMute LED not present
add manual fan mode
114 version seems suspicious or messed by windows app
I think we need submit all version range 114..=118
@cpiber Please confirm do you have keyboard backlight?
Do you use windows on this laptop earlier/dualboot? If yes - do you set fan mode to manual (with fan curve settings)?
@glpnk Yes, the keyboard backlight works, with 4 brightness levels (also on Linux)
MicMute LED not present
I do have a MIC mute, but the webcam is a physical switch and cannot be toggled via software I think.
Do you use windows on this laptop earlier/dualboot? If yes - do you set fan mode to manual (with fan curve settings)?
I do, I can change them, but only for "High performance", there I see two tabs for CPU and GPU
there I see two tabs for CPU and GPU
How it look like?
the webcam is a physical switch and cannot be toggled via software I think
I now checked it on photo, thanks! Actually it can be setted from software. Also F6
button is soft toggle and this switch is lock for switch.
On photo led on mic button is missing, on audio mute is present
there I see two tabs for CPU and GPU
How it look like?
I didn't capture a screenshot, but for the High Performance mode, I can choose the fan control between Auto, Advanced (leads to the setting shown) and Cooler Boost.
the webcam is a physical switch and cannot be toggled via software I think
I now checked it on photo, thanks! Actually it can be setted from software. Also
F6
button is soft toggle and this switch is lock for switch.
The F6 key isn't a toggle, it's just a shortcut for the camera app, the switch is a physical switch on the side of the device. Even the Control Center can't toggle the webcam
Yes, the keyboard backlight works, with 4 brightness levels
4 levels including off?
How many coolers you have? Do you have GPU or only in CPU?
Can you help to verify some values using this tool on Windows? https://github.com/ThePBone/MsiEcRamEditor Check next addresses:
0xD7
- for charge limit. two modes will be enough0x2E
and 0x2F
- for webcam toggle switch0x2C
for keyboard backlit timer (which on last screenshot)0xEB
- for super batteryIf you want - try to find what is Tile
and it's address, panel brightness address (this values could be not EC related)
Update:
By photo looks like your laptop has 2 coolers, but it shoot at weird angle and no photo of bottom.
4 levels including off?
yes
How many coolers you have? Do you have GPU or only in CPU?
It claims both, but MControlCenter only ever shows the first fan to have any RPM, so not sure.
I will check the rest tomorrow, it's already quite late in my timezone
If you want - try to find what is Tile and it's address, panel brightness address (this values could be not EC related)
Tile just toggles the corresponding setting in the BIOS, for this i think: https://www.msi.com/Landing/MSIxTile/nb
For charge limit I switched to "AI Charger" (0xd7 = 0xe4
), then "Best for Mobility" (again 0xd7 = 0xe4
), then "Balanced" (0xd7 = 0xd0
), then "Best for Battery" (0xd7 = 0xbc
).
Then tried around with the webcam. When the physical switch is off, both values are set to 0x08
. When I switch it on, initially nothing happens, then both switch to 0x0a
. I can now use the F6 button (you were right, there's just no indicator), when I disable then 0x2e
switches to 0x08
, 0x2f
stays at 0x0a
. Disabling using the physical switch resets both to 0x08
after some time.
I set the keyboard backlight to "Always on" (0x2c = 0x00
), then back to "Auto turn off in 10 sec" (0x2c = 0x80
).
0xeb
is 0x00
for other modes and 0x0f
for super battery.
The values above I got by manually checking the specified addresses. I tried excluding some of the randomly changing addresses and still can't seem to find a difference between "AI Charger" and "Best for Mobility" (maybe 0x4c
, it seems to only change sometimes when "AI Charger" is selected).
Tile: Seems to be 0xe9
, with 0x06
for ON and 0x04
for OFF (but only applies after restart, haven't checked how it looks after that, tests done with OFF).
Panel brightness: Can't seem to find it, though maybe I accidentally ignored it in the log. Note that the brightness works out of the box on linux.
By photo looks like your laptop has 2 coolers, but it shoot at weird angle and no photo of bottom.
I can get you some more photos if you need them.
Thanks, I think it's anough. "AI" modes possibly is internal logic of program and not related to EC and BIOS.
@cpiber Hi, are you still using this laptop? I've added results of your research, so you can test it. Also, I forgot to ask you about keyboard backlight level address, so entered default for test purpose. You can change light level with key and read current state to check if it changed. https://github.com/glpnk/msi-ec/tree/14F1EMS1
cat /sys/class/leds/msiacpi::kbd_backlight/brightness
echo <value 0-3> | sudo tee /sys/class/leds/msiacpi::kbd_backlight/brightness
To install: Download with
git clone -b 14F1EMS1 https://github.com/glpnk/msi-ec.git
Make and load
make
sudo rmmod msi-ec
sudo make load
Yes, this laptop is my main driver, and I expect to use it for quite some time.
Keyboard backlight works fine.
I tested all the values mentioned in the Readme, and they seem to work fine (battery mode and shift mode seem reasonable, haven't tested extensively). cpu/basic_fan_speed
and gpu/realtime_temperature
don't seem to be available though.
For the LED subsystem, I noticed that only the mute LED is available. I have an fn lock LED on the ESC key, mute on F1, mic mute on F5 and CAPS lock (plus of course power).
Thank you for your work!
It is only possible to control mute LEDs and keyboard backlight. In your case only audio mute and keyboard. Does keyboard backlight level is reported to Linux? Because previous maintainer say that it is not working and not add it to driver.
It is only possible to control mute LEDs and keyboard backlight.
brightnessctl
lists all 5 LEDs without msi-ec, though not all of them seem controllable.
With msi-ec, the mute LED shows up from msi-ec and is controllable (the one from input15 does not work)
Does keyboard backlight level is reported to Linux?
I can control it with brightnessctl
Fine, I PR it
I merged the PR, you can switch to the main branch
Laptop model
Summit E14Evo A12M
EC firmware version
14F1EMS1.115
(#30) + new versions114
,118
; mentioned in changelog116
#79,117
EC memory dump
14f1ems1.114
14f1ems1.115 #30 #24
14f1ems1.118
GPU
iGPU Intel
Is your keyboard RGB?
Single color
Additional context
24 #30
FW/CONF on msi-ec.c
8
Credits: @giga-bytes-dev @cpiber