AnsweredAssumed Answered

Gathering i.MX6 GPIO interrupt

Question asked by JHY on May 28, 2015
Latest reply on May 28, 2015 by igorpadykov

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.

Outcomes