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

Predator PH315-53 - Install problem #4

Closed vladimir-djurovic closed 3 years ago

vladimir-djurovic commented 3 years ago

I follow instructions from README.md and on installation a got this error

My model Predator PH315-53

image

JafarAkhondali commented 3 years ago

@vladimir-djurovic Hi Please do the following, and let me know the result:

  1. run sudo apt update && sudo apt install linux-headers-generic ( if not Debian based, use your own distro package manager)
  2. instead of sh, use bash to run the installer
vladimir-djurovic commented 3 years ago

Hi @JafarAkhondali

Thanks for the reply but I still get the same problem.

I use Linux Mint 20.2 Cinnamon, kernel 5.4.0-81-generic and cinnamon version 5.0.5

Also the installation forces me to use the root user, I'm not sure if it's ok?

JafarAkhondali commented 3 years ago

Then please try these: install sudo apt-get install linux-headers-$(uname -r) add #include <linux/uaccess.h> #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)

And yes, the installer needs root permission as it's installing a new kernel module

vladimir-djurovic commented 3 years ago

Ty @JafarAkhondali,

Turbo Mode is working, but the RGB light still not working.

I tried the following: image

,and image

JafarAkhondali commented 3 years ago

try:

sudo ./uninstall.sh
sudo rm /dev/acer-gkbbl-0
sudo ./install.sh

and make sure secure boot is disabled in bios.

which of the previous steps did fix the turbo mode problem for you? I wanna add them to code

vladimir-djurovic commented 3 years ago

Now works, @JafarAkhondali thank you so much.

To fix the turbo mode, I had to include both header files.

ghost commented 2 years ago

Would have been really helpful if this worked on PH315-55.I did try to install it.It either works occasionally or it doesn't.

fjmarcelo commented 9 months ago

try:

sudo ./uninstall.sh
sudo rm /dev/acer-gkbbl-0
sudo ./install.sh

and make sure secure boot is disabled in bios.

which of the previous steps did fix the turbo mode problem for you? I wanna add them to code

Same problem, but I can't fix it.

I'm using Arch Linux and Predator PHN16-71.

What can I do? Thanks in advance.