Description of problem: In order to run MControlCenter, which is a neat Free and Open Source GNU/Linux application that allows to change the settings of MSI laptops, it is required to have ec_sys module with option write_support=1 It means the ec_sys kernel module needs to be included in the kernel; alternatively, it looks like the acpi_ec kernel module would be suitable as well. Is it something which can be added to our kernel? Link to MControlCenter: https://github.com/dmitry-s93/MControlCenter I just packaged it and it went smoothly. It starts well but it is useless unless the mentioned modules are loaded. Thanks!
Source RPM: ACPI Error: Could not disable RealTimeClock events (20230331/evxfevnt-243) => kernel-6.5.13-6.mga9.src.rpm
Running m9 with the server flavor of the kernel here. # zgrep EC /proc/config.gz|grep -i sys CONFIG_FB_SYS_FILLRECT=y CONFIG_CROS_EC_SYSFS=m CONFIG_RPCSEC_GSS_KRB5_CRYPTOSYSTEM=y # locate ec|grep -i sys|grep '\.ko\.'|sort -V|head -n 1 /usr/lib/modules/6.5.13-server-1.mga9/kernel/drivers/platform/chrome/cros_ec_sysfs.ko.xz Try running "modprobe -v cros_ec_sysfs". If that fixes it add a file to /etc/modules-load.d/ with a file name ending with .conf, and one line with cros_ec_sysfs If loading that module doesn't fix it, it will likely require getting a dkms version of the needed module, from https://github.com/junocomp/ec-sys-dkms/blob/main/README.md If that fixes the issue, change this to a new package request for the dkms module.
CC: (none) => davidwhodgins
(In reply to Dave Hodgins from comment #1) > Running m9 with the server flavor of the kernel here. > # zgrep EC /proc/config.gz|grep -i sys > CONFIG_FB_SYS_FILLRECT=y > CONFIG_CROS_EC_SYSFS=m > CONFIG_RPCSEC_GSS_KRB5_CRYPTOSYSTEM=y > > # locate ec|grep -i sys|grep '\.ko\.'|sort -V|head -n 1 > /usr/lib/modules/6.5.13-server-1.mga9/kernel/drivers/platform/chrome/ > cros_ec_sysfs.ko.xz > > Try running "modprobe -v cros_ec_sysfs". If that fixes it add a file to > /etc/modules-load.d/ with a file name ending with .conf, and one line with > cros_ec_sysfs > > If loading that module doesn't fix it, it will likely require getting a dkms > version of the needed module, from > https://github.com/junocomp/ec-sys-dkms/blob/main/README.md > > If that fixes the issue, change this to a new package request for the dkms > module. Thank you so much Dave for these hints. From a packaging perspective, should I go directly to the dkms additional package?
I'd try loading cros_ec_sysfs first, otherwise yes go for adding the dkms package as it's needed for hardware support.
Hi. Loading cros_ec_sysfs doesn't help. I will give a try to package the dkms.
Hi. The package of MControlCenter is ready, bringing a dkms package for ec_sys with it. Just tested on a MSI Modern 15 B7M laptop. Ok to push into Cauldron?
Assignee: kernel => chb0Component: RPM Packages => New RPM package requestVersion: 9 => CauldronSummary: Add ec_sys and/or acpi_ec kernel modules to run MControlCenter => Bring ec_sys dkms and MControlCenter for MSI laptopsSource RPM: kernel-6.5.13-6.mga9.src.rpm => mcontrolcenter-msi