JafarAkhondali / acer-predator-turbo-and-rgb-keyboard-linux-module

Linux kernel module to support Turbo mode and RGB Keyboard for Acer Predator notebook series
GNU General Public License v3.0
337 stars 59 forks source link

Predator triton 300 getting this issue #123

Open NOEMOJI041 opened 9 months ago

NOEMOJI041 commented 9 months ago

make -C /lib/modules/6.2.0-33-generic/build M=/home/noemoji041/acer/acer-predator-turbo-and-rgb-keyboard-linux-module modules make[1]: Entering directory '/usr/src/linux-headers-6.2.0-33-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 You are using: gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0 CC [M] /home/noemoji041/acer/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.o MODPOST /home/noemoji041/acer/acer-predator-turbo-and-rgb-keyboard-linux-module/Module.symvers CC [M] /home/noemoji041/acer/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.mod.o LD [M] /home/noemoji041/acer/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.ko BTF [M] /home/noemoji041/acer/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.ko Skipping BTF generation for /home/noemoji041/acer/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.ko due to unavailability of vmlinux make[1]: Leaving directory '/usr/src/linux-headers-6.2.0-33-generic' if [ -f "/var/lib/shim-signed/mok/MOK.priv" ] && [ -f "/var/lib/shim-signed/mok/MOK.der" ]; then \ sudo kmodsign sha512 /var/lib/shim-signed/mok/MOK.priv /var/lib/shim-signed/mok/MOK.der src/facer.ko; \ fi rmmod: ERROR: Module acer_wmi is not currently loaded insmod: ERROR: could not insert module src/facer.ko: Key was rejected by service exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' [ 114.071556] audit: type=1107 audit(1696205018.544:82): pid=843 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.6" pid=2867 label="snap.snap-store.ubuntu-software" peer_pid=858 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' [ 114.073728] audit: type=1107 audit(1696205018.548:83): pid=843 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.6" pid=2867 label="snap.snap-store.ubuntu-software" peer_pid=858 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' [ 114.073962] audit: type=1107 audit(1696205018.548:84): pid=843 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call" bus="system" path="/org/freedesktop/PolicyKit1/Authority" interface="org.freedesktop.PolicyKit1.Authority" member="CheckAuthorization" mask="send" name=":1.6" pid=2867 label="snap.snap-store.ubuntu-software" peer_pid=858 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?' [ 114.361221] audit: type=1400 audit(1696205018.836:85): apparmor="DENIED" operation="open" class="file" profile="snap.snap-store.ubuntu-software" name="/etc/appstream.conf" pid=2867 comm="snap-store" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0 [ 130.673422] Loading of module with unavailable key is rejected [ 307.026787] Loading of module with unavailable key is rejected

JafarAkhondali commented 9 months ago

Looks like secure boot is enabled. Disable it and try again. If it didn't work, disable apparmor as well.