acer-predator-turbo-and-rgb-keyboard-linux-module icon indicating copy to clipboard operation
acer-predator-turbo-and-rgb-keyboard-linux-module copied to clipboard

Can't control fan speed in a PH315-52 model

Open lestcape opened this issue 2 years ago • 8 comments
trafficstars

Model: sudo dmidecode | grep "Product Name" -B 2 -A 4

System Information Manufacturer: Acer Product Name: Predator PH315-52 Version: V1.12 Serial Number: NHQ5MAA001914005872600 UUID: 6d1cb23d-a862-44ed-9971-1daeee76cc2c Wake-up Type: Power Switch

Base Board Information Manufacturer: CFL Product Name: Covini_CFS Version: V1.12 Serial Number: NHQ5MAA001913000232600 Asset Tag: Type2 - Board Asset Tag Features:

Count of keyboard RGB zones: 0

Count of Cpu Fans: 1

Count of Gpu Fans: 1

RGB keyboard works? No

Turbo button turn on fans? Yes

Turbo button turn on LED? No

Turbo button activates overclock? I don' t know in Linux (in windows is a yes).

Debian GNU/Linux 12 (bookworm) Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux

Contrary to the description present in this repository, my model have not an rgb keyboard as probably other models have (a variation?) and i only want that the fan speed works, but it don' t work. I don't want to overclock the CPU. My interest is to control the temperature low. My laptop shutdown sometimes if the temperature is to high.

So the command that i want to execute sometimes is: ./facer_rgb.py -s 9

But that command do nothing in my case. The installation was as a systemd method and without any error.

sudo cat /sys/firmware/acpi/tables/DSDT > dsdt.aml dsdt.zip

Secure boot is off: bios

My specific model: PH315-52

lestcape avatar Jun 11 '23 09:06 lestcape

I suggest you to use ncdu program for now, as this repo doesn't have required functionality for now.

JafarAkhondali avatar Jun 17 '23 19:06 JafarAkhondali

@lestcape Check out my Predator Sense clone for linux. You can control fan speeds there

snowyoneill avatar Jun 20 '23 20:06 snowyoneill

@JafarAkhondali Thanks, but i know it have not support. The reason to open the issue was that.

@snowyoneill Thanks, i will give it a try, but i don't want to use pip. So, i will see if i can install it without to use pip. If i can i will test it with my hardware, otherwise not. I think should be good to have a flatpak, snap or an appimage of that at minimum. pip could be good for develop, but is not ok release an app to be installed that way... Also i see it have undervolt as a dependency and i currently used intel-undervolt, probably is a good idea to also support it.

Anyway thanks both for the suggestion and the work done.

lestcape avatar Jul 11 '23 02:07 lestcape

@snowyoneill This is not available on newer kernels: https://github.com/snowyoneill/Linux-PredatorSense/blob/master/ecwrite.py#L1

Please see: https://bugzilla.redhat.com/show_bug.cgi?id=1943318

Or this proposed workaround, that use a kernel module to recover the funtionality: https://github.com/YoyPa/isw/issues/265#issue-1419231642

So, your program don't work anymore as is. Have a good day.

lestcape avatar Jul 11 '23 13:07 lestcape

@lestcape what distro are you running? You can enable it with sudo modprobe ec_sys write_support=1. You will need to add ec_sys.write_support=1 to GRUB_CMDLINE_LINUX line of grub to enable on reboot.

snowyoneill avatar Jul 11 '23 16:07 snowyoneill

@lestcape what distro are you running? You can enable it with sudo modprobe ec_sys write_support=1. You will need to add ec_sys.write_support=1 to GRUB_CMDLINE_LINUX line of grub to enable on reboot.

@snowyoneill I started this issue with all info about my system. As i said the kernel module ec_sys is not present in current kernels. The last present was in Linux Kernel 5.11.2. So not, i cannot do sudo modprobe ec_sys write_support=1, because i get an: modprobe: FATAL: Module ec_sys not found.... Can you please read the links i provide you? Also we are spammed this thread with irrelevant information. I will open an issue in your repository instead.

lestcape avatar Jul 11 '23 16:07 lestcape

@lestcape I have already read through those resources as I ran into that error when i tried to update Ubuntu to 22.04. Using the above commands worked to restore access to the EC. As for the other distros i cannot comment as i have not tested them.

snowyoneill avatar Jul 11 '23 16:07 snowyoneill

Issue opened: https://github.com/snowyoneill/Linux-PredatorSense/issues/3

lestcape avatar Jul 11 '23 16:07 lestcape