-
Notifications
You must be signed in to change notification settings - Fork 46
Contributing
teackot edited this page Sep 18, 2023
·
4 revisions
WIP
Get the latest version of the driver, build it and load it in the debug mode:
make
sudo make load-debug
You can also reload the driver if you have already loaded it previously:
sudo make reload-debug
Make sure the driver is working
Load the driver in the debug mode and check the /sys/devices/platform/msi-ec/debug/fw_version
file.
- Install MSI system drivers
- Install soundcard driver if keyboard has mute and micmute leds
- Install MSI app for your model
- Open RWEverything, select Embedded Controller (EC) menu
- Save current values, load it by pressing Compare button, then press Compare button second time. Changed values which differ from the saved ones will be highlighted in red color. If the values are red but remain the same, you forgot to click Compare a second time.
- Switch available modes in MSI app, find and write down addresses of changed values.
- Save obtained data, if necessary repeat step 5-6
First, get an EC dump:
cat /sys/devices/platform/msi-ec/debug/ec_dump
You can also watch the EC memory in real time:
watch -d -n1 'cat /sys/devices/platform/msi-ec/debug/ec_dump'
(...)