BeardOverflow / msi-ec

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

Any chance for MSI CX623 MS-168A (E168AIMS.10E) ? #35

Open nyx191 opened 1 year ago

nyx191 commented 1 year ago

https://www.msi.com/Laptop/CX623/support#firmware dmidecode.txt

giga-bytes-dev commented 1 year ago

Do you have installed windows on this notebook now?

giga-bytes-dev commented 1 year ago

Do you have windows and software from msi on noteboot?

nyx191 commented 1 year ago

Do you have windows and software from msi on noteboot?

Unfortunately, no. But I can try to use VM or smth. What program(s) output do you need?

giga-bytes-dev commented 1 year ago

can you dump your ec with http://smackerelofopinion.blogspot.com/2011/06/dumping-contents-of-embedded-contoller.html ?

teackot commented 1 year ago

Hi!

But I can try to use VM or smth

VM won't work since it doesn't have access to ACPI.

Like @giga-bytes-dev said, we need an EC memory dump. The method they provided in the link may work, but if it doesn't, that means your distro doesn't ship ec_sys module. In this case, please try using acpi_ec and ISW-Modern:

To install:

git clone https://github.com/FaridZelli/acpi_ec.git
cd acpi_ec
sudo ./install.sh

cd ..

git clone https://github.com/FaridZelli/ISW-Modern.git
cd ISW-Modern
sudo bash ./install.sh

And then run this command to get an EC dump:

sudo isw -c
nyx191 commented 1 year ago

Maybe my laptop is too ancient ...

$ grep EC /proc/ioports
    0000-0000 : EC data
    0000-0000 : EC cmd
# tree /sys/kernel/debug/ec
/sys/kernel/debug/ec
`-- ec0
    |-- gpe
    |-- io
    `-- use_global_lock

2 directories, 3 files
# cat /sys/kernel/debug/ec/ec0/io > ec0.bin
# cat /sys/kernel/debug/ec/ec0/gpe > gpe0.bin

ec0.bin contains only 256 bytes of data I also downloaded and attached firmware from MSI website: 168AEMS1.404 ms168a.tar.gz