Не могу проверить температуру процессора и другого оборудования, у которого есть соответствующие датчики. Это новый компьютер, я только установил на него линукс. На старом компьютере температуру смотрел так
sensors
Сейчас эта команда выдает
$ sensors
amdgpu-pci-3800
Adapter: PCI adapter
fan1: N/A
temp1: +0.0°C (crit = +0.0°C, hyst = +0.0°C)
Программа была установлена так
sudo apt install lm-sensors
sudo sensors-detect
На все вопросы ответил enter'ом.
Вывод второй команды
$ sudo sensors-detect
# sensors-detect revision 6284 (2015-05-31 14:00:33 +0200)
# System: Micro-Star International Co., Ltd. MS-7A34 [2.0]
# Board: Micro-Star International Co., Ltd. B350 PC MATE (MS-7A34)
# Kernel: 4.15.0-22-generic x86_64
# Processor: AMD Ryzen 3 2200G with Radeon Vega Graphics (23/17/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):
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... 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'... 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'... Yes
Found unknown chip with ID 0xd352
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 1022:790b at 0000:00:14.0.
Sorry, no supported PCI bus adapters found.
Next adapter: SMBus PIIX4 adapter port 0 at 0b00 (i2c-0)
Do you want to scan it? (YES/no/selectively):
Client found at address 0x1c
Probing for `Texas Instruments TMP421'... No
Probing for `Texas Instruments TMP441'... No
Probing for `SMSC EMC1072'... No
Probing for `SMSC EMC1073'... No
Probing for `SMSC EMC1074'... No
Probing for `ST STTS424'... No
Probing for `ST STTS424E'... No
Probing for `ST STTS2002'... No
Probing for `ST STTS3000'... No
Probing for `NXP SE97/SE97B'... No
Probing for `NXP SE98'... No
Probing for `Analog Devices ADT7408'... No
Probing for `IDT TS3000/TSE2002'... No
Probing for `IDT TSE2004'... No
Probing for `IDT TS3001'... No
Probing for `Maxim MAX6604'... No
Probing for `Microchip MCP9804'... No
Probing for `Microchip MCP98242'... No
Probing for `Microchip MCP98243'... No
Probing for `Microchip MCP98244'... No
Probing for `Microchip MCP9843'... No
Probing for `ON CAT6095/CAT34TS02'... No
Probing for `Atmel AT30TS00'... No
Client found at address 0x52
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... No
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):
Next adapter: AMDGPU DM i2c hw bus 0 (i2c-4)
Do you want to scan it? (yes/NO/selectively):
Next adapter: AMDGPU DM i2c hw bus 1 (i2c-5)
Do you want to scan it? (yes/NO/selectively):
Next adapter: dmdc (i2c-6)
Do you want to scan it? (yes/NO/selectively):
Next adapter: AMDGPU DM i2c hw bus 2 (i2c-7)
Do you want to scan it? (yes/NO/selectively):
Next adapter: AMDGPU DM i2c hw bus 3 (i2c-8)
Do you want to scan it? (yes/NO/selectively):
Sorry, no sensors were detected.
Either your system has no sensors, or they are not supported, or
they are connected to an I2C or SMBus adapter that is not
supported. If you find out what chips are on your board, check
http://www.lm-sensors.org/wiki/Devices for driver status.
Процессор: AMD Ryzen 3 2200G
ОС: Kubuntu 18.04 LTS
$ inxi -Fxz
System: Host: ryzen Kernel: 4.15.0-22-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: KDE Plasma 5.12.5 (Qt 5.9.5) Distro: Ubuntu 18.04 LTS
Machine: Device: desktop Mobo: Micro-Star model: B350 PC MATE (MS-7A34) v: 2.0 serial: N/A
UEFI: American Megatrends v: A.D0 date: 03/16/2018
CPU: Quad core AMD Ryzen 3 2200G with Radeon Vega Graphics (-MCP-) arch: Zen rev.0 cache: 2048 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 28001
clock speeds: max: 2221 MHz 1: 1455 MHz 2: 1475 MHz 3: 2221 MHz 4: 1447 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Vega [Radeon Vega 8 Mobile] bus-ID: 38:00.0
Display Server: x11 (X.Org 1.19.6 ) drivers: ati,amdgpu (unloaded: modesetting,fbdev,vesa,radeon)
Resolution: 1920x1080@60.00hz
OpenGL: renderer: AMD RAVEN (DRM 3.23.0 / 4.15.0-22-generic, LLVM 6.0.0)
version: 4.5 Mesa 18.0.0-rc5 Direct Render: Yes
Audio: Card-1 Advanced Micro Devices [AMD] Device 15e3 driver: snd_hda_intel bus-ID: 38:00.6
Card-2 Advanced Micro Devices [AMD/ATI] Device 15de driver: snd_hda_intel bus-ID: 38:00.1
Sound: Advanced Linux Sound Architecture v: k4.15.0-22-generic
Network: Card: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: f000 bus-ID: 1e:00.0
IF: enp30s0 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: HDD Total Size: 480.1GB (18.9% used)
ID-1: /dev/sda model: KINGSTON_SA400S3 size: 480.1GB temp: 31C
Partition: ID-1: / size: 94G used: 7.1G (8%) fs: ext4 dev: /dev/sda2
ID-2: /home size: 338G used: 70G (22%) fs: ext4 dev: /dev/sda4
ID-3: swap-1 size: 8.19GB used: 0.00GB (0%) fs: swap dev: /dev/sda3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: No active sensors found. Have you configured your sensors yet? mobo: N/A gpu: 0.0
Info: Processes: 190 Uptime: 1:40 Memory: 2164.3/3698.8MB Init: systemd runlevel: 5 Gcc sys: N/A
Client: Shell (bash 4.4.191) inxi: 2.3.56
Сейчас удается узнать только температуру жесткого диска командой hddtemp /dev/sda.
Пытался посмотреть в /sys/devices/platform/coretemp.0/, но такой папки нет.
$ ls /sys/devices/platform/
alarmtimer/ Fixed MDIO bus.0/ PNP0103:00/ PNP0C14:01/ serial8250/
AMDI0030:00/ microcode/ PNP0C0C:00/ power/ uevent
efi-framebuffer.0/ pcspkr/
Как настроить lm-sensors или воспользоваться другой программой, которая может показать температуру устройств? Как вариант, через виртуальный файловые системы линукса, вроде /sys/.