You are not logged in.

#1 2017-07-27 18:05:15

bbaserdem
Member
Registered: 2017-07-27
Posts: 43

Can't get fans working (Asus N550JK) [FIXED]

Hello everyone. First forum post here.

I've been trying to get the fans working for ages on this laptop and arch. When I had manjaro, they worked fine so I assume it is doable.

I follow https://wiki.archlinux.org/index.php/ASUS_N550JV

I installed asus-fan-dkms-git, and ran modprobe asus_fan without any errors. The echo commands work fine, and they do turn on the fans. Then I ran pwm config, and I configure according tot he temperature sensors (there is a hwmon with 5 temperatures that corresponds to the state of the computer, which I assume is all of my 4 cores and the average temperature)

Does anyone have any experience? I can run programs on one core just fine, but the moment I try to engage all cores, within 2 minutes my computer shuts down due to overheating.

Last edited by bbaserdem (2017-07-28 22:10:46)

Offline

#2 2017-07-27 19:40:38

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: Can't get fans working (Asus N550JK) [FIXED]

The wiki says to use fancontrol?

Offline

#3 2017-07-27 23:30:07

bbaserdem
Member
Registered: 2017-07-27
Posts: 43

Re: Can't get fans working (Asus N550JK) [FIXED]

I'm following the guide in the Fan speed control page. I don't have the issue where all fan readings are 0 on running pwmconfig, and running pwmconfig, the fan speed varies as input is changed. (I can hear it)

I also tried the fancontrol that the n550jv page has as an example, but it did not help.

EDIT: I ran the configuration again, and the pwmconfig script left my fans running at full speed. After a while, I restarted my laptop, during which the fans kept spinning at full speed. I'm guessing my fancontrol script that is generated by pwmconfig is not doing anything.

EDIT2: I disabled lm_sensors.service as described in the wiki, and created /etc/modules-load.d/load_these.conf with coretemp (that was the one module loaded by the lm_sensors generated file). Then ran pwmconfig again. If I run the pwmconfig script from fans not at full power, it fails to turn on the fans. If I run the script after doing this;

echo "255" > /sys/class/hwmon/hwmon0/pwm1
or
echo "255" > /sys/class/hwmon/hwmon3/pwm1

(both commands turn on the fans with full power) then pwmconfig stops and starts the fans appropriately. However, fancontrol.service fails, with the last output line being
Unneeded DEVPATH with absolute device paths
No other prompt is generated.

Last edited by bbaserdem (2017-07-28 01:22:33)

Offline

#4 2017-07-28 07:07:19

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: Can't get fans working (Asus N550JK) [FIXED]

However, fancontrol.service fails

Just run "fancontrol" from an interactive shell, post the entire output and your /etc/fancontrol

Offline

#5 2017-07-28 14:03:35

bbaserdem
Member
Registered: 2017-07-27
Posts: 43

Re: Can't get fans working (Asus N550JK) [FIXED]

Here is the output from my terminal;

Loading configuration from /etc/fancontrol ...

Common settings:
  INTERVAL=10

Settings for /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1:
  Depends on /sys/devices/platform/coretemp.0/hwmon/hwmon[[:print:]]*/temp1_input
  Controls /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/fan1_input
  MINTEMP=50
  MAXTEMP=80
  MINSTART=40
  MINSTOP=10
  MINPWM=0
  MAXPWM=255

Settings for /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm2:
  Depends on /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/temp1_input
  Controls /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/fan2_input
  MINTEMP=45
  MAXTEMP=90
  MINSTART=40
  MINSTOP=10
  MINPWM=0
  MAXPWM=255

Settings for hwmon3/pwm1:
  Depends on hwmon3/temp1_input
  Controls hwmon0/fan2_input+hwmon0/fan1_input
  MINTEMP=40
  MAXTEMP=70
  MINSTART=150
  MINSTOP=0
  MINPWM=0
  MAXPWM=255

Settings for hwmon0/pwm1:
  Depends on hwmon1/temp1_input
  Controls
  MINTEMP=50
  MAXTEMP=70
  MINSTART=150
  MINSTOP=100
  MINPWM=0
  MAXPWM=255

Unneeded DEVPATH with absolute device paths

And here is my /etc/fancontrol

# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon0=devices/platform/asus_fan hwmon1=devices/platform/coretemp.0 hwmon3=devices/platform/asus-nb-wmi
DEVNAME=hwmon0=asus_fan hwmon1=coretemp hwmon3=asus
FCTEMPS=/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1=/sys/devices/platform/coretemp.0/hwmon/hwmon[[:print:]]*/temp1_input /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm2=/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/temp1_input hwmon3/pwm1=hwmon3/temp1_input hwmon0/pwm1=hwmon1/temp1_input
FCFANS=/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1=/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/fan1_input /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm2=/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/fan2_input hwmon3/pwm1=hwmon0/fan2_input+hwmon0/fan1_input hwmon0/pwm1=
MINTEMP=/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1=50 /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm2=45 hwmon3/pwm1=40 hwmon0/pwm1=50
MAXTEMP=/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1=80 /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm2=90 hwmon3/pwm1=70 hwmon0/pwm1=70
MINSTART=/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1=40 /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm2=40 hwmon3/pwm1=150 hwmon0/pwm1=150
MINSTOP=/sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1=10 /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm2=10 hwmon3/pwm1=0 hwmon0/pwm1=100
MAXPWM=hwmon3/pwm1=255

Offline

#6 2017-07-28 14:46:06

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: Can't get fans working (Asus N550JK) [FIXED]

That doesn't look like fancontrol is filaing (in contrast to the service status) - does the process remain and, more important, does it control the fan?

Offline

#7 2017-07-28 15:07:00

bbaserdem
Member
Registered: 2017-07-27
Posts: 43

Re: Can't get fans working (Asus N550JK) [FIXED]

The process doesn't remain, right after the "Unneeded DEVPATH with absolute device paths" line, it exists without any further prompts. And it does not change anything with the fan.

Offline

#8 2017-07-28 16:14:32

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: Can't get fans working (Asus N550JK) [FIXED]

Ok?
Assuming the error is treated "critical", just remove the DEVPATH and DEVNAME lines and try again.

Sidenote: please wrap the posted output in code tags for better readability.

Offline

#9 2017-07-28 16:38:04

bbaserdem
Member
Registered: 2017-07-27
Posts: 43

Re: Can't get fans working (Asus N550JK) [FIXED]

Sorry, didn't knew about the code tag. Here is the output once I comment out DEVPATH and DEVNAME;

Loading configuration from /etc/fancontrol ...

Common settings:
  INTERVAL=10

Settings for /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm1:
  Depends on /sys/devices/platform/coretemp.0/hwmon/hwmon[[:print:]]*/temp1_input
  Controls /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/fan1_input
  MINTEMP=50
  MAXTEMP=80
  MINSTART=40
  MINSTOP=10
  MINPWM=0
  MAXPWM=255

Settings for /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/pwm2:
  Depends on /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/temp1_input
  Controls /sys/devices/platform/asus_fan/hwmon/hwmon[[:print:]]*/fan2_input
  MINTEMP=45
  MAXTEMP=90
  MINSTART=40
  MINSTOP=10
  MINPWM=0
  MAXPWM=255

Settings for hwmon3/pwm1:
  Depends on hwmon3/temp1_input
  Controls hwmon0/fan2_input+hwmon0/fan1_input
  MINTEMP=40
  MAXTEMP=70
  MINSTART=150
  MINSTOP=0
  MINPWM=0
  MAXPWM=255

Settings for hwmon0/pwm1:
  Depends on hwmon1/temp1_input
  Controls 
  MINTEMP=50
  MAXTEMP=70
  MINSTART=150
  MINSTOP=100
  MINPWM=0
  MAXPWM=255

Error: file hwmon3/pwm1 doesn't exist
Error: file hwmon0/pwm1 doesn't exist
Error: file hwmon3/temp1_input doesn't exist
Error: file hwmon1/temp1_input doesn't exist
Error: file hwmon0/fan2_input doesn't exist
Error: file hwmon0/fan1_input doesn't exist

At least one referenced file is missing. Either some required kernel
modules haven't been loaded, or your configuration file is outdated.
In the latter case, you should run pwmconfig again.

Offline

#10 2017-07-28 16:54:20

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: Can't get fans working (Asus N550JK) [FIXED]

Seems the unneeded devpath wasn't unneeded after all ...
It looks like the /etc/fancontrol in the wiki with actual full paths matches your pwmconfig generation, tried using that instead?

Offline

#11 2017-07-28 18:09:50

bbaserdem
Member
Registered: 2017-07-27
Posts: 43

Re: Can't get fans working (Asus N550JK) [FIXED]

This time I'm getting this error

Loading configuration from /etc/fancontrol ... 

Common settings:                                                           
  INTERVAL=10   

Settings for hwmon0/device/pwm1:
  Depends on hwmon0/device/temp1_input
  Controls hwmon0/device/fan1_input   
  MINTEMP=20                       
  MAXTEMP=55
  MINSTART=150
  MINSTOP=105 
  MINPWM=0   
  MAXPWM=255

Device path of hwmon0 has changed
Device path of hwmon2 has changed
Device name of hwmon0 has changed
Device name of hwmon2 has changed
Configuration appears to be outdated, please run pwmconfig again

I've tried the following from the wiki for /etc/fancontrol;

INTERVAL=10
DEVPATH=hwmon0=devices/platform/coretemp.0 hwmon2=devices/platform/w83627ehf.656
DEVNAME=hwmon0=coretemp hwmon2=w83627dhg
FCTEMPS=hwmon0/device/pwm1=hwmon0/device/temp1_input
FCFANS= hwmon0/device/pwm1=hwmon0/device/fan1_input
MINTEMP=hwmon0/device/pwm1=20
MAXTEMP=hwmon0/device/pwm1=55
MINSTART=hwmon0/device/pwm1=150
MINSTOP=hwmon0/device/pwm1=105

Last edited by bbaserdem (2017-07-28 18:10:06)

Offline

#12 2017-07-28 20:16:46

seth
Member
Registered: 2012-09-03
Posts: 51,143

Re: Can't get fans working (Asus N550JK) [FIXED]

This /etc/fancontrol ...

Offline

#13 2017-07-28 22:10:33

bbaserdem
Member
Registered: 2017-07-27
Posts: 43

Re: Can't get fans working (Asus N550JK) [FIXED]

Dammit. Thank you. I fixed the issue. I took that fancontrol config and modified it;

- My asus_fan's temp1_input is not reading anything. So the second device on the fancontrol I made it to the coretemp module.
- Changed [[:print:]]* commands in the script to the proper hwmon assignments. I probably did not need to do this, and will check out if putting them back in breaks anything.

My new script looks like this;

INTERVAL=10
FCTEMPS=/sys/devices/platform/asus_fan/hwmon/hwmon0/pwm1=/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input /sys/devices/platform/asus_fan/hwmon/hwmon0/pwm2=/sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
FCFANS=/sys/devices/platform/asus_fan/hwmon/hwmon0/pwm1=/sys/devices/platform/asus_fan/hwmon/hwmon0/fan1_input /sys/devices/platform/asus_fan/hwmon/hwmon0/pwm2=/sys/devices/platform/asus_fan/hwmon/hwmon0/fan2_input
MINTEMP=/sys/devices/platform/asus_fan/hwmon/hwmon0/pwm1=50 /sys/devices/platform/asus_fan/hwmon/hwmon0/pwm2=45
MAXTEMP=/sys/devices/platform/asus_fan/hwmon/hwmon0/pwm1=80 /sys/devices/platform/asus_fan/hwmon/hwmon0/pwm2=90
MINSTART=/sys/devices/platform/asus_fan/hwmon/hwmon0/pwm1=40 /sys/devices/platform/asus_fan/hwmon/hwmon0/pwm2=40
MINSTOP=/sys/devices/platform/asus_fan/hwmon/hwmon0/pwm1=10 /sys/devices/platform/asus_fan/hwmon/hwmon0/pwm2=10

Offline

Board footer

Powered by FluxBB