Forum Linux.debian/ubuntu Processeur : récupérer la température

Posté par  . Licence CC By‑SA.
Étiquettes : aucune
0
15
juin
2020

Bonjour,

Je n'arrive plus, après mon changement de cpu à récupérer de valeurs de température.

J'ai également mis à jour le bios de ma carte mère.

A part cela, tout se passe pour le mieux. Voici mes traces.

user@PC:~# sensors

No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.

Voici la liste exhaustive du detect sensors.

user@PC:~# sensors-detect
# sensors-detect revision $Revision$
# Board: ASRock A320M Pro4
# Processor: AMD Ryzen 3 3100 4-Core Processor (23/113/0)

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...                             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): 
Probing for Super-I/O at 0x2e/0x2f
Trying family `National Semiconductor/ITE'...               No
Trying family `SMSC'...                                     No
Trying family `VIA/Winbond/Nuvoton/Fintek'...               Yes
Found `Nuvoton NCT5532D/NCT6779D Super IO Sensors'          Success!
    (address 0x290, driver `nct6775')
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): 

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

Next adapter: SMBus PIIX4 adapter port 0 at 0b00 (i2c-0)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: SMBus PIIX4 adapter port 2 at 0b00 (i2c-1)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: SMBus PIIX4 adapter port 3 at 0b00 (i2c-2)
Do you want to scan it? (yes/NO/selectively): 

Next adapter: SMBus PIIX4 adapter port 4 at 0b00 (i2c-3)
Do you want to scan it? (yes/NO/selectively): 


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

Driver `nct6775':
  * ISA bus, address 0x290
    Chip `Nuvoton NCT5532D/NCT6779D Super IO Sensors' (confidence: 9)

To load everything that is needed, add this to /etc/modules:
#----cut here----
# Chip drivers
nct6775
#----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)

Unloading i2c-dev... OK

root@freewind:~# sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
  • # Ajout du module noyau

    Posté par  . Évalué à 5.

    Bonjour.
    Je pense qu'en répondant oui à la dernière question de sensors-detect ça devrait fonctionner.
    Pour ajouter le module Nct6775 comme sensors-detect le propose.
    Peut être après un redémarrage de la machine.

  • # comme le dit l'autre post

    Posté par  . Évalué à 5.

    c'est marqué dessus

    user@PC:~# sensors-detect
    # sensors-detect revision $Revision$
    # Board: ASRock A320M Pro4
    # Processor: AMD Ryzen 3 3100 4-Core Processor (23/113/0)
    [...]
    #To load everything that is needed, add this to /etc/modules:
    #----cut here----
    # Chip drivers
    nct6775
    #----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)

    donc soit tu le fais à la main, soit tu lances la commande en root et tu réponds yes si tu veux que la commande charge le module pour toi au démarrage de la machine.

    note que tu peux d'abord tester à la main avec
    modprobe nct6775

    puis sensors-detect

    si ca fonctionne et que tu ne veux pas faire le modprobe toi meme, il suffit comme indiquer de modifier le fichier /etc/modules

  • # comme les autres

    Posté par  . Évalué à 3.

    Le superIO est la puce qui collecte toutes les données des capteurs, sans le pilote c'est compliqué.

    Sinon, sois bien conscient que ça ne te donnera qu'une estimation. Les capteurs internes à la puce ne sont pas exposés directement, le CPU n'extériorise qu'une moyenne de ceux-ci. La température lue par le SuperIO sera donc en dessous de celle des parties actives du processeur.

Suivre le flux des commentaires

Note : les commentaires appartiennent à celles et ceux qui les ont postés. Nous n’en sommes pas responsables.