Wissensdatenbank
Buehl, Kevin
19 Juni 2016
09 September 2017
2.835

Wissensdatenbank

Buffalo Terastation Lüftersteuerung unter Debian 8 Jessie

Installation


Installieren Sie zunächst die Software Pakete:
apt install fancontrol lm-sensors


Konfiguration


Führen Sie die Erkennung der Sensoren aus:
sensors-detect
# sensors-detect revision 6209 (2014-01-14 22:51:58 +0100)

This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.

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 15h power sensors... No
AMD Family 16h power sensors... No
Intel digital thermal sensor... Success!
(driver `coretemp')
Intel AMB FB-DIMM 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'... Yes
Found `ITE IT8721F/IT8758E Super IO Sensors' Success!
(address 0xa10, driver `it87')
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 systems (mainly servers) implement IPMI, a set of common interfaces
through which system health data may be retrieved, amongst other things.
We first try to get the information from SMBIOS. If we don't find it
there, we have to read from arbitrary I/O ports to probe for such
interfaces. This is normally safe. Do you want to scan for IPMI
interfaces? (YES/no):
Probing for `IPMI BMC KCS' at 0xca0... No
Probing for `IPMI BMC SMIC' at 0xca8... 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): yes
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):
Sorry, no supported PCI bus adapters found.
Module i2c-dev loaded successfully.

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

Next adapter: i915 gmbus vga (i2c-1)
Do you want to scan it? (yes/NO/selectively): yes
Client found at address 0x4a
Probing for `National Semiconductor LM75'... No
Probing for `National Semiconductor LM75A'... No
Probing for `Dallas Semiconductor DS75'... No
Probing for `National Semiconductor LM77'... No
Probing for `Analog Devices ADT7410/ADT7420'... No
Probing for `Analog Devices ADT7411'... No
Probing for `Maxim MAX6642'... No
Probing for `National Semiconductor LM73'... No
Probing for `National Semiconductor LM92'... No
Probing for `National Semiconductor LM76'... No
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Probing for `NXP/Philips SA56004'... No
Client found at address 0x4b
Probing for `National Semiconductor LM75'... No
Probing for `National Semiconductor LM75A'... No
Probing for `Dallas Semiconductor DS75'... No
Probing for `National Semiconductor LM77'... No
Probing for `Analog Devices ADT7410/ADT7420'... No
Probing for `Analog Devices ADT7411'... No
Probing for `Maxim MAX6642'... No
Probing for `National Semiconductor LM92'... No
Probing for `National Semiconductor LM76'... No
Probing for `Maxim MAX6633/MAX6634/MAX6635'... No
Probing for `NXP/Philips SA56004'... No
Probing for `Analog Devices ADT7481'... No

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

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

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

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


Now follows a summary of the probes I have just done.
Just press ENTER to continue:

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

Driver `it87':
* ISA bus, address 0xa10
Chip `ITE IT8721F/IT8758E Super IO Sensors' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
coretemp
it87
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones!

Do you want to add these lines automatically to /etc/modules? (yes/NO)yes
Successful!

Monitoring programs won't work until the needed modules are
loaded. You may want to run '/etc/init.d/kmod start'
to load them.

Unloading i2c-dev... OK
Unloading cpuid... OK
Eine Liste mit allen erkannten Sensoren können Sie wie folgt ausgeben lassen:
sensors

coretemp-isa-0000
Adapter: ISA adapter
Core 0: +6.0°C (crit = +100.0°C)
Core 1: +7.0°C (crit = +100.0°C)

it8721-isa-0a10
Adapter: ISA adapter
in0: +3.06 V (min = +1.45 V, max = +1.12 V) ALARM
in1: +2.86 V (min = +3.04 V, max = +2.20 V) ALARM
in2: +1.99 V (min = +0.74 V, max = +2.12 V)
+3.3V: +3.29 V (min = +0.22 V, max = +4.87 V)
in4: +1.18 V (min = +2.78 V, max = +2.75 V) ALARM
in5: +2.23 V (min = +2.98 V, max = +1.14 V) ALARM
in6: +1.79 V (min = +0.66 V, max = +1.31 V) ALARM
3VSB: +3.26 V (min = +0.65 V, max = +0.07 V) ALARM
Vbat: +3.02 V
fan1: 12272 RPM (min = 25 RPM)
fan2: 11842 RPM (min = 99 RPM)
fan3: 0 RPM (min = 11 RPM) ALARM
temp1: +50.0°C (low = -66.0°C, high = -31.0°C) ALARM sensor = thermal diode
temp2: +53.0°C (low = +83.0°C, high = -109.0°C) ALARM sensor = thermal diode
temp3: +29.0°C (low = -106.0°C, high = +41.0°C) sensor = thermal diode





reboot
Broadcast message from root@4b42 on pts/0 (Son 2016-06-06 20:20:20 UTC):

The system is going down for reboot NOW!


pwmconfig
# pwmconfig revision 6166 (2013-05-01)
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 coretemp
hwmon1/device is it8721

Found the following PWM controls:
hwmon1/device/pwm1 current value: 75
hwmon1/device/pwm2 current value: 75
hwmon1/device/pwm3 current value: 0

Giving the fans some time to reach full speed...
Found the following fan sensors:
hwmon1/device/fan1_input current speed: 12053 RPM
hwmon1/device/fan2_input current speed: 11637 RPM
hwmon1/device/fan3_input current speed: 0 ... skipping!
hwmon1/device/fan4_input current speed: 0 ... skipping!

Warning!!! This program will stop your fans, one at a time,
for approximately 5 seconds each!!!
This may cause your processor temperature to rise!!!
If you do not want to do this hit control-C now!!!
Hit return to continue:

Testing pwm control hwmon1/device/pwm1 ...
hwmon1/device/fan1_input ... speed was 12053 now 0
It appears that fan hwmon1/device/fan1_input
is controlled by pwm hwmon1/device/pwm1
Would you like to generate a detailed correlation (y)?
PWM 255 FAN 12053
PWM 240 FAN 11250
PWM 225 FAN 10546
PWM 210 FAN 9926
PWM 195 FAN 9246
PWM 180 FAN 8544
PWM 165 FAN 7758
PWM 150 FAN 6958
PWM 135 FAN 6136
PWM 120 FAN 5192
PWM 105 FAN 3770
PWM 90 FAN 2242
PWM 75 FAN 0
Fan Stopped at PWM = 75

hwmon1/device/fan2_input ... speed was 11637 now 11637
no correlation

Testing pwm control hwmon1/device/pwm2 ...
hwmon1/device/fan1_input ... speed was 12053 now 12053
no correlation
hwmon1/device/fan2_input ... speed was 11637 now 0
It appears that fan hwmon1/device/fan2_input
is controlled by pwm hwmon1/device/pwm2
Would you like to generate a detailed correlation (y)?

PWM 255 FAN 11842
PWM 240 FAN 11065
PWM 225 FAN 10546
PWM 210 FAN 9782
PWM 195 FAN 9121
PWM 180 FAN 8437
PWM 165 FAN 7670
PWM 150 FAN 7105
PWM 135 FAN 6192
PWM 120 FAN 5443
PWM 105 FAN 3947
PWM 90 FAN 2360
PWM 75 FAN 0
Fan Stopped at PWM = 75
Select a temperature sensor as source for hwmon1/pwm2:
1) hwmon0/temp2_input
2) hwmon0/temp3_input
3) hwmon1/temp1_input
4) hwmon1/temp2_input
5) hwmon1/temp3_input
6) None (Do not affect this PWM output)
select (1-n): 2

Enter the low temperature (degree C)
below which the fan should spin at minimum speed (20):

Enter the high temperature (degree C)
over which the fan should spin at maximum speed (60):

Enter the minimum PWM value (0-255)
at which the fan STOPS spinning (press t to test) (100):

Enter the minimum PWM value (100-255)
at which the fan STARTS spinning (press t to test) (150):

Enter the PWM value (0-100) to use when the temperature
is below the low temperature limit (0):

Enter the PWM value (100-255) to use when the temperature
is over the high temperature limit (255):


Select fan output to configure, or other action:
1) hwmon1/pwm3 4) Change INTERVAL 7) Show configuration
2) hwmon1/pwm2 5) Just quit
3) hwmon1/pwm1 6) Save and quit
select (1-n): 6

Saving configuration to /etc/fancontrol...
Configuration saved
service fancontrol start



Analyse


Temperaturen auslesen

cat /sys/devices/platform/it87.2576/temp*_input
79000	temp1_input	cpu
80000
37000