Closed GamerMine closed 2 years ago
Hi Did you disable secure boot in bios? As reported by https://github.com/JafarAkhondali/acer-predator-turbo-and-rgb-keyboard-linux-module/issues/7, it should work for your laptop.
Thank you for your response =) Yes the Secure Boot is disabled in bios =) Maybe I did something wrong, here is the steps I followed :
Can you try these steps as well?
sudo ./uninstall.sh
sudo apt update && sudo apt install linux-headers-generic linux-headers-$(uname -r)
add #include <linux/uaccess.h>
and #include <asm/uaccess.h>
after line 32 of src/facer.c ( first try to add them separately, if none worked, try to add them both)
sudo rm /dev/acer-gkbbl-0
sudo ./install.sh
and try running python script with sudo. It should work then. If not, check the output of ./install.sh command and dmesg
So I tried everything but it is still nor working. Here is the output of sudo ./install.sh
:
And there is the last few lines of the output of dmesg
:
Oh, and when I try to delete /dev/acer-gkbbl-0, it says that the file does not exist
I think this has something to do with vmlinux.
try these
echo "deb http://ddebs.ubuntu.com $(lsb_release -cs) main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ddebs.list
echo "deb http://ddebs.ubuntu.com $(lsb_release -cs)-updates main restricted universe multiverse" | sudo tee -a /etc/apt/sources.list.d/ddebs.list
apt-get update
sudo apt-get install linux-image-$(uname -r)-dbgsym
Source: https://www.ibm.com/docs/en/linux-on-systems?topic=linuxonibm/liacf/oprofkernelsymrhel.html
Okay so I have installed the vmlinux thing and it is not complaining about it anymore. But it is still not working =)
The sudo ./install.sh
output as slightly changed so here is it :
EDIT : I rebooted my laptop and it is now complaining about vmlinux again =( I have verified that vmlinux is installed and it is. I think it is just nof finding it
hmm, try installing other kernels for your distro. I am pretty sure that this should work with your laptop, it's just a software problem
I updated the kernel of my laptop and it is still not working. My previous kernel was 5.11.0-18 and now it is 5.11.0-34.
When recompiling (when I add or remove the two includes) it always complain about vmlinux.
Is it normal that in dmseg it says : acer_wmi: Acer Laptop WMI Extras unloaded
?
Then give Ubuntu live a try. Unloading acer-wmi is normal, cause my repo is the extended version of acer-wmi
Okay, so I tried in an Ubuntu live and it doesn't work either. I start thinking that my computer is not compatible =( Maybe I have a slightly different revision of the Nitro AN515-55 ? I really don't know
If you have a 4-zone RGB keyboard, then this should work for you
Okay after a lot a search I found that the AN515-55 model has a lot of different revision and I figured out that if the keyboard has a red painting when it is off, then the keyboard is not RGB and unfortunately my keyboard have that paint. I'm sorry for all of this =)
😄 Ok
Hello, After installing the module, I try to use one of the templates and it does not work. It's not changing anything on my keyboard. I use Ubuntu 21.04. The linux header is installed. I hope I can use this module =)