saidsay-so / acpi_ec

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

Unsigned module loading is restricted #8

Closed abhigit23 closed 3 months ago

abhigit23 commented 1 year ago

acpi_ec is not working with kernel lockdown on archlinux. Same issue was occurred last time when I tested it on Fedora Workstation 37. There's no way to use nbfc-linux on a lockdown kernel without disabling the Secure Boot. Here are the errors which I have gotten while loading the module.

$ sudo modprobe acpi_ec modprobe: ERROR: could not insert 'acpi_ec': Operation not permitted

$ journalctl --follow archlinux kernel: Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7

OS: Arch Linux x86_64 Kernel: 6.2.7-arch1-1 Secure Boot: Enabled Lockdowm mode: Integrity

saidsay-so commented 1 year ago

Did you use the install.sh script? It automatically signs the module to avoid this error.

abhigit23 commented 1 year ago

Yes, I used the install script, reboot the system, added key from the MOK manager. Mokutil also shows the key is present but still idk why it gives unsigned kernel module warning when I enable kernel lockdown.

saidsay-so commented 3 months ago

Sorry for the late answer, if you still have the problem feel free to re-open it.