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

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

Open
lestcape opened this issue Jun 11, 2023 · 8 comments
Open

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

lestcape opened this issue Jun 11, 2023 · 8 comments

Comments

@lestcape
Copy link

lestcape commented Jun 11, 2023

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

@JafarAkhondali
Copy link
Owner

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

@snowyoneill
Copy link

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

@lestcape
Copy link
Author

@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
Copy link
Author

@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:
YoyPa/isw#265 (comment)

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

@snowyoneill
Copy link

snowyoneill commented Jul 11, 2023

@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.

@lestcape
Copy link
Author

@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.

@snowyoneill
Copy link

snowyoneill commented Jul 11, 2023

@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.

@lestcape
Copy link
Author

Issue opened: snowyoneill/Linux-PredatorSense#3

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

3 participants