Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 20/10/2019, à 18:01

david75017

utilisation de lm-sensors

Bonjour à tous,

Je rencontre des problèmes pour utiliser le programme lm-sensors avec une configuration que je viens de monter.
Le processeur est un ryzen 5 2600X et la carte mère une Gigabyte Aorus B450 M pro.
J'ai installé xubuntu 18.04.2

La commande sensors ne retourne presque rien:

k10temp-pci-00c3
Adapter: PCI adapter
Tdie:         +31.8°C  (high = +70.0°C)
Tctl:         +31.8°C 

La commande sudo sensors-detect échoue à toutes les questions. J'ai donc essayé d'exécuter le script sensors-detect à jour récupéré sur le site https://hwmon.wiki.kernel.org/start, et cela me retourne les résultats suivants:

# sensors-detect version 3.6.0
# System: Gigabyte Technology Co., Ltd. B450 AORUS PRO [Default string]
# Board: Gigabyte Technology Co., Ltd. B450 AORUS PRO-CF
# Kernel: 5.0.0-31-generic x86_64
# Processor: AMD Ryzen 5 2600X Six-Core Processor (23/8/2)

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): yes
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...                           Success!
    (driver `k10temp')
AMD Family 15h power sensors...                             No
AMD Family 16h power sensors...                             No
Hygon Family 18h thermal sensors...                         No
Intel digital thermal sensor...                             No
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): yes
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 IT8686E Super IO Sensors'                        Success!
    (address 0xa40, driver `to-be-written')
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'...                                      Yes
Found `ITE IT8792E Super IO Sensors'                        Success!
    (address 0xa60, driver `it87')

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): yes
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): yes
Using driver `i2c-piix4' for device 0000:00:14.0: AMD KERNCZ SMBus

Next adapter: NVIDIA i2c adapter 4 at 6:00.0 (i2c-0)
Do you want to scan it? (yes/NO/selectively): no

Next adapter: NVIDIA i2c adapter 6 at 6:00.0 (i2c-1)
Do you want to scan it? (yes/NO/selectively): no

Next adapter: NVIDIA i2c adapter 7 at 6:00.0 (i2c-2)
Do you want to scan it? (yes/NO/selectively): no


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

Driver `to-be-written':
  * ISA bus, address 0xa40
    Chip `ITE IT8686E Super IO Sensors' (confidence: 9)

Driver `it87':
  * ISA bus, address 0xa60
    Chip `ITE IT8792E Super IO Sensors' (confidence: 9)

Driver `k10temp' (autoloaded):
  * Chip `AMD Family 17h thermal sensors' (confidence: 9)

Note: there is no driver for ITE IT8686E Super IO Sensors yet.
Check https://hwmon.wiki.kernel.org/device_support_status for updates.

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): yes
Copy prog/init/lm_sensors.service to /lib/systemd/system
and run 'systemctl enable lm_sensors.service'
for initialization at boot time.

J'ai effectué les instructions : j'ai copié le fichier lm_sensors.sercice dans le dossier /lib/systemd/system
Puis j'ai exécuté la commande systemctl enable lm_sensors.service
J'ai redémarré, et maintenant la commande sensors me donne ça:

k10temp-pci-00c3
Adapter: PCI adapter
Tdie:         +38.9°C  (high = +70.0°C)
Tctl:         +38.9°C  

it8792-isa-0a60
Adapter: ISA adapter
in0:          +1.81 V  (min =  +0.00 V, max =  +2.78 V)
in1:          +1.32 V  (min =  +0.00 V, max =  +2.78 V)
in2:          +1.21 V  (min =  +0.00 V, max =  +2.78 V)
+3.3V:        +1.69 V  (min =  +0.00 V, max =  +2.78 V)
in4:          +1.32 V  (min =  +0.00 V, max =  +2.78 V)
in5:          +1.23 V  (min =  +0.00 V, max =  +2.78 V)
in6:          +2.78 V  (min =  +0.00 V, max =  +2.78 V)  ALARM
3VSB:         +1.69 V  (min =  +0.00 V, max =  +2.78 V)
Vbat:         +1.65 V  
fan1:           0 RPM  (min =    0 RPM)
fan2:           0 RPM  (min =    0 RPM)
fan3:           0 RPM  (min =    0 RPM)
temp1:        +28.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp2:        +33.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
temp3:        +33.0°C  (low  = +127.0°C, high = +127.0°C)  sensor = thermistor
intrusion0:  ALARM

Je ne comprends pas pourquoi je n'ai pas la température du CPU, qui est celle qui m'interesse le plus. Est-ce dû aux remarques concernant les drivers 'to-be-written' que retourne sensors-detect?
Ou est-ce dû au fait que la version de lm_sensors que j'utilise est celle des dépôts, qui est dépassée?
Merci d'avance pour vos éclaircissements.

Hors ligne