Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel 6.11 magic changes error the install #181

Open
xAlpharax opened this issue Oct 1, 2024 · 3 comments
Open

Kernel 6.11 magic changes error the install #181

xAlpharax opened this issue Oct 1, 2024 · 3 comments

Comments

@xAlpharax
Copy link
Contributor

xAlpharax commented Oct 1, 2024

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

@LarryTheMagicDragon
Copy link
Contributor

I think it's a minor change in the kernel code making the module fail to compile. I was able to get it working on my system and I've open a pull request with the fix

@xAlpharax
Copy link
Contributor Author

Good to hear!, hopefully it s merged soon.

@LarryTheMagicDragon
Copy link
Contributor

It has been, this ought to be marked as closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants