Kontron KTT20-pITX Manual de usuario Pagina 47

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 56
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 46
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
<value>
>/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
Vista de pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 55 56

Comentarios a estos manuales

Sin comentarios