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

Cannot install after Update #207

Closed
Reynardd opened this issue Nov 25, 2024 · 2 comments
Closed

Cannot install after Update #207

Reynardd opened this issue Nov 25, 2024 · 2 comments

Comments

@Reynardd
Copy link

Reynardd commented Nov 25, 2024

Model:System Information

Manufacturer: Acer
Product Name: Nitro AN515-45
Version: V1.11
Serial Number: NHQBCEM005202106163400
UUID: a89972f9-1071-ec11-80e3-088fc33bcacc
Wake-up Type: Power Switch
Base Board Information
	Manufacturer: CZ
	Product Name: Scala_CAS
	Version: V1.11
	Serial Number: NBQBC110022028C59D3400
	Asset Tag: Type2 - Board Asset Tag
	Features:

Count of keyboard RGB zones: 1

Count of Cpu Fans: 1

Count of Gpu Fans: 1

RGB keyboard works? No

make -C /lib/modules/6.12.1-arch1-1/build M=/home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module modules
make[1]: Entering directory '/usr/lib/modules/6.12.1-arch1-1/build'
CC [M] /home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.o
/home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.c: In function ‘acer_wmi_notify’:
/home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.c:2966:18: error: implicit declaration of function ‘wmi_get_event_data’ [-Wimplicit-function-declaration]
2966 | status = wmi_get_event_data(value, &response);
| ^~~~~~~~~~~~~~~~~~
/home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.c: In function ‘acer_wmi_input_setup’:
/home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.c:3219:49: error: passing argument 2 of ‘wmi_install_notify_handler’ from incompatible pointer type [-Wincompatible-pointer-types]
3219 | acer_wmi_notify, NULL);
| ^~~~~~~~~~~~~~~
| |
| void (*)(u32, void ) {aka void ()(unsigned int, void )}
In file included from ./include/linux/i2c.h:13,
from ./include/uapi/linux/fb.h:6,
from ./include/linux/fb.h:5,
from /home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.c:22:
./include/linux/acpi.h:404:60: note: expected ‘wmi_notify_handler’ {aka ‘void (
)(union acpi_object *, void )’} but argument is of type ‘void ()(u32, void )’ {aka ‘void ()(unsigned int, void *)’}
404 | wmi_notify_handler handler, void *data);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~
/home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.c: At top level:
/home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.c:1977:20: warning: ‘WMID_gaming_get_u64’ defined but not used [-Wunused-function]
1977 | static acpi_status WMID_gaming_get_u64(u64 *value, u32 cap)
| ^~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:229: /home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module/src/facer.o] Error 1
make[2]: *** [/usr/lib/modules/6.12.1-arch1-1/build/Makefile:1936: /home/reynard/Downloads/acer-predator-turbo-and-rgb-keyboard-linux-module] Error 2
make[1]: *** [Makefile:224: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.12.1-arch1-1/build'
make: *** [Makefile:14: default] Error 2

@LarryTheMagicDragon
Copy link
Contributor

I've seen a lot of errors like this since the update. #184 is the fix I'm using on my system. Try it and please let us know if it fixes your problem

@Reynardd
Copy link
Author

hello i tried it and it worked thanks :D
i'll close this issue

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