Closed Aakarshit-Sharma19 closed 1 year ago
Updated: Check out @AP-XD answer
It's not up to single modules to sign themselves. Upstreaming would handle this, but I don't think it's a priority atm.
Is it possible to sign the module which its trying to load? Since disabling secure boot is an issue with WIN 11 since it needs secure boot so I can't dual boot :(
Ok so after 2 hrs I was able to make it work by signing the module
@AP-XD That's great. Can you share the steps?
W11 requires secure boot support. It doesn't require you to keep it enabled.
W11 requires secure boot support. It doesn't require you to keep it enabled.
Yeah actually yes but in my bios all options were locked out Until today when I came to know that setting supervisor password unlocks them so I signed the module
@AP-XD That's great. Can you share the steps?
Yeah I made a guide for my own future reference I would share that here @Aakarshit-Sharma19
git clone https://github.com/JafarAkhondali/acer-helios-300-rgb-keyboard-linux-module
cd "acer-helios-300-rgb-keyboard-linux-module"
chmod +x ./*.sh
sudo ./install_service.sh
Now We need to sign the module
cd src
sudo openssl \
req \
-new \
-x509 \
-newkey \
rsa:2048 \
-keyout MOK.priv \
-outform DER \
-out MOK.der \
-days 36500
enter all var it asks for like organization password and all
sudo chmod 600 MOK*
sudo mokutil --import MOK.der
reboot and enroll MOK in BIOS
sudo KBUILD_SIGN_PIN="your password which u used to create the key" /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der facer.ko
sudo insmod facer.ko
modinfo facer.ko
cd ..
WAVE WHICH I LIKE THE MOST
sudo ./facer_rgb.py -m 3 -s 5 -b 100
Hey, Is there any way to enable secure boot for the driver and if possible using changes, what should be the changes done to the module. Thanks