BeardOverflow / msi-ec

GNU General Public License v2.0
140 stars 41 forks source link

Drivers not installed #149

Open ankhafizov opened 1 month ago

ankhafizov commented 1 month ago

Laptop model

MSI Creator-Z16P-B12UHST

EC firmware version

cat: /sys/devices/platform/msi-ec/fw_version: No such file or directory

Description

I have executed

(base) ankhafizov@ankhafizov-Creator-Z16P-B12UHST:~/msi-ec$ sudo make dkms-install
dkms --version >> /dev/null
mkdir -p /usr/src/msi_ec-0.08
cp /home/ankhafizov/msi-ec/dkms.conf /usr/src/msi_ec-0.08
cp /home/ankhafizov/msi-ec/Makefile /usr/src/msi_ec-0.08
cp /home/ankhafizov/msi-ec/msi-ec.c /usr/src/msi_ec-0.08
cp /home/ankhafizov/msi-ec/ec_memory_configuration.h /usr/src/msi_ec-0.08
sed -e "s/@CFLGS@//" \
    -e "s/@VERSION@/0.08/" \
    -i /usr/src/msi_ec-0.08/dkms.conf
dkms add msi_ec/0.08
Creating symlink /var/lib/dkms/msi_ec/0.08/source -> /usr/src/msi_ec-0.08
dkms build msi_ec/0.08
Sign command: /usr/bin/kmodsign
Signing key: /var/lib/shim-signed/mok/MOK.priv
Public certificate (MOK): /var/lib/shim-signed/mok/MOK.der

Building module:
Cleaning build area...
make -j20 KERNELRELEASE=6.8.0-39-generic TARGET=6.8.0-39-generic CFLAGS_MODULE+=...
Signing module /var/lib/dkms/msi_ec/0.08/build/msi-ec.ko
Cleaning build area...
dkms install msi_ec/0.08

msi-ec.ko.zst:
Running module version sanity check.
 - Original module
 - Installation
   - Installing to /lib/modules/6.8.0-39-generic/updates/dkms/
depmod...
echo msi-ec > /etc/modules-load.d/msi-ec.conf

but

image

ankhafizov commented 1 month ago

image

ankhafizov commented 1 month ago

image

mutchiko commented 1 month ago

Check if your device is supported before attempting to install and use the driver. The list of supported devices can be found here

your device is not supported (yet): https://www.msi.com/Content-Creation/Creator-Z16P-B12UX/support?sub_product=Creator-Z16P-B12UHST#driver

support page doesn't show EC firmware, does this laptop even use EC?

glpnk commented 1 month ago

Hi @ankhafizov, after dkms-install module is not loaded automatically, and because module is upstreamed to kernel, you need to unload kernel built-in module and then load git version.

But because your device is not yet supported, you need to follow the guide from new model issue template to send your EC dump. Your device is WMI2 based, so you can use other WMI2 based device as reference

ankhafizov commented 1 month ago

Thank you all! Yes, device supports EC. At least cooler boost work with https://github.com/FaridZelli/ISW-Modern that is based on acpi_ec

mutchiko commented 3 weeks ago

if you want to help us support your laptop you can try following this guide : https://github.com/mutchiko/msi-ec/wiki/How-To-Get-Your-Device-Supported

teackot commented 3 weeks ago

@mutchiko that's a great guide, would you like to submit a PR to add it here? As a regular file though, I find the wiki less discoverable and more difficult to contribute to