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

Not working on Ubuntu 23.10 #128

Open deppy-v2 opened 8 months ago

deppy-v2 commented 8 months ago

It used to work earlier but after a fresh install of Ubuntu 23.10 it is not working. In fact the default red lights even switch off after the install script is run. Here is the install log

do ./install.sh make -C /lib/modules/6.5.0-10-generic/build M=/home/deppy/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module modules make[1]: Entering directory '/usr/src/linux-headers-6.5.0-10-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 You are using: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 CC [M] /home/deppy/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.o /home/deppy/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.c:1846:20: warning: ‘WMID_gaming_get_u64’ defined but not used [-Wunused-function] 1846 | static acpi_status WMID_gaming_get_u64(u64 value, u32 cap) | ^~~~~~~ MODPOST /home/deppy/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/Module.symvers CC [M] /home/deppy/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.mod.o LD [M] /home/deppy/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.ko BTF [M] /home/deppy/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.ko Skipping BTF generation for /home/deppy/Downloads/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.5.0-10-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 exe="/usr/bin/dbus-daemon" sauid=101 hostname=? addr=? terminal=?' [ 623.898558] audit: type=1107 audit(1698650383.784:165): pid=937 uid=101 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.12" mask="receive" pid=4142 label="snap.firefox.firefox" peer_pid=997 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=101 hostname=? addr=? terminal=?' [ 625.428260] audit: type=1107 audit(1698650385.312:166): pid=937 uid=101 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.12" mask="receive" pid=4142 label="snap.firefox.firefox" peer_pid=997 peer_label="unconfined" exe="/usr/bin/dbus-daemon" sauid=101 hostname=? addr=? terminal=?' [ 651.792179] acer_wmi: Acer Laptop WMI Extras unloaded [ 651.836840] facer: module verification failed: signature and/or required key missing - tainting kernel [ 651.837950] facer: Acer Laptop ACPI-WMI Extras [ 651.837979] facer: Function bitmap for Communication Button: 0x801 [ 651.849703] input: Acer WMI hotkeys as /devices/virtual/input/input28 [] Done

JafarAkhondali commented 8 months ago

Looks like an issue related to secureboot/app armor. Try uninstall, disable apparmor and secure boot, reboot, and install again

deppy-v2 commented 8 months ago

Hi, thanks for replying. SecureBoot is not active, since I multiboot, I tried disabling apparmor and it did not work. After that I purged the package, but still it did not install. Also Ubuntu started complaining so I had to re-install.

BTW, I was able to resolve the 'Skipping BTF generation' error now, but still apparmour error remains. Also my keyboard lights go totally out (not even the default red) and does not appear even after reboot after I run this script even once