3 backlight, 4 bootcounter – Kontron KTT20-pITX User Manual
Page 47
KTD-S0045-D
Page 43
AndroidTM BSP
KTT20/pITX Software Guide
10.4.2 Temperatures
The board provides two temperatures: CPU (temp2) and sensor onchip (temp1). For temperature display in
°C divide the returned values by 1000.
Get the sensor onchip temperature:
cat
/sys/class/hwmon/hwmon0/device/temp1_input
Get the CPU temperature:
cat
/sys/class/hwmon/hwmon0/device/temp2_input
10.4.3 Backlight
The backlight functionality is only available if you have activated the LCD panel support in U-Boot.
Get the brightness value:
cat
/sys/class/backlight/pwm-backlight/brightness
Set a new brightness value (range: 0 to 255):
echo
>/sys/class/backlight/pwm-backlight/brightness
Example:
echo
64
>/sys/class/backlight/pwm-backlight/brightness
10.4.4 Bootcounter
It can be useful to read the bootcounter.
Get the bootcounter value:
cat
/sys/bus/i2c/devices/2-0050/bootcounter