Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GF63 Thin 9SC #169

Open
yuan-0816 opened this issue Oct 15, 2024 · 5 comments
Open

GF63 Thin 9SC #169

yuan-0816 opened this issue Oct 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@yuan-0816
Copy link

Laptop model

GF63 Thin 9SC

EC firmware version

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

Description

I can not install, maybe problem is 6.8.0-45-generic

yuan@msi-ubuntu:~$ git clone https://github.com/BeardOverflow/msi-ec && cd msi-ec
Cloning into 'msi-ec'...
remote: Enumerating objects: 854, done.
remote: Counting objects: 100% (437/437), done.
remote: Compressing objects: 100% (196/196), done.
remote: Total 854 (delta 273), reused 293 (delta 219), pack-reused 417 (from 1)
Receiving objects: 100% (854/854), 236.46 KiB | 786.00 KiB/s, done.
Resolving deltas: 100% (508/508), done.

yuan@msi-ubuntu:~/msi-ec$ make older-kernel-patch
git apply older-kernel.patch
error: patch failed: msi-ec.c:45
error: msi-ec.c: patch does not apply
make: *** [Makefile:16: older-kernel-patch] Error 1

yuan@msi-ubuntu:~/msi-ec$ make 6.11-kernel-patch
git apply 6.11-kernel.patch

yuan@msi-ubuntu:~/msi-ec$ which dkms
/usr/sbin/dkms

yuan@msi-ubuntu:~/msi-ec$ sudo make dkms-install
dkms --version >> /dev/null
mkdir -p /usr/src/msi_ec-0.08
cp /home/yuan/msi-ec/dkms.conf /usr/src/msi_ec-0.08
cp /home/yuan/msi-ec/Makefile /usr/src/msi_ec-0.08
cp /home/yuan/msi-ec/msi-ec.c /usr/src/msi_ec-0.08
cp /home/yuan/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
Error! DKMS tree already contains: msi_ec-0.08
You cannot add the same module/version combo more than once.
make: *** [Makefile:58: dkms-install] Error 3

yuan@msi-ubuntu:~/msi-ec$ uname -r
6.8.0-45-generic
@yuan-0816 yuan-0816 added the bug Something isn't working label Oct 15, 2024
@glpnk
Copy link
Contributor

glpnk commented Oct 15, 2024

You don't need to apply any patches for you kernel.

Probably you installed msi-ec previously, so you need to remove it first with:

sudo make dkms-uninstall

Then run install

sudo make dkms-install

And reboot to load module and allow service so find new features

@yuan-0816
Copy link
Author

yuan-0816 commented Oct 15, 2024

this is my result

yuan@msi-ubuntu:~$ sudo make dkms-uninstall
[sudo] password for yuan: 
make: *** No rule to make target 'dkms-uninstall'.  Stop.

I didn't installed msi-ec before

Thank you for the quick reply

@glpnk
Copy link
Contributor

glpnk commented Oct 15, 2024

You need to cd to project directory first or open terminal there

@yuan-0816
Copy link
Author

Hello, I have successfully managed to control the fans and other components. I've currently made a simple UI to conveniently control my computer's devices.
Here is my project: https://github.com/yuan-0816/mis-ec-UI/tree/main.
I'm a beginner, but I want to make this community more user-friendly.

@glpnk
Copy link
Contributor

glpnk commented Oct 19, 2024

Nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants