You are not logged in.

#1 2017-08-17 22:45:29

abdux
Member
Registered: 2017-08-11
Posts: 5

About lm-sensors and fan speed control?

I want to control fan so,i installed lm-sensors but i couldn't make configure pleasee help.
I made it according to https://wiki.archlinux.org/index.php/fan_speed_control

sudo sensors-detect --auto
[sudo] password for abdux: 
# sensors-detect revision $Revision$
# System: ASUSTeK COMPUTER INC. X550VX [1.0] (laptop)
# Kernel: 4.12.6-1-ARCH x86_64
# Processor: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (6/94/3)

Running in automatic mode, default answers to all questions
are assumed.

Some south bridges, CPUs or memory controllers contain embedded sensors.
Do you want to scan for them? This is totally safe. (YES/no): 
Module cpuid loaded successfully.                                                                                                            
Silicon Integrated Systems SIS5595...                       No                                                                               
VIA VT82C686 Integrated Sensors...                          No                                                                               
VIA VT8231 Integrated Sensors...                            No                                                                               
AMD K8 thermal sensors...                                   No                                                                               
AMD Family 10h thermal sensors...                           No                                                                               
AMD Family 11h thermal sensors...                           No                                                                               
AMD Family 12h and 14h thermal sensors...                   No
AMD Family 15h thermal sensors...                           No
AMD Family 16h thermal sensors...                           No
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Intel digital thermal sensor...                             Success!
    (driver `coretemp')
Intel AMB FB-DIMM thermal sensor...                         No
Intel 5500/5520/X58 thermal sensor...                       No
VIA C7 thermal sensor...                                    No
VIA Nano thermal sensor...                                  No

Some Super I/O chips contain embedded sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no): 
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No
Probing for Super-I/O at 0x4e/0x4f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               No
Trying family `ITE'...                                      No

Some hardware monitoring chips are accessible through the ISA I/O ports.
We have to write to arbitrary I/O ports to probe them. This is usually
safe though. Yes, you do have ISA I/O ports even if you do not have any
ISA slots! Do you want to scan the ISA I/O ports? (YES/no): 
Probing for `National Semiconductor LM78' at 0x290...       No
Probing for `National Semiconductor LM79' at 0x290...       No
Probing for `Winbond W83781D' at 0x290...                   No
Probing for `Winbond W83782D' at 0x290...                   No

Lastly, we can probe the I2C/SMBus adapters for connected hardware
monitoring devices. This is the most risky part, and while it works
reasonably well on most systems, it has been reported to cause trouble
on some systems.
Do you want to probe the I2C/SMBus adapters now? (YES/no): 
Found unknown SMBus adapter 8086:a123 at 0000:00:1f.4.
Sorry, no supported PCI bus adapters found.
Module i2c-dev loaded successfully.

Next adapter: SMBus I801 adapter at f040 (i2c-0)
Do you want to scan it? (YES/no/selectively): 
Client found at address 0x52
Probing for `Analog Devices ADM1033'...                     No
Probing for `Analog Devices ADM1034'...                     No
Probing for `SPD EEPROM'...                                 No

Next adapter: i915 gmbus dpc (i2c-1)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: i915 gmbus dpb (i2c-2)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: i915 gmbus dpd (i2c-3)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: DPDDC-A (i2c-4)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: DPDDC-D (i2c-5)
Do you want to scan it? (yes/NO/selectively): 


Now follows a summary of the probes I have just done.

Driver `coretemp':
  * Chip `Intel digital thermal sensor' (confidence: 9)

Do you want to overwrite /etc/conf.d/lm_sensors? (YES/no): 
Unloading i2c-dev... OK
Unloading cpuid... OK
sensors
asus-isa-0000
Adapter: ISA adapter
cpu_fan:     2600 RPM
temp1:        +41.0°C  

pch_skylake-virtual-0
Adapter: Virtual device
temp1:        +51.5°C  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +42.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +42.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +41.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +40.0°C  (high = +100.0°C, crit = +100.0°C)

acpitz-virtual-0
Adapter: Virtual device
temp1:        +41.0°C  (crit = +103.0°C)


And after command pwmconfig:
Accorting to https://wiki.archlinux.org/index.php/Fa … figuration

sudo pwmconfig
# pwmconfig revision $Revision$ ($Date$)
This program will search your sensors for pulse width modulation (pwm)
controls, and test each one to see if it controls a fan on
your motherboard. Note that many motherboards do not have pwm
circuitry installed, even if your sensor chip supports pwm.

We will attempt to briefly stop each fan using the pwm controls.
The program will attempt to restore each fan to full speed
after testing. However, it is ** very important ** that you
physically verify that the fans have been to full speed
after the program has completed.

Found the following devices:
   hwmon0 is pch_skylake
   hwmon1 is acpitz
   hwmon2 is asus
   hwmon3 is coretemp

Found the following PWM controls:
   hwmon2/pwm1           current value: 170
hwmon2/pwm1 is currently setup for automatic speed control.
In general, automatic mode is preferred over manual mode, as
it is more efficient and it reacts faster. Are you sure that
you want to setup this output for manual control? (n) y

Giving the fans some time to reach full speed...
Found the following fan sensors:
   hwmon2/fan1_input     current speed: 0 ... skipping!

There are no working fan sensors, all readings are 0.
Make sure you have a 3-wire fan connected.
You may also need to increase the fan divisors.
See doc/fan-divisors for more information.
sensors
asus-isa-0000
Adapter: ISA adapter
cpu_fan:       -1 RPM
temp1:        +40.0°C  

pch_skylake-virtual-0
Adapter: Virtual device
temp1:        +50.5°C  

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 0:        +40.0°C  (high = +100.0°C, crit = +100.0°C)
Core 1:        +39.0°C  (high = +100.0°C, crit = +100.0°C)
Core 2:        +38.0°C  (high = +100.0°C, crit = +100.0°C)
Core 3:        +39.0°C  (high = +100.0°C, crit = +100.0°C)

acpitz-virtual-0
Adapter: Virtual device
temp1:        +40.0°C  (crit = +103.0°C)

/etc/fancontrol is still does not exist.

Last edited by abdux (2017-08-17 23:04:52)

Offline

#2 2017-08-19 11:59:59

$nake
Member
Registered: 2014-10-18
Posts: 30

Re: About lm-sensors and fan speed control?

I am having the exact same problem with my ASUS GL553VD, at the notable exception that after the first
$ sudo sensors-detect --auto
I already had a problem with fan speed indicating

cpu_fan:        0 RPM

I tried increasing fan_div with various /etc/sensors.d/fan-speed-control.conf (not sure about the syntax, nor even of the fan number, which I set to 1 since I have a /sys/class/hwmon/hwmon2/fan1_label which contains "cpu_fan") to no avail so far, failing with
$ sudo sensors -s

Error: File /etc/sensors.d/fan-speed-control.conf, line 2: Unknown feature name
asus-isa-0000: No such subfeature known

Anyway after running pwmconfig I get the same lines, with only differences

hwmon4 is iwlwifi
hwmon2/pwm1           current value: 0

otherwise exactly the same, and with subsequent sensors yielding this weird

cpu_fan:       -1 RPM

Anyone?

Offline

#3 2018-02-11 02:12:52

Glats
Member
Registered: 2014-12-24
Posts: 34

Re: About lm-sensors and fan speed control?

I have the same problem. Any advice?

Offline

Board footer

Powered by FluxBB