29.04.2015 Views

DevKit8500D/A User Manual - DMCS Pages for Students

DevKit8500D/A User Manual - DMCS Pages for Students

DevKit8500D/A User Manual - DMCS Pages for Students

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

oot@DevKit8500:# echo 1 > /sys/class/leds/user_led1/brightness<br />

root@DevKit8500:# echo 0 > /sys/class/leds/user_led1/brightness<br />

4) Control user_led2:<br />

root@DevKit8500:# echo 1 > /sys/class/leds/user_led2/brightness<br />

root@DevKit8500:# echo 0 > /sys/class/leds/user_led2/brightness<br />

The user pushes a LED with operation are to kill bright.<br />

3.8.1.2 KEYPAD Testing<br />

Board has two users keyboard USER1 USER2, users can and per<strong>for</strong>m the following command<br />

testing:<br />

root@DevKit8500:~# evtest /dev/input/event0<br />

Input driver version is 1.0.0evdev.c(EVIOCGBIT): Suspicious buffer size 511, limiting output<br />

to 64 bytes. See http://userweb.kernel.org/~dtor/eviocgbit-bug.html<br />

Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x100<br />

Input device name: "gpio-keys"<br />

Supported events:<br />

Event type 0 (Sync)<br />

Event type 1 (Key)<br />

Event code 1 (Esc)<br />

Event code 59 (F1)<br />

Testing ... (interrupt to exit)<br />

Event: time 44.232697, type 1 (Key), code 59 (F1), value 1<br />

Event: time 44.232697, -------------- Report Sync ------------<br />

Event: time 44.396515, type 1 (Key), code 59 (F1), value 0<br />

Event: time 44.396515, -------------- Report Sync ------------<br />

Event: time 45.219238, type 1 (Key), code 1 (Esc), value 1<br />

Event: time 45.219268, -------------- Report Sync ------------<br />

Event: time 45.358306, type 1 (Key), code 1 (Esc), value 0<br />

Event: time 45.358306, -------------- Report Sync ------------<br />

63

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!