dmitry-s93 / MControlCenter

An application that allows you to change the settings of MSI laptops running Linux
GNU General Public License v3.0
242 stars 61 forks source link

ec_sys fails to load (in Solus Plasma) #148

Open brucetheelephant opened 8 months ago

brucetheelephant commented 8 months ago

Hello!

I have a problem. I'm getting the following message at program start:

Screenshot_20240127_150307 When the app loads all options are disabled:

Screenshot_20240127_150556 First of all: Yes, Secure Boot has (always) been disabled.

Now: I have tried to resolve this with the help of distribution devs and forum members.

This is what I have done so far:

  1. As per the ArchWiki Kernel Module Page I made a file ec_sys.conf with the contents ec_sys and I placed it in /etc/modules-load.d/. I made a file ec_sys.conf with the contents options ec_sys write_support=1 and I placed it in /etc/modprobe.d/.
  2. I did a reboot.
  3. After login I opened the terminal and I did lsmod | grep ec_sys. This is the result: ec_sys 12288 0.

When I start the app I get the aforementioned error.

My system information is:

Operating System: Solus 4.5 KDE Plasma Version: 5.27.10 KDE Frameworks Version: 5.114.0 Qt Version: 5.15.12 Kernel Version: 6.6.11-270.current (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i5-10300H CPU @ 2.50GHz Memory: 15.4 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2 Manufacturer: Micro-Star International Co., Ltd. Product Name: GF65 Thin 10SDR System Version: REV:1.0

Can someone help me?

Am I doing something wrong?

Thank you!

brucetheelephant commented 7 months ago

Hmm .. is this still being maintained?

dmitry-s93 commented 5 months ago

Hello Is there a file "io" at /sys/kernel/debug/ec/ec0"?

brucetheelephant commented 5 months ago

Hello @dmitry-s93! Yes, there is an io file but it is empty. However, I have just tried rerunning the program now and it seems to work. Some sections still have options grayed out: all options in the Mode section are grayed out and Keyboard Backlit and USB Power Share in the Settings sections are grayed out as well. All other options can be tweaked apparently, I'll have to check.

llTheBlankll commented 2 months ago

I've just encountered this problem, any known fix? I've did the same thing.