saidsay-so / acpi_ec

Kernel module to access directly to the ACPI EC.
GNU General Public License v3.0
45 stars 7 forks source link

Module not loading with SecureBoot enabled, key rejected #18

Open debbie-drg opened 1 month ago

debbie-drg commented 1 month ago

I've installed the module, the script generated the key and asked for a password, I enrolled the key after rebooting but the module doesn't load. I tried to use modprobe and it returns an error saying the key has been rejected. The module works correctly with SecureBoot disabled. I'm using Fedora 40. Other self-signed kernel modules (eg the Nvidia driver kernel module) work fine on my system.

Lunatic16 commented 1 month ago

I've installed the module, the script generated the key and asked for a password, I enrolled the key after rebooting but the module doesn't load. I tried to use modprobe and it returns an error saying the key has been rejected. The module works correctly with SecureBoot disabled. I'm using Fedora 40. Other self-signed kernel modules (eg the Nvidia driver kernel module) work fine on my system.

Had the same problem with Fedora 40 and Secureboot. It is a problem with script not adding the public MOK it created

I just did it manually and it worked: sudo mokutil --import /var/lib/dkms/mok.pub