Embest Technology
Copyright © 2014-2015 Embest Technology SBC9000 User Manual
51
Chapter 6 Tests
This chapter will introduce how to run a test on the different interfaces on SBC9000. All
the tests will be conducted under Yocto system and all the instructions are executed in
HyperTerminal unless otherwise specified.
Note:
Press
“Ctrl+C” on your keyboard can exit testing programs.
6.1 LED Test
SBC9000 has three user-defined LEDs which are D4 (LED) on CPU module, D39 (LED2)
and D41 (LED1) on Expansion board.
1
)
Execute the following instructions to turn off the LEDs;
root@sbc9000:~#
echo 1 > /sys/class/leds/user_led1/brightness
root@sbc9000:~#
echo 1 > /sys/class/leds/user_led2/brightness
root@sbc9000:~#
echo 1 > /sys/class/leds/sys_led/brightness
2
)
Execute the following instructions to turn on the LEDs;
root@sbc9000:~#
echo 0 > /sys/class/leds/user_led1/brightness
root@sbc9000:~#
echo 0 > /sys/class/leds/user_led2/brightness
root@sbc9000:~#
echo 0 > /sys/class/leds/sys_led/brightness
6.2 Button Test
There is a user-defined button (S8) on the Expansion board. Please execute the following
instruction to run a test on the button with the tool
“evtest”.
root@sbc9000:~#
evtest /dev/input/event1
Then push the button S8; The terminal window will print information as shown below;