You are not logged in.
I own a ROG Zephyrus GX501G, and have been noticing some thermal issues with my computer.
When I checked wiki for fan control, I noticed that my model of laptop has 3 modes of cooling, 0 (medium cooling aggression), 1 (high cooling aggression), and 2 (silent, minimal cooling aggression)
I ran the command
cat /sys/devices/platform/asus-nb-wmi/fan_boost_mode
and got an output of 0.
The way the wiki said you change this on linux is by running the command
echo 1 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/throttle_thermal_policy
but whenever I run this it says
bash: /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/throttle_thermal_policy: Permission denied
I ran the command as root by running my terminal as sudo, but even then permission was denied.
I also tried running
echo 1 > /sys/devices/platform/asus-nb-wmi/fan-boost-mode
which returned the same error.
I also tried to manually modify the fan_boost_mode text file with the number in it located in /sys/devices/platform/asus-nb-wmi/, but that gave me another set of errors:
The document could not be saved, as it was not possible to write to /sys/devices/platform/asus-nb-wmi/fan_boost_mode.
Check that you have write access to this file or that enough disk space is available.
The original file may be lost or damaged. Don't quit the application until the file is successfully written.
I use the latest version of arch linux, with KDE plasma and kitty as my terminal. Does anyone know how to fix/bypass this issue so I can keep my CPU at an acceptable temp?
Link to arch wiki info I was using: https://wiki.archlinux.org/title/fan_sp … US_laptops
Last edited by Wyboss (2021-09-13 02:07:46)
Offline
I ran the command as root by running my terminal as sudo, but even then permission was denied.
sudo works for the invoked process (echo), not the shell's redirection. You need to be root.
Offline
Wyboss wrote:I ran the command as root by running my terminal as sudo, but even then permission was denied.
sudo works for the invoked process (echo), not the shell's redirection. You need to be root.
I tried running it as root, same error
Offline
Post the exact sequence of commands and the full output. Also, paste the permissions on the file.
See: https://bbs.archlinux.org/viewtopic.php?id=57855
Offline
Post the exact sequence of commands and the full output. Also, paste the permissions on the file.
See: https://bbs.archlinux.org/viewtopic.php?id=57855
[root@wybpc wyboss]# su
[root@wybpc wyboss]# echo 1 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/throttle_thermal_policy
bash: /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/throttle_thermal_policy: Permission denied
I also tried
[wyboss@wybpc ~]$ sudo su
[sudo] password for wyboss:
[root@wybpc wyboss]# echo 1 > /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/throttle_thermal_policy
bash: /sys/devices/platform/asus-nb-wmi/hwmon/hwmon5/throttle_thermal_policy: Permission denied
[root@wybpc wyboss]#
does this help?
File permissions are
[wyboss@wybpc asus-nb-wmi]$ ls -l /sys/devices/platform/asus-nb-wmi/fan_boost_mode
-rw-r--r-- 1 root root 4096 Sep 12 19:53 /sys/devices/platform/asus-nb-wmi/fan_boost_mode
Last edited by Wyboss (2021-09-13 02:56:09)
Offline
On my Strix GL504GM I do the following to change fan modes.
sudo bash -c "echo 1 > /sys/devices/platform/asus-nb-wmi/fan_boost_mode"
Last edited by baszdmeg (2021-09-29 21:15:50)
Offline
Try with tee as root.
If that doesn't work, that might mean that the sys file is not supposed to be written.
Last edited by icar (2021-09-29 22:27:22)
Offline
I think you need mod probe to do this
Try :
sudo modprobe asus-nb-wmi throttle_thermal_policy 1
Offline