Kontron KTT20-pITX Instrukcja Użytkownika Strona 47

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 56
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 55 56

Komentarze do niniejszej Instrukcji

Brak uwag