17
FWA-2112 User Manual
C
ha
pte
r 1
Lin
ux
P
latf
orm
S
oft
w
are
G
uid
e I
ntr
od
uc
tio
n
1.6
Sensors
Advantech’s hardware platform provides hardware monitor ability on board, and it
could be read by software in Linux. There are 2 approaches to read out value of sen
-
sors, Advantech’s proprietary utility Sensor-Reader and open source software lm-
sensors. Sensor-Reader is a simple utility for quick usage and porting while lm-sen
-
sors is a flexible, powerful software with library for integration. Customer could
choose one of them for their Linux and application.
1.6.1
Sensor-Reader
The Sensor-Reader (SLA required) utility supports to monitor several critical hard
-
ware sensors of system, including voltages, fan speeds, temperatures and so on.
User can type following command to show help message:
A configuration file has been prepared for your platform in the ‘conf’ folder, type fol
-
lowing command to show all sensor values. Please note different platform or SKU
might need different configuration files. Please contact Advantech AE if there is prob
-
lem about it.
If one sensor’s reading is below or exceed threshold, its FLAG becomes “cr”, and
“Platform Health Status:” becomes “WARNING” if any sensor fails.
# sudo ./apm -h
Sensor-Reader, version 0.36
Usage: apm [OPTION]
-h, help
-c <CONF>, specify the platform
-l, show all platforms
-f, show all hwmon fan sensors
-v, show all hwmon voltage sensors
-m, show all thermal sensors in DIMM
-t, show all hwmon temperature sensors
Example:
If the platform is "fwa-3033", you can firstly run
./apm
If failed, please specify the platform name with -c argument or default.conf
./apm -c fwa-3033
or
./apm (after default.conf setted)
# sudo ./apm -c fwa-2112
Sensor-Reader, version 0.36, platform fwa-2112
SENSOR | VALUE | UNIT | MIN | MAX | FLAG
CPU-TMP | 29.000 | degrees C | 0.000 | 75.000 | ok
SYS-TMP | 37.000 | degrees C | 0.000 | 75.000 | ok
SYS_FAN1-SPEED | 6398 | RPM | 1360 | 10450 | ok
SYS_FAN2-SPEED | 6994 | RPM | 1360 | 10450 | ok
SYS_FAN3-SPEED | 6459 | RPM | 1360 | 10450 | ok
PAY_3_3-VOL | 3.328 | Volts | 3.135 | 3.465 | ok
PAY_5_0-VOL | 5.152 | Volts | 4.750 | 5.250 | ok
PAY_3_3_SB-VOL | 3.264 | Volts | 3.135 | 3.465 | ok
VCGI_SVID-VOL | 1.040 | Volts | 0.520 | 1.240 | ok
VBAT-VOL | 3.120 | Volts | 2.000 | 3.200 | ok
*** Platform Health Status: OK ***