• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Gehäuse-Lüfter regulieren

kruppa

Newbie
Ich möchte den Gehäuse-Lüfter meines Fileservers regulieren können. Leider scheint der Lüfter nicht gefunden zu werden. Hier die Daten von meinem System:

Mainboard: Gigabyte J4005N D2P (J4005ND2P-CF)
OS: CentOS Linux release 7.9.2009 (Core)

Ich habe das bisher probiert:

Code:
sensors

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

coretemp-isa-0000
Adapter: ISA adapter
Package id 0:  +32.0°C  (high = +105.0°C, crit = +105.0°C)
Core 0:        +32.0°C  (high = +105.0°C, crit = +105.0°C)
Core 1:        +32.0°C  (high = +105.0°C, crit = +105.0°C)

Code:
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.

/usr/sbin/pwmconfig: There are no pwm-capable sensor modules installed

Code:
fancontrol
Loading configuration from /etc/fancontrol ...
Error: Can't read configuration file

Im Voraus schon mal vielen Dank für hilfreiche Antworten
 

manzek

Hacker
Im BIOS kann man üblicherweise einstellen, wie die Lüfter angesteuert werden.
Sind die Lüfter dort auf PWM eingestellt?
 
OP
K

kruppa

Newbie
Ja, im Moment sind sie auf PWM gestellt. Soll ich auf Voltage ändern? Der Lüfter hat sowieso nur drei belegte Pins.
 
Hallo @kruppa,

warum willst Du in die Lüfter Reglung eingreifen? Wurde der Lüfter durch dich zusätzlich eingebaut? Ist er einfach zu laut und stört?
Ich frage dass, weil ich Gegner solche Eingriffe bin. Die
elektronische Bauteile haben gerne kalt und "sterben" langsam bei erhöhter Temperatur.

Gruß, Heinz-Peter
 

Christina

Moderator
Teammitglied

josef-wien

Ultimate Guru
Wenn sensors nichts vom Lüfter weiß, dann unterstützt das BIOS/UEFI keine externe Steuerung oder es gibt keinen Treiber dafür. im übrigen bin ich der Meinung, daß ein vernünftiges BIOS/UEFI Lüfter effizienter steuern kann als ein Betriebssystem. Im Handbuch steht lapidar:
Fan speed control
* Whether the fan speed control function is supported will depend on the cooler you install.
Und ob der Hersteller mehr dazu sagen kann oder will, steht in den Sternen.
 
OP
K

kruppa

Newbie
warum willst Du in die Lüfter Reglung eingreifen? Wurde der Lüfter durch dich zusätzlich eingebaut? Ist er einfach zu laut und stört?
Ich habe das Gehäuse gewechselt und da war ein Lüfter eingebaut. Leider war er sehr laut und hat mich sehr gestört.

@Christina

Danke, das Umstellen auf Voltage hat den Lüfter leiser gemacht.

@josef-wien

Danke, kann man dann wohl nicht ändern.
 

Christina

Moderator
Teammitglied
josef-wien schrieb:
Wenn sensors nichts vom Lüfter weiß, dann unterstützt das BIOS/UEFI keine externe Steuerung oder es gibt keinen Treiber dafür.
Oder der Treiber ist nicht geladen.
Gerade eben ist mir das wieder eingefallen! @kruppa Hast du schon als root ausgeführt?
Code:
/usr/sbin/sensors-detect
josef-wien schrieb:
im übrigen bin ich der Meinung, daß ein vernünftiges BIOS/UEFI Lüfter effizienter steuern kann als ein Betriebssystem.
@kruppa Hast du da schon nachgeschaut?

Vielleicht zeige ich dir dann wie die Lüfter bei meinem PC geregelt werden. Der hat leider noch kein UEFI und kein Menü zur Lüftersteuerung. Bei der Einrichtung unter Linux hatte mir aber jemand geholfen. Wenn der Gehäuselüfter unter Linux durch fancontrol geregelt wird, gibt das Mainboard die CPU-Lüfterregelung jedoch ab! Dann muss der CPU-Lüfter also auch noch per fancontrol konfiguriert werden. Beim letzten Upgrade von Leap 15.1 auf 15.2 wurde das alles übernommen.
 
OP
K

kruppa

Newbie
Ja, aber ohne Erfolg:

Code:
/usr/sbin/sensors-detect
# sensors-detect revision 3.4.0-8 (2016-06-01)
# System: Gigabyte Technology Co., Ltd. Default string [Default string]
# Board: Gigabyte Technology Co., Ltd. J4005ND2P-CF
# Kernel: 3.10.0-1160.11.1.el7.x86_64 x86_64
# Processor: Intel(R) Celeron(R) J4005 CPU @ 2.00GHz (6/122/1)

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):
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 17h 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'...                                      Yes
Found unknown chip with ID 0x8686
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):
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:31d4 at 0000:00:1f.1.
Sorry, no supported PCI bus adapters found.
Module i2c-dev loaded successfully.

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

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

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

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

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


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)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
Unloading i2c-dev... OK
 

Christina

Moderator
Teammitglied
kruppa schrieb:
Ja, aber ohne Erfolg:
Code:
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)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
Unloading i2c-dev... OK
Zeige bitte:
Code:
cat /etc/sysconfig/lm_sensors
und
Code:
systemctl status lm_sensors.service
Ergänzung:
Hast du im BIOS/UEFI schon nachgeschaut, ob es dort eine Lüftersteuerung gibt?
 

josef-wien

Ultimate Guru
coretemp ist für die CPU-Temperatur zuständig, und die kennt sensors ja. Ich würde bei einem mainboard aus 2018 kein Betriebssystem mit einem Kernel aus 2013 und sensors aus 2016 einsetzen.
 
OP
K

kruppa

Newbie
Code:
cat /etc/sysconfig/lm_sensors
# Generated by sensors-detect on Fri Jan 15 23:17:36 2021
# This file is sourced by /etc/init.d/lm_sensors and defines the modules to
# be loaded/unloaded.
#
# The format of this file is a shell script that simply defines variables:
# HWMON_MODULES for hardware monitoring driver modules, and optionally
# BUS_MODULES for any required bus driver module (for example for I2C or SPI).

HWMON_MODULES="coretemp"

Code:
systemctl status lm_sensors.service
● lm_sensors.service - Initialize hardware monitoring sensors
   Loaded: loaded (/usr/lib/systemd/system/lm_sensors.service; enabled; vendor preset: enabled)
   Active: active (exited) since Fr 2021-01-15 23:17:36 CET; 19h ago
  Process: 14549 ExecStart=/usr/bin/sensors -s (code=exited, status=0/SUCCESS)
  Process: 14543 ExecStart=/usr/libexec/lm_sensors/modprobe $BUS_MODULES $HWMON_MODULES (code=exited, status=0/SUCCESS)
 Main PID: 14549 (code=exited, status=0/SUCCESS)
   CGroup: /system.slice/lm_sensors.service

Jan 15 23:17:36 server3.fritz.box systemd[1]: Starting Initialize hardware monitoring sensors...
Jan 15 23:17:36 server3.fritz.box systemd[1]: Started Initialize hardware monitoring sensors.
 

Christina

Moderator
Teammitglied
@kruppa
Diese Infos waren jetzt nicht mehr nötig. Den Grund dafür hat josef-wien schon genannt.
(Er sieht viel mehr als ich.)
 
Oben