溫度感知器 一文, 我們能使用 Tegra 除錯 sysfs 取得 TMP451 溫度資訊. 與平台無關的 lm-sensors 硬體感知器監視工具可使用在 Jetson TK1 上.

 << 找出 lm-sensors 套件並安裝 >>

ubuntu@tegra-ubuntu:~$ apt-cache search lm-sensors
libsensors4 - library to read temperature/voltage/fan sensors
libsensors4-dev - lm-sensors development kit
fancontrol - utilities to read temperature/voltage/fan sensors
lm-sensors - utilities to read temperature/voltage/fan sensors
mrtgutils-sensors - Utilities to generate statistics for mrtg (from lm-sensors)
nagios-plugins-contrib - Plugins for nagios compatible monitoring systems
phpsysinfo - PHP based host information
psensor - display graphs for monitoring hardware temperature
psensor-server - Psensor server for monitoring hardware sensors remotely
sensord - hardware sensor information logging daemon
sensors-applet - Display readings from hardware sensors in your Gnome panel
xfce4-goodies - enhancements for the Xfce4 Desktop Environment

ubuntu@tegra-ubuntu:~$ sudo apt-get install lm-sensors

<< 掃描系统感知器 >>

ubuntu@tegra-ubuntu:~$ sudo sensors-detect

<< 表列感知器資訊 >>

ubuntu@tegra-ubuntu:~$ sensors

CPU-therm-virtual-0
Adapter: Virtual device
temp1: +33.0°C (crit = +105.0°C)

GPU-therm-virtual-0
Adapter: Virtual device
temp1: +35.0°C (crit = +101.0°C)

MEM-therm-virtual-0
Adapter: Virtual device
temp1: +33.0°C (crit = +101.0°C)

PLL-therm-virtual-0
Adapter: Virtual device
temp1: +33.0°C

Tboard_tegra-virtual-0
Adapter: Virtual device
temp1: +30.0°C

Tdiode_tegra-virtual-0
Adapter: Virtual device
temp1: +32.2°C

* 以上感知器除錯 sysfs 為 /sys/kernel/debug/tegra_soctherm

<< 也可使用圖型介面 psensor >>

ubuntu@tegra-ubuntu:~$ sudo apt-get install psensor
ubuntu@tegra-ubuntu:~$ psensor

psensor.jpg  

 

lm-sensors 官網 : http://www.lm-sensors.org/

 

 

文章標籤
創作者介紹
創作者 版大 的頭像
版大

嵌入式系統

版大 發表在 痞客邦 留言(0) 人氣()