acer-predator-turbo-and-rgb-keyboard-linux-module icon indicating copy to clipboard operation
acer-predator-turbo-and-rgb-keyboard-linux-module copied to clipboard

Kernel 6.11 magic changes error the install

Open xAlpharax opened this issue 4 months ago • 3 comments

Model: Nitro AN515-45

Count of keyboard RGB zones: 4

Count of Cpu Fans: 1

Count of Gpu Fans: 1

RGB keyboard works? No

Turbo button turn on fans? No

Turbo button turn on LED? No

Turbo button activates overclock? No

alphara@deltarion ~/dev/acer-rgb-turbo> sudo ./install.sh make -C /lib/modules/6.11.0_1/build M=/home/alphara/dev/acer-rgb-turbo modules make[1]: Entering directory '/usr/src/kernel-headers-6.11.0_1' CC [M] /home/alphara/dev/acer-rgb-turbo/src/facer.o /home/alphara/dev/acer-rgb-turbo/src/facer.c:1946:6: warning: no previous prototype for 'WMID_gaming_set_fan_mode' [-Wmissing-prototypes] 1946 | void WMID_gaming_set_fan_mode(u8 fan_mode) | ^~~~~~~~~~~~~~~~~~~~~~~~ /home/alphara/dev/acer-rgb-turbo/src/facer.c:3102:27: error: initialization of 'void (*)(struct platform_device )' from incompatible pointer type 'int ()(struct platform_device *)' [-Werror=incompatible-pointer-types] 3102 | .remove = acer_platform_remove, | ^~~~~~~~~~~~~~~~~~~~ /home/alphara/dev/acer-rgb-turbo/src/facer.c:3102:27: note: (near initialization for 'acer_platform_driver..remove') /home/alphara/dev/acer-rgb-turbo/src/facer.c:1921:20: warning: 'WMID_gaming_get_u64' defined but not used [-Wunused-function] 1921 | static acpi_status WMID_gaming_get_u64(u64 value, u32 cap) | ^~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[3]: *** [scripts/Makefile.build:244: /home/alphara/dev/acer-rgb-turbo/src/facer.o] Error 1 make[2]: *** [/usr/src/kernel-headers-6.11.0_1/Makefile:1926: /home/alphara/dev/acer-rgb-turbo] Error 2 make[1]: *** [Makefile:224: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/kernel-headers-6.11.0_1' make: *** [Makefile:14: default] Error 2 rmmod: ERROR: Module acer_wmi is not currently loaded insmod: ERROR: could not insert module src/facer.ko: Invalid module format [ 693.002890] facer: version magic '6.10.11_1 SMP preempt mod_unload ' should be '6.11.0_1 SMP preempt mod_unload ' [ 705.297447] facer: version magic '6.10.11_1 SMP preempt mod_unload ' should be '6.11.0_1 SMP preempt mod_unload ' [ 710.134953] facer: version magic '6.10.11_1 SMP preempt mod_unload ' should be '6.11.0_1 SMP preempt mod_unload ' [ 715.129201] facer: version magic '6.10.11_1 SMP preempt mod_unload ' should be '6.11.0_1 SMP preempt mod_unload ' [ 766.055936] facer: version magic '6.10.11_1 SMP preempt mod_unload ' should be '6.11.0_1 SMP preempt mod_unload ' [ 771.953623] facer: version magic '6.10.11_1 SMP preempt mod_unload ' should be '6.11.0_1 SMP preempt mod_unload ' [ 787.099029] facer: version magic '6.10.11_1 SMP preempt mod_unload ' should be '6.11.0_1 SMP preempt mod_unload ' [ 815.495830] facer: version magic '6.10.11_1 SMP preempt mod_unload ' should be '6.11.0_1 SMP preempt mod_unload ' [ 868.343132] facer: version magic '6.10.11_1 SMP preempt mod_unload ' should be '6.11.0_1 SMP preempt mod_unload ' [ 870.113726] facer: version magic '6.10.11_1 SMP preempt mod_unload ' should be '6.11.0_1 SMP preempt mod_unload ' [] Done

xAlpharax avatar Oct 01 '24 09:10 xAlpharax