You are not logged in.

#1 2016-07-22 08:45:04

Trist
Member
Registered: 2014-12-24
Posts: 21

Want to change ATI fanspeed permission denied

I need higher fan speeds. I don't mind noise and raising fan speed is exactly what I want to do. Yes my fans are squeeky clean, I want help for the topic of the thread not options against it mad

Anyways, I am following the ATI page instructions for raising fan speed here. My GPU is an ATI Radeon HD 5870, my motherboard is an ASUSTeK P7P55D DELUXE

When I try to perform the command;

echo 1 > /sys/class/drm/card0/device/hwmon/hwmon2/pwm1_enable

-as root user it spits out the error;

bash: /sys/class/drm/card0/device/hwmon/hwmon2/pwm1_enable: Permission denied

I also tried creating a systemd-tmpfile with the same commands and rebooted, to no avail.

What can I do?

Offline

#2 2016-07-22 14:32:26

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,792

Re: Want to change ATI fanspeed permission denied

It might be that one cannot write to that 'file' at all.   On the other hand, when you say you ran it as root, where you logged in as root? or did you use sudo?  I ask, because sudo would run the echo as root, but the redirect would be have run as the user.

A working for with sudo would be sudo bash -c 'echo 1 > /sys/class/drm/card0/device/hwmon/hwmon2/pwm1_enable'
Also, what are the output of ls -l /sys/class/drm/card0/device/hwmon/hwmon2/   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2016-07-22 21:35:35

Trist
Member
Registered: 2014-12-24
Posts: 21

Re: Want to change ATI fanspeed permission denied

ewaller wrote:

when you say you ran it as root, where you logged in as root? or did you use sudo?

I am logged into root, don't even have a user yet as I plan to reinstall

ewaller wrote:

Also, what are the output of ls -l /sys/class/drm/card0/device/hwmon/hwmon2/   ?

total 0
lrwxrwxrwx 1 root root    0 Jul 22 16:33 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 Jul 22 16:33 name
drwxr-xr-x 2 root root    0 Jul 22 16:33 power
lrwxrwxrwx 1 root root    0 Jul 22 16:33 subsystem -> ../../../../../../class/hwmon
-r--r--r-- 1 root root 4096 Jul 22 16:33 temp1_crit
-r--r--r-- 1 root root 4096 Jul 22 16:33 temp1_crit_hyst
-r--r--r-- 1 root root 4096 Jul 22 16:33 temp1_input
-rw-r--r-- 1 root root 4096 Jul 22 03:40 uevent

Offline

#4 2016-07-23 00:01:35

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,792

Re: Want to change ATI fanspeed permission denied

Okay, there is not a "File" called pwm1_enable in that path, and the system is telling you that it is not permissible to create one.

"Files" in the /sys file system are things that act like files that are dynamically generated by the kernel to expose some of the inner working of the kernel.  It will create the contents on demand.  Likewise, if the kernel wants to accept input from user space, it will allow you to write to those "Files" as a way of communicating something to the kernel.   That that "file" does not exist means that you are chasing ghosts here.   I am not saying that it will not work; I am saying that the solutions you have been chasing seem to be deprecated.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2016-07-23 03:43:17

Trist
Member
Registered: 2014-12-24
Posts: 21

Re: Want to change ATI fanspeed permission denied

Shoot, thanks anyways I was wondering if the file needed to exist before I could mess with it. I hope a solution comes up eventually but for now I am going to reinstall

Offline

Board footer

Powered by FluxBB