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
358 stars 66 forks source link

Installation Fails in Linux Mint 20.2 #16

Closed zehratullayl closed 2 years ago

zehratullayl commented 2 years ago

Here is the output of

sudo ./install.sh

with the error in the output highlighted

make -C /lib/modules/5.4.0-84-generic/build M=/home/zehra/Desktop/Linux-Predator-GUI modules make[1]: Entering directory '/usr/src/linux-headers-5.4.0-84-generic' CC [M] /home/zehra/Desktop/Linux-Predator-GUI/src/facer.o /home/zehra/Desktop/Linux-Predator-GUI/src/facer.c: In function ‘gkbbl_drv_write’: /home/zehra/Desktop/Linux-Predator-GUI/src/facer.c:1916:8: error: implicit declaration of function ‘copy_from_user’ [-Werror=implicit-function-declaration] 1916 | err = copy_from_user(config_buf, buf, GAMING_KBBL_CONFIG_LEN); | ^~~~~~ cc1: some warnings being treated as errors make[2]: [scripts/Makefile.build:270: /home/zehra/Desktop/Linux-Predator-GUI/src/facer.o] Error 1 make[1]: [Makefile:1762: /home/zehra/Desktop/Linux-Predator-GUI] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-84-generic' make: ** [Makefile:9: default] Error 2 rmmod: ERROR: Module acer_wmi is not currently loaded insmod: ERROR: could not load module src/facer.ko: No such file or directory [ 894.474462] acer_wmi: Unknown function number - 4 - 0 [ 938.038251] wlp0s20f3: authenticate with 24:79:2a:f4:01:fd [ 938.041356] wlp0s20f3: send auth to 24:79:2a:f4:01:fd (try 1/3) [ 938.064627] wlp0s20f3: authenticated [ 938.065106] wlp0s20f3: associate with 24:79:2a:f4:01:fd (try 1/3) [ 938.066853] wlp0s20f3: RX AssocResp from 24:79:2a:f4:01:fd (capab=0x11 status=0 aid=2) [ 938.068887] wlp0s20f3: associated [ 938.150702] wlp0s20f3: Limiting TX power to 30 (30 - 0) dBm as advertised by 24:79:2a:f4:01:fd [ 938.735723] IPv6: ADDRCONF(NETDEV_CHANGE): wlp0s20f3: link becomes ready [ 1158.153478] acer_wmi: Acer Laptop WMI Extras unloaded [] Done

JafarAkhondali commented 2 years ago

check this https://github.com/JafarAkhondali/acer-predator-turbo-and-rgb-keyboard-linux-module/issues/4

JafarAkhondali commented 2 years ago

Closing as no response