TQMa8MxML - YOCTO Linux BSP documentation


Temperature Sensors

To read from the temperature sensors, the following command can be used:

sensors


Alternatively, read from the hwmon interface directly:

cat /sys/class/hwmon/hwmon<N>/temp1_input

To list all available hwmon interfaces, use:

ls -al /sys/class/hwmon

Note that the output is displayed in millidegrees Celsius!