I am using i.MX6(SABRE-SDP) and Linux 3.10.53.
There are two buttons labeled Volume Up and Down.
When click those, I got message like below.
# dmesg -c
...
[ 2875.895728] evbug: Event. Dev: input1, Type: 1, Code: 114, Value: 0
...
[ 2873.265728] evbug: Event. Dev: input1, Type: 1, Code: 115, Value: 1
...
This is just kernel messages, I do not know how can handle those interrupt.
So my question is that how can I sense those events in my application?
Is there a linux application guide? For example, when pushing the key, print out debuging message.
Thank you.
Solved! Go to Solution.
Hi JHY
one can look at linux ../DOC/gpio.txt,input-programming.txt
link below gives useful references
Configure GPIO as interrupt source
https://patchwork.kernel.org/patch/1293451/
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi JHY
one can look at linux ../DOC/gpio.txt,input-programming.txt
link below gives useful references
Configure GPIO as interrupt source
https://patchwork.kernel.org/patch/1293451/
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------