MaaXBoard_Mini-Linux-Debian-UM-V1.1
http://www.avnet.me/maaxboardmini.com
11
Chapter 3 Feature Configuration & Introduction
First of all, please refer to the previous chapter and boot up the system. Then configure or use the
functions according to the following guidance.
3.1 Preparation
Connect to Internet, execute the following commands in serial terminal to install related tools:
root@maaxboard-mini:~# apt update
root@maaxboard-mini:~# apt install evtest
3.2 USER LED
User can control the 2 single color LED indicators, LED0 and LED1 (corresponding to usr_led and
sys_led) on MaaXBoard Mini. Execute the following instructions in serial terminal to control them.
Light out LED:
root@maaxboard-mini:~# echo 0 | tee /sys/class/leds/usr_led/brightness
root@maaxboard-mini:~# echo 0 | tee /sys/class/leds/sys_led/brightness
Light up LED:
root@maaxboard-mini:~# echo 1 | tee /sys/class/leds/usr_led/brightness
root@maaxboard-mini:~# echo 1 | tee /sys/class/leds/sys_led/brightness
3.3 Button
MaaXBoard Mini support 3 button: BACK, HOME and PWR.
1. Test BACK and HOME button with following instructions:
Enter
evtest
command, then choose the event id for
gpio_keys
root@maaxboard-mini:~# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: 30370000.snvs:snvs-powerkey
/dev/input/event3: gpio_keys
/dev/input/event4: bd718xx-pwrkey
Select the device event number [0-4]: 3
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100
Input device name: "gpio_keys"