AnsweredAssumed Answered

imx keypad on 6sl odd behavior

Question asked by jayakumar2 on Mar 24, 2014
Latest reply on Apr 4, 2014 by alejandrolozano

Hi,

 

I'm bringing up a board that uses i.mx6sololite. I've got 4 buttons on this board. The common pin is wired to KEY_COL0 and then each of the buttons are KEY_ROW0, 1, 2, 3. I then setup the keymap in the board file:

static int mx6sl_evk_keymap[] = {                        

        KEY(0, 0, KEY_SELECT),                                          

        KEY(1, 0, KEY_BACK),              

        KEY(2, 0, KEY_F1),                            

        KEY(3, 0, KEY_F2),

 

when I test this, I see each button work (ie: reported in evtest) but only once. Meaning after it is pressed, there continues to be spew, then released, still spew, then different button pressed and then that buttons spew but pressing the previous button does not generate any result. Meaning a button press is only detected once.

 

I then thought maybe the KEY(row, col, value) macro was doing something unexpected so I tried:

static int mx6sl_evk_keymap[] = {

        KEY(0, 0, KEY_SELECT),

        KEY(1, 0, KEY_BACK),

        KEY(2, 0, KEY_F1),

        KEY(3, 0, KEY_F2),

 

        KEY(0, 1, KEY_F3),

        KEY(0, 2, KEY_F4),

        KEY(0, 3, KEY_F5),

 

        KEY(1, 1, KEY_MENU),

 

I left the iomux the same so I wouldn't expect F3,4,5 or MENU to ever show up. I then run evtest and press the buttons. This time the buttons work better, meaning it is reporting each time the buttons are pressed but there is a lot of spew and I'm not getting the exact button that I would expect for the configured row/col pins.

 

root@freescale ~$ evtest /dev/input/event0

Input driver version is 1.0.1

Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0

Input device name: "imx-keypad"

Supported events:

  Event type 0 (Sync)

  Event type 1 (Key)

    Event code 59 (F1)

    Event code 60 (F2)

    Event code 61 (F3)

    Event code 62 (F4)

    Event code 63 (F5)

    Event code 139 (Menu)

    Event code 158 (Back)

    Event code 353 (Select)

  Event type 4 (Misc)

    Event code 4 (ScanCode)

  Event type 20 (Repeat)

Testing ... (interrupt to exit)

### pressed first button which should have been (0,0) since ROW0/COL0, immediately see unexpected value of F5 which is supposed to be (0, 3) ROW0, COL3 and COL3 is not even wired up. There is no COL3 in the iomux.

Event: time 37.971072, type 1 (Key), code 63 (F5), value 2

Event: time 37.971074, -------------- Report Sync ------------

Event: time 38.011070, type 1 (Key), code 63 (F5), value 2

Event: time 38.011071, -------------- Report Sync ------------

Event: time 38.051067, type 1 (Key), code 63 (F5), value 2

Event: time 38.051069, -------------- Report Sync ------------

Event: time 38.091064, type 1 (Key), code 63 (F5), value 2

Event: time 38.091066, -------------- Report Sync ------------

Event: time 38.131066, type 1 (Key), code 63 (F5), value 2

Event: time 38.131068, -------------- Report Sync ------------

Event: time 38.171064, type 1 (Key), code 63 (F5), value 2

Event: time 38.171066, -------------- Report Sync ------------

Event: time 38.211066, type 1 (Key), code 63 (F5), value 2

Event: time 38.211068, -------------- Report Sync ------------

Event: time 38.251066, type 1 (Key), code 63 (F5), value 2

Event: time 38.251068, -------------- Report Sync ------------

Event: time 38.291065, type 1 (Key), code 63 (F5), value 2

Event: time 38.291066, -------------- Report Sync ------------

Event: time 38.331063, type 1 (Key), code 63 (F5), value 2

Event: time 38.331064, -------------- Report Sync ------------

Event: time 38.371067, type 1 (Key), code 63 (F5), value 2

Event: time 38.371068, -------------- Report Sync ------------

Event: time 38.411065, type 1 (Key), code 63 (F5), value 2

Event: time 38.411066, -------------- Report Sync ------------

Event: time 38.451063, type 1 (Key), code 63 (F5), value 2

Event: time 38.451065, -------------- Report Sync ------------

Event: time 38.491065, type 1 (Key), code 63 (F5), value 2

Event: time 38.491067, -------------- Report Sync ------------

Event: time 38.531065, type 1 (Key), code 63 (F5), value 2

Event: time 38.531066, -------------- Report Sync ------------

Event: time 38.571063, type 1 (Key), code 63 (F5), value 2

Event: time 38.571064, -------------- Report Sync ------------

Event: time 38.611066, type 1 (Key), code 63 (F5), value 2

Event: time 38.611067, -------------- Report Sync ------------

Event: time 38.651065, type 1 (Key), code 63 (F5), value 2

Event: time 38.651066, -------------- Report Sync ------------

Event: time 38.691063, type 1 (Key), code 63 (F5), value 2

Event: time 38.691065, -------------- Report Sync ------------

Event: time 38.731066, type 1 (Key), code 63 (F5), value 2

Event: time 38.731067, -------------- Report Sync ------------

Event: time 38.771065, type 1 (Key), code 63 (F5), value 2

Event: time 38.771066, -------------- Report Sync ------------

Event: time 38.811064, type 1 (Key), code 63 (F5), value 2

Event: time 38.811065, -------------- Report Sync ------------

Event: time 38.851066, type 1 (Key), code 63 (F5), value 2

Event: time 38.851068, -------------- Report Sync ------------

Event: time 38.891064, type 1 (Key), code 63 (F5), value 2

Event: time 38.891066, -------------- Report Sync ------------

Event: time 38.931063, type 1 (Key), code 63 (F5), value 2

Event: time 38.931065, -------------- Report Sync ------------

Event: time 38.971065, type 1 (Key), code 63 (F5), value 2

Event: time 38.971067, -------------- Report Sync ------------

Event: time 39.011065, type 1 (Key), code 63 (F5), value 2

Event: time 39.011067, -------------- Report Sync ------------

Event: time 39.051064, type 1 (Key), code 63 (F5), value 2

Event: time 39.051066, -------------- Report Sync ------------

Event: time 39.091066, type 1 (Key), code 63 (F5), value 2

Event: time 39.091067, -------------- Report Sync ------------

Event: time 39.131065, type 1 (Key), code 63 (F5), value 2

Event: time 39.131066, -------------- Report Sync ------------

Event: time 39.171063, type 1 (Key), code 63 (F5), value 2

Event: time 39.171065, -------------- Report Sync ------------

Event: time 39.211068, type 1 (Key), code 63 (F5), value 2

Event: time 39.211069, -------------- Report Sync ------------

Event: time 39.251066, type 1 (Key), code 63 (F5), value 2

Event: time 39.251067, -------------- Report Sync ------------

Event: time 39.291063, type 1 (Key), code 63 (F5), value 2

Event: time 39.291065, -------------- Report Sync ------------

Event: time 39.331075, type 1 (Key), code 63 (F5), value 2

Event: time 39.331077, -------------- Report Sync ------------

Event: time 39.371068, type 1 (Key), code 63 (F5), value 2

Event: time 39.371069, -------------- Report Sync ------------

Event: time 39.411065, type 1 (Key), code 63 (F5), value 2

Event: time 39.411066, -------------- Report Sync ------------

Event: time 39.451067, type 1 (Key), code 63 (F5), value 2

Event: time 39.451068, -------------- Report Sync ------------

Event: time 39.491065, type 1 (Key), code 63 (F5), value 2

Event: time 39.491067, -------------- Report Sync ------------

Event: time 39.531063, type 1 (Key), code 63 (F5), value 2

Event: time 39.531065, -------------- Report Sync ------------

Event: time 39.571066, type 1 (Key), code 63 (F5), value 2

Event: time 39.571068, -------------- Report Sync ------------

Event: time 39.611064, type 1 (Key), code 63 (F5), value 2

Event: time 39.611066, -------------- Report Sync ------------

Event: time 39.651063, type 1 (Key), code 63 (F5), value 2

Event: time 39.651065, -------------- Report Sync ------------

Event: time 39.691065, type 1 (Key), code 63 (F5), value 2

Event: time 39.691066, -------------- Report Sync ------------

Event: time 39.731064, type 1 (Key), code 63 (F5), value 2

Event: time 39.731066, -------------- Report Sync ------------

Event: time 39.771065, type 1 (Key), code 63 (F5), value 2

Event: time 39.771066, -------------- Report Sync ------------

Event: time 39.811065, type 1 (Key), code 63 (F5), value 2

Event: time 39.811067, -------------- Report Sync ------------

Event: time 39.851064, type 1 (Key), code 63 (F5), value 2

Event: time 39.851066, -------------- Report Sync ------------

Event: time 39.891063, type 1 (Key), code 63 (F5), value 2

Event: time 39.891065, -------------- Report Sync ------------

Event: time 39.931065, type 1 (Key), code 63 (F5), value 2

Event: time 39.931067, -------------- Report Sync ------------

Event: time 39.971065, type 1 (Key), code 63 (F5), value 2

Event: time 39.971066, -------------- Report Sync ------------

Event: time 40.011063, type 1 (Key), code 63 (F5), value 2

Event: time 40.011065, -------------- Report Sync ------------

Event: time 40.051067, type 1 (Key), code 63 (F5), value 2

Event: time 40.051068, -------------- Report Sync ------------

Event: time 40.091065, type 1 (Key), code 63 (F5), value 2

Event: time 40.091067, -------------- Report Sync ------------

Event: time 40.131063, type 1 (Key), code 63 (F5), value 2

Event: time 40.131065, -------------- Report Sync ------------

Event: time 40.171065, type 1 (Key), code 63 (F5), value 2

Event: time 40.171067, -------------- Report Sync ------------

Event: time 40.211066, type 1 (Key), code 63 (F5), value 2

Event: time 40.211068, -------------- Report Sync ------------

Event: time 40.251063, type 1 (Key), code 63 (F5), value 2

Event: time 40.251064, -------------- Report Sync ------------

Event: time 40.291065, type 1 (Key), code 63 (F5), value 2

Event: time 40.291066, -------------- Report Sync ------------

Event: time 40.331065, type 1 (Key), code 63 (F5), value 2

Event: time 40.331067, -------------- Report Sync ------------

Event: time 40.371063, type 1 (Key), code 63 (F5), value 2

Event: time 40.371065, -------------- Report Sync ------------

Event: time 40.411065, type 1 (Key), code 63 (F5), value 2

Event: time 40.411066, -------------- Report Sync ------------

Event: time 40.451064, type 1 (Key), code 63 (F5), value 2

Event: time 40.451065, -------------- Report Sync ------------

Event: time 40.491063, type 1 (Key), code 63 (F5), value 2

Event: time 40.491064, -------------- Report Sync ------------

Event: time 40.531066, type 1 (Key), code 63 (F5), value 2

Event: time 40.531067, -------------- Report Sync ------------

Event: time 40.571064, type 1 (Key), code 63 (F5), value 2

Event: time 40.571066, -------------- Report Sync ------------

Event: time 40.611064, type 1 (Key), code 63 (F5), value 2

Event: time 40.611066, -------------- Report Sync ------------

Event: time 40.651065, type 1 (Key), code 63 (F5), value 2

Event: time 40.651067, -------------- Report Sync ------------

Event: time 40.691062, type 1 (Key), code 63 (F5), value 2

 

### why did F5 repeat so many times? I only pressed the button once. That seems too long to be any bounce related effect.

 

Event: time 40.691064, -------------- Report Sync ------------

Event: time 40.691107, type 4 (Misc), code 4 (ScanCode), value 01

Event: time 40.691110, type 1 (Key), code 61 (F3), value 0

Event: time 40.691112, type 4 (Misc), code 4 (ScanCode), value 02

Event: time 40.691114, type 1 (Key), code 62 (F4), value 0

Event: time 40.691116, type 4 (Misc), code 4 (ScanCode), value 03

Event: time 40.691118, type 1 (Key), code 63 (F5), value 0

 

### I pressed SW2, 3, 4 and I saw above which is not what I expected since these are different COLs.

 

Event: time 40.691120, -------------- Report Sync ------------

Event: time 40.901098, type 4 (Misc), code 4 (ScanCode), value 01

Event: time 40.901103, type 1 (Key), code 61 (F3), value 1

Event: time 40.901105, type 4 (Misc), code 4 (ScanCode), value 02

Event: time 40.901108, type 1 (Key), code 62 (F4), value 1

Event: time 40.901110, type 4 (Misc), code 4 (ScanCode), value 03

Event: time 40.901113, type 1 (Key), code 63 (F5), value 1

 

### this seems better since they go down and then go back up

### but why does F5 show value 2?

 

Event: time 40.901115, -------------- Report Sync ------------

Event: time 41.151062, type 1 (Key), code 63 (F5), value 2

Event: time 41.151064, -------------- Report Sync ------------

Event: time 41.191066, type 1 (Key), code 63 (F5), value 2

Event: time 41.191068, -------------- Report Sync ------------

Event: time 41.231067, type 1 (Key), code 63 (F5), value 2

Event: time 41.231069, -------------- Report Sync ------------

Event: time 41.271066, type 1 (Key), code 63 (F5), value 2

Event: time 41.271067, -------------- Report Sync ------------

Event: time 41.311066, type 1 (Key), code 63 (F5), value 2

Event: time 41.311067, -------------- Report Sync ------------

Event: time 41.351064, type 1 (Key), code 63 (F5), value 2

Event: time 41.351066, -------------- Report Sync ------------

Event: time 41.391064, type 1 (Key), code 63 (F5), value 2

Event: time 41.391065, -------------- Report Sync ------------

Event: time 41.431066, type 1 (Key), code 63 (F5), value 2

Event: time 41.431067, -------------- Report Sync ------------

Event: time 41.471065, type 1 (Key), code 63 (F5), value 2

Event: time 41.471066, -------------- Report Sync ------------

Event: time 41.511063, type 1 (Key), code 63 (F5), value 2

Event: time 41.511065, -------------- Report Sync ------------

Event: time 41.551065, type 1 (Key), code 63 (F5), value 2

Event: time 41.551067, -------------- Report Sync ------------

Event: time 41.591065, type 1 (Key), code 63 (F5), value 2

Event: time 41.591066, -------------- Report Sync ------------

Event: time 41.631063, type 1 (Key), code 63 (F5), value 2

Event: time 41.631065, -------------- Report Sync ------------

Event: time 41.671065, type 1 (Key), code 63 (F5), value 2

Event: time 41.671067, -------------- Report Sync ------------

Event: time 41.711064, type 1 (Key), code 63 (F5), value 2

Event: time 41.711066, -------------- Report Sync ------------

Event: time 41.751064, type 1 (Key), code 63 (F5), value 2

Event: time 41.751066, -------------- Report Sync ------------

Event: time 41.791066, type 1 (Key), code 63 (F5), value 2

Event: time 41.791067, -------------- Report Sync ------------

Event: time 41.831065, type 1 (Key), code 63 (F5), value 2

Event: time 41.831066, -------------- Report Sync ------------

Event: time 41.871063, type 1 (Key), code 63 (F5), value 2

Event: time 41.871064, -------------- Report Sync ------------

Event: time 41.911065, type 1 (Key), code 63 (F5), value 2

Event: time 41.911066, -------------- Report Sync ------------

Event: time 41.951064, type 1 (Key), code 63 (F5), value 2

Event: time 41.951066, -------------- Report Sync ------------

Event: time 41.991063, type 1 (Key), code 63 (F5), value 2

Event: time 41.991065, -------------- Report Sync ------------

Event: time 42.031065, type 1 (Key), code 63 (F5), value 2

Event: time 42.031067, -------------- Report Sync ------------

Event: time 42.071065, type 1 (Key), code 63 (F5), value 2

Event: time 42.071067, -------------- Report Sync ------------

Event: time 42.111063, type 1 (Key), code 63 (F5), value 2

Event: time 42.111065, -------------- Report Sync ------------

Event: time 42.151065, type 1 (Key), code 63 (F5), value 2

Event: time 42.151067, -------------- Report Sync ------------

Event: time 42.191064, type 1 (Key), code 63 (F5), value 2

Event: time 42.191066, -------------- Report Sync ------------

Event: time 42.231063, type 1 (Key), code 63 (F5), value 2

Event: time 42.231064, -------------- Report Sync ------------

Event: time 42.271065, type 1 (Key), code 63 (F5), value 2

Event: time 42.271067, -------------- Report Sync ------------

Event: time 42.311064, type 1 (Key), code 63 (F5), value 2

Event: time 42.311066, -------------- Report Sync ------------

Event: time 42.351064, type 1 (Key), code 63 (F5), value 2

Event: time 42.351065, -------------- Report Sync ------------

Event: time 42.391065, type 1 (Key), code 63 (F5), value 2

Event: time 42.391066, -------------- Report Sync ------------

Event: time 42.431062, type 1 (Key), code 63 (F5), value 2

Event: time 42.431063, -------------- Report Sync ------------

Event: time 42.431105, type 4 (Misc), code 4 (ScanCode), value 11

Event: time 42.431109, type 4 (Misc), code 4 (ScanCode), value 12

Event: time 42.431111, type 4 (Misc), code 4 (ScanCode), value 13

 

# i pressed the buttons again, but I see different values now

 

 

Event: time 42.431114, -------------- Report Sync ------------

Event: time 42.471064, type 1 (Key), code 63 (F5), value 2

Event: time 42.471066, -------------- Report Sync ------------

Event: time 42.511064, type 1 (Key), code 63 (F5), value 2

Event: time 42.511065, -------------- Report Sync ------------

Event: time 42.551102, type 1 (Key), code 63 (F5), value 2

Event: time 42.551103, -------------- Report Sync ------------

Event: time 42.581099, type 4 (Misc), code 4 (ScanCode), value 11

Event: time 42.581103, type 4 (Misc), code 4 (ScanCode), value 12

Event: time 42.581105, type 4 (Misc), code 4 (ScanCode), value 13

Event: time 42.581108, -------------- Report Sync ------------

Event: time 42.591065, type 1 (Key), code 63 (F5), value 2

Event: time 42.591066, -------------- Report Sync ------------

Event: time 42.631064, type 1 (Key), code 63 (F5), value 2

Event: time 42.631066, -------------- Report Sync ------------

Event: time 42.671064, type 1 (Key), code 63 (F5), value 2

Event: time 42.671066, -------------- Report Sync ------------

Event: time 42.711063, type 1 (Key), code 63 (F5), value 2

Event: time 42.711065, -------------- Report Sync ------------

Event: time 42.751065, type 1 (Key), code 63 (F5), value 2

Event: time 42.751067, -------------- Report Sync ------------

Event: time 42.791064, type 1 (Key), code 63 (F5), value 2

Event: time 42.791066, -------------- Report Sync ------------

Event: time 42.831064, type 1 (Key), code 63 (F5), value 2

Event: time 42.831065, -------------- Report Sync ------------

Event: time 42.871065, type 1 (Key), code 63 (F5), value 2

Event: time 42.871067, -------------- Report Sync ------------

Event: time 42.911064, type 1 (Key), code 63 (F5), value 2

Event: time 42.911067, -------------- Report Sync ------------

Event: time 42.951063, type 1 (Key), code 63 (F5), value 2

Event: time 42.951065, -------------- Report Sync ------------

Event: time 42.991066, type 1 (Key), code 63 (F5), value 2

Event: time 42.991067, -------------- Report Sync ------------

Event: time 43.031064, type 1 (Key), code 63 (F5), value 2

Event: time 43.031066, -------------- Report Sync ------------

Event: time 43.071063, type 1 (Key), code 63 (F5), value 2

Event: time 43.071064, -------------- Report Sync ------------

Event: time 43.111065, type 1 (Key), code 63 (F5), value 2

Event: time 43.111067, -------------- Report Sync ------------

Event: time 43.151064, type 1 (Key), code 63 (F5), value 2

Event: time 43.151066, -------------- Report Sync ------------

Event: time 43.191063, type 1 (Key), code 63 (F5), value 2

Event: time 43.191065, -------------- Report Sync ------------

Event: time 43.231067, type 1 (Key), code 63 (F5), value 2

Event: time 43.231068, -------------- Report Sync ------------

Event: time 43.271074, type 1 (Key), code 63 (F5), value 2

Event: time 43.271076, -------------- Report Sync ------------

Event: time 43.311064, type 1 (Key), code 63 (F5), value 2

Event: time 43.311065, -------------- Report Sync ------------

Event: time 43.351067, type 1 (Key), code 63 (F5), value 2

Event: time 43.351069, -------------- Report Sync ------------

Event: time 43.391064, type 1 (Key), code 63 (F5), value 2

Event: time 43.391066, -------------- Report Sync ------------

Event: time 43.431064, type 1 (Key), code 63 (F5), value 2

Event: time 43.431065, -------------- Report Sync ------------

Event: time 43.471065, type 1 (Key), code 63 (F5), value 2

Event: time 43.471067, -------------- Report Sync ------------

Event: time 43.511064, type 1 (Key), code 63 (F5), value 2

Event: time 43.511066, -------------- Report Sync ------------

Event: time 43.551063, type 1 (Key), code 63 (F5), value 2

Event: time 43.551065, -------------- Report Sync ------------

Event: time 43.591065, type 1 (Key), code 63 (F5), value 2

Event: time 43.591067, -------------- Report Sync ------------

Event: time 43.631064, type 1 (Key), code 63 (F5), value 2

Event: time 43.631066, -------------- Report Sync ------------

Event: time 43.671063, type 1 (Key), code 63 (F5), value 2

Event: time 43.671064, -------------- Report Sync ------------

Event: time 43.711065, type 1 (Key), code 63 (F5), value 2

Event: time 43.711067, -------------- Report Sync ------------

Event: time 43.751064, type 1 (Key), code 63 (F5), value 2

Event: time 43.751066, -------------- Report Sync ------------

Event: time 43.791063, type 1 (Key), code 63 (F5), value 2

Event: time 43.791065, -------------- Report Sync ------------

Event: time 43.831066, type 1 (Key), code 63 (F5), value 2

Event: time 43.831067, -------------- Report Sync ------------

Event: time 43.871064, type 1 (Key), code 63 (F5), value 2

Event: time 43.871066, -------------- Report Sync ------------

Event: time 43.911063, type 1 (Key), code 63 (F5), value 2

Event: time 43.911064, -------------- Report Sync ------------

Event: time 43.951067, type 1 (Key), code 63 (F5), value 2

Event: time 43.951068, -------------- Report Sync ------------

Event: time 43.991064, type 1 (Key), code 63 (F5), value 2

Event: time 43.991065, -------------- Report Sync ------------

Event: time 44.031063, type 1 (Key), code 63 (F5), value 2

Event: time 44.031065, -------------- Report Sync ------------

Event: time 44.071066, type 1 (Key), code 63 (F5), value 2

Event: time 44.071067, -------------- Report Sync ------------

Event: time 44.111064, type 1 (Key), code 63 (F5), value 2

Event: time 44.111066, -------------- Report Sync ------------

Event: time 44.151063, type 1 (Key), code 63 (F5), value 2

Event: time 44.151065, -------------- Report Sync ------------

Event: time 44.191065, type 1 (Key), code 63 (F5), value 2

Event: time 44.191067, -------------- Report Sync ------------

Event: time 44.231064, type 1 (Key), code 63 (F5), value 2

Event: time 44.231065, -------------- Report Sync ------------

Event: time 44.271063, type 1 (Key), code 63 (F5), value 2

Event: time 44.271065, -------------- Report Sync ------------

Event: time 44.311066, type 1 (Key), code 63 (F5), value 2

Event: time 44.311068, -------------- Report Sync ------------

Event: time 44.351065, type 1 (Key), code 63 (F5), value 2

Event: time 44.351067, -------------- Report Sync ------------

Event: time 44.391064, type 1 (Key), code 63 (F5), value 2

Event: time 44.391065, -------------- Report Sync ------------

Event: time 44.431066, type 1 (Key), code 63 (F5), value 2

Event: time 44.431068, -------------- Report Sync ------------

Event: time 44.471064, type 1 (Key), code 63 (F5), value 2

Event: time 44.471066, -------------- Report Sync ------------

Event: time 44.511064, type 1 (Key), code 63 (F5), value 2

Event: time 44.511065, -------------- Report Sync ------------

Event: time 44.551065, type 1 (Key), code 63 (F5), value 2

Event: time 44.551067, -------------- Report Sync ------------

Event: time 44.591064, type 1 (Key), code 63 (F5), value 2

Event: time 44.591066, -------------- Report Sync ------------

Event: time 44.631063, type 1 (Key), code 63 (F5), value 2

Event: time 44.631065, -------------- Report Sync ------------

Event: time 44.671066, type 1 (Key), code 63 (F5), value 2

Event: time 44.671067, -------------- Report Sync ------------

Event: time 44.711064, type 1 (Key), code 63 (F5), value 2

Event: time 44.711065, -------------- Report Sync ------------

Event: time 44.751063, type 1 (Key), code 63 (F5), value 2

Event: time 44.751065, -------------- Report Sync ------------

Event: time 44.791066, type 1 (Key), code 63 (F5), value 2

Event: time 44.791068, -------------- Report Sync ------------

Event: time 44.831064, type 1 (Key), code 63 (F5), value 2

Event: time 44.831066, -------------- Report Sync ------------

Event: time 44.871064, type 1 (Key), code 63 (F5), value 2

Event: time 44.871065, -------------- Report Sync ------------

Event: time 44.911066, type 1 (Key), code 63 (F5), value 2

Event: time 44.911067, -------------- Report Sync ------------

Event: time 44.951064, type 1 (Key), code 63 (F5), value 2

Event: time 44.951066, -------------- Report Sync ------------

Event: time 44.991063, type 1 (Key), code 63 (F5), value 2

Event: time 44.991065, -------------- Report Sync ------------

Event: time 45.031066, type 1 (Key), code 63 (F5), value 2

Event: time 45.031068, -------------- Report Sync ------------

Event: time 45.071064, type 1 (Key), code 63 (F5), value 2

Event: time 45.071066, -------------- Report Sync ------------

Event: time 45.111064, type 1 (Key), code 63 (F5), value 2

Event: time 45.111065, -------------- Report Sync ------------

Event: time 45.151065, type 1 (Key), code 63 (F5), value 2

Event: time 45.151066, -------------- Report Sync ------------

Event: time 45.191065, type 1 (Key), code 63 (F5), value 2

Event: time 45.191066, -------------- Report Sync ------------

Event: time 45.231062, type 1 (Key), code 63 (F5), value 2

Event: time 45.231064, -------------- Report Sync ------------

Event: time 45.271065, type 1 (Key), code 63 (F5), value 2

Event: time 45.271067, -------------- Report Sync ------------

Event: time 45.311064, type 1 (Key), code 63 (F5), value 2

Event: time 45.311065, -------------- Report Sync ------------

Event: time 45.351063, type 1 (Key), code 63 (F5), value 2

Event: time 45.351065, -------------- Report Sync ------------

Event: time 45.371101, type 4 (Misc), code 4 (ScanCode), value 09

Event: time 45.371106, type 1 (Key), code 139 (Menu), value 0

Event: time 45.371109, type 4 (Misc), code 4 (ScanCode), value 0a

Event: time 45.371112, type 4 (Misc), code 4 (ScanCode), value 0b

Event: time 45.371114, -------------- Report Sync ------------

Event: time 45.581099, type 4 (Misc), code 4 (ScanCode), value 09

Event: time 45.581104, type 1 (Key), code 139 (Menu), value 1

Event: time 45.581106, type 4 (Misc), code 4 (ScanCode), value 0a

Event: time 45.581109, type 4 (Misc), code 4 (ScanCode), value 0b

Event: time 45.581111, -------------- Report Sync ------------

Event: time 45.831063, type 1 (Key), code 139 (Menu), value 2

Event: time 45.831065, -------------- Report Sync ------------

Event: time 45.871066, type 1 (Key), code 139 (Menu), value 2

Event: time 45.871067, -------------- Report Sync ------------

Event: time 45.911065, type 1 (Key), code 139 (Menu), value 2

Event: time 45.911066, -------------- Report Sync ------------

Event: time 45.951063, type 1 (Key), code 139 (Menu), value 2

Event: time 45.951064, -------------- Report Sync ------------

Event: time 45.991065, type 1 (Key), code 139 (Menu), value 2

Event: time 45.991066, -------------- Report Sync ------------

Event: time 46.031064, type 1 (Key), code 139 (Menu), value 2

Event: time 46.031066, -------------- Report Sync ------------

Event: time 46.071063, type 1 (Key), code 139 (Menu), value 2

Event: time 46.071065, -------------- Report Sync ------------

Event: time 46.111065, type 1 (Key), code 139 (Menu), value 2

Event: time 46.111067, -------------- Report Sync ------------

Event: time 46.151064, type 1 (Key), code 139 (Menu), value 2

Event: time 46.151066, -------------- Report Sync ------------

Event: time 46.191063, type 1 (Key), code 139 (Menu), value 2

Event: time 46.191064, -------------- Report Sync ------------

Event: time 46.231064, type 1 (Key), code 139 (Menu), value 2

Event: time 46.231065, -------------- Report Sync ------------

Event: time 46.271064, type 1 (Key), code 139 (Menu), value 2

Event: time 46.271066, -------------- Report Sync ------------

Event: time 46.311063, type 1 (Key), code 139 (Menu), value 2

Event: time 46.311065, -------------- Report Sync ------------

Event: time 46.351065, type 1 (Key), code 139 (Menu), value 2

Event: time 46.351067, -------------- Report Sync ------------

Event: time 46.391064, type 1 (Key), code 139 (Menu), value 2

Event: time 46.391066, -------------- Report Sync ------------

Event: time 46.431063, type 1 (Key), code 139 (Menu), value 2

Event: time 46.431065, -------------- Report Sync ------------

Event: time 46.471065, type 1 (Key), code 139 (Menu), value 2

Event: time 46.471067, -------------- Report Sync ------------

Event: time 46.511064, type 1 (Key), code 139 (Menu), value 2

Event: time 46.511066, -------------- Report Sync ------------

Event: time 46.551064, type 1 (Key), code 139 (Menu), value 2

Event: time 46.551065, -------------- Report Sync ------------

Event: time 46.591065, type 1 (Key), code 139 (Menu), value 2

Event: time 46.591066, -------------- Report Sync ------------

Event: time 46.631062, type 1 (Key), code 139 (Menu), value 2

Event: time 46.631064, -------------- Report Sync ------------

Event: time 46.631106, type 4 (Misc), code 4 (ScanCode), value 19

Event: time 46.631109, type 4 (Misc), code 4 (ScanCode), value 1a

Event: time 46.631112, type 4 (Misc), code 4 (ScanCode), value 1b

Event: time 46.631114, -------------- Report Sync ------------

Event: time 46.671064, type 1 (Key), code 139 (Menu), value 2

Event: time 46.671066, -------------- Report Sync ------------

Event: time 46.711063, type 1 (Key), code 139 (Menu), value 2

Event: time 46.711065, -------------- Report Sync ------------

Event: time 46.751102, type 1 (Key), code 139 (Menu), value 2

Event: time 46.751103, -------------- Report Sync ------------

Event: time 46.791065, type 1 (Key), code 139 (Menu), value 2

Event: time 46.791067, -------------- Report Sync ------------

Event: time 46.831062, type 1 (Key), code 139 (Menu), value 2

Event: time 46.831064, -------------- Report Sync ------------

Event: time 46.841101, type 4 (Misc), code 4 (ScanCode), value 19

Event: time 46.841104, type 4 (Misc), code 4 (ScanCode), value 1a

Event: time 46.841107, type 4 (Misc), code 4 (ScanCode), value 1b

Event: time 46.841110, -------------- Report Sync ------------

Event: time 46.871064, type 1 (Key), code 139 (Menu), value 2

Event: time 46.871066, -------------- Report Sync ------------

Event: time 46.911063, type 1 (Key), code 139 (Menu), value 2

Event: time 46.911065, -------------- Report Sync ------------

Event: time 46.951065, type 1 (Key), code 139 (Menu), value 2

Event: time 46.951067, -------------- Report Sync ------------

Event: time 46.991064, type 1 (Key), code 139 (Menu), value 2

Event: time 46.991065, -------------- Report Sync ------------

Event: time 47.031063, type 1 (Key), code 139 (Menu), value 2

Event: time 47.031065, -------------- Report Sync ------------

Event: time 47.071065, type 1 (Key), code 139 (Menu), value 2

Event: time 47.071067, -------------- Report Sync ------------

Event: time 47.111065, type 1 (Key), code 139 (Menu), value 2

Event: time 47.111066, -------------- Report Sync ------------

Event: time 47.151063, type 1 (Key), code 139 (Menu), value 2

Event: time 47.151064, -------------- Report Sync ------------

Event: time 47.191065, type 1 (Key), code 139 (Menu), value 2

Event: time 47.191066, -------------- Report Sync ------------

Event: time 47.231067, type 1 (Key), code 139 (Menu), value 2

Event: time 47.231069, -------------- Report Sync ------------

Event: time 47.271064, type 1 (Key), code 139 (Menu), value 2

Event: time 47.271065, -------------- Report Sync ------------

Event: time 47.311067, type 1 (Key), code 139 (Menu), value 2

Event: time 47.311068, -------------- Report Sync ------------

Event: time 47.351064, type 1 (Key), code 139 (Menu), value 2

Event: time 47.351066, -------------- Report Sync ------------

Event: time 47.391064, type 1 (Key), code 139 (Menu), value 2

Event: time 47.391066, -------------- Report Sync ------------

Event: time 47.431065, type 1 (Key), code 139 (Menu), value 2

Event: time 47.431066, -------------- Report Sync ------------

Event: time 47.471064, type 1 (Key), code 139 (Menu), value 2

Event: time 47.471065, -------------- Report Sync ------------

Event: time 47.511064, type 1 (Key), code 139 (Menu), value 2

Event: time 47.511065, -------------- Report Sync ------------

Event: time 47.551065, type 1 (Key), code 139 (Menu), value 2

Event: time 47.551066, -------------- Report Sync ------------

Event: time 47.591064, type 1 (Key), code 139 (Menu), value 2

Event: time 47.591066, -------------- Report Sync ------------

Event: time 47.631063, type 1 (Key), code 139 (Menu), value 2

Event: time 47.631065, -------------- Report Sync ------------

Event: time 47.671065, type 1 (Key), code 139 (Menu), value 2

Event: time 47.671066, -------------- Report Sync ------------

Event: time 47.711064, type 1 (Key), code 139 (Menu), value 2

Event: time 47.711066, -------------- Report Sync ------------

Event: time 47.751063, type 1 (Key), code 139 (Menu), value 2

Event: time 47.751064, -------------- Report Sync ------------

Event: time 47.791065, type 1 (Key), code 139 (Menu), value 2

Event: time 47.791067, -------------- Report Sync ------------

Event: time 47.831064, type 1 (Key), code 139 (Menu), value 2

Event: time 47.831066, -------------- Report Sync ------------

Event: time 47.871063, type 1 (Key), code 139 (Menu), value 2

Event: time 47.871064, -------------- Report Sync ------------

Event: time 47.911065, type 1 (Key), code 139 (Menu), value 2

Event: time 47.911067, -------------- Report Sync ------------

Event: time 47.951064, type 1 (Key), code 139 (Menu), value 2

Event: time 47.951066, -------------- Report Sync ------------

Event: time 47.991063, type 1 (Key), code 139 (Menu), value 2

Event: time 47.991064, -------------- Report Sync ------------

Event: time 48.031065, type 1 (Key), code 139 (Menu), value 2

Event: time 48.031067, -------------- Report Sync ------------

Event: time 48.071064, type 1 (Key), code 139 (Menu), value 2

Event: time 48.071066, -------------- Report Sync ------------

Event: time 48.111063, type 1 (Key), code 139 (Menu), value 2

Event: time 48.111065, -------------- Report Sync ------------

Event: time 48.151065, type 1 (Key), code 139 (Menu), value 2

Event: time 48.151067, -------------- Report Sync ------------

Event: time 48.191064, type 1 (Key), code 139 (Menu), value 2

Event: time 48.191066, -------------- Report Sync ------------

Event: time 48.231063, type 1 (Key), code 139 (Menu), value 2

Event: time 48.231064, -------------- Report Sync ------------

Event: time 48.271065, type 1 (Key), code 139 (Menu), value 2

Event: time 48.271066, -------------- Report Sync ------------

Event: time 48.311066, type 1 (Key), code 139 (Menu), value 2

Event: time 48.311067, -------------- Report Sync ------------

Event: time 48.351064, type 1 (Key), code 139 (Menu), value 2

Event: time 48.351066, -------------- Report Sync ------------

Event: time 48.391066, type 1 (Key), code 139 (Menu), value 2

Event: time 48.391067, -------------- Report Sync ------------

Event: time 48.431064, type 1 (Key), code 139 (Menu), value 2

Event: time 48.431066, -------------- Report Sync ------------

Event: time 48.471063, type 1 (Key), code 139 (Menu), value 2

Event: time 48.471064, -------------- Report Sync ------------

Event: time 48.511065, type 1 (Key), code 139 (Menu), value 2

Event: time 48.511067, -------------- Report Sync ------------

Event: time 48.551064, type 1 (Key), code 139 (Menu), value 2

Event: time 48.551066, -------------- Report Sync ------------

Event: time 48.591063, type 1 (Key), code 139 (Menu), value 2

Event: time 48.591064, -------------- Report Sync ------------

Event: time 48.631065, type 1 (Key), code 139 (Menu), value 2

Event: time 48.631066, -------------- Report Sync ------------

Event: time 48.671064, type 1 (Key), code 139 (Menu), value 2

Event: time 48.671066, -------------- Report Sync ------------

Event: time 48.711063, type 1 (Key), code 139 (Menu), value 2

Event: time 48.711064, -------------- Report Sync ------------

Event: time 48.751065, type 1 (Key), code 139 (Menu), value 2

Event: time 48.751067, -------------- Report Sync ------------

Event: time 48.791064, type 1 (Key), code 139 (Menu), value 2

Event: time 48.791066, -------------- Report Sync ------------

Event: time 48.831063, type 1 (Key), code 139 (Menu), value 2

Event: time 48.831064, -------------- Report Sync ------------

Event: time 48.871065, type 1 (Key), code 139 (Menu), value 2

Event: time 48.871066, -------------- Report Sync ------------

Event: time 48.911064, type 1 (Key), code 139 (Menu), value 2

Event: time 48.911066, -------------- Report Sync ------------

Event: time 48.951063, type 1 (Key), code 139 (Menu), value 2

Event: time 48.951065, -------------- Report Sync ------------

Event: time 48.991065, type 1 (Key), code 139 (Menu), value 2

Event: time 48.991066, -------------- Report Sync ------------

Event: time 49.031065, type 1 (Key), code 139 (Menu), value 2

Event: time 49.031066, -------------- Report Sync ------------

Event: time 49.071063, type 1 (Key), code 139 (Menu), value 2

Event: time 49.071064, -------------- Report Sync ------------

Event: time 49.111065, type 1 (Key), code 139 (Menu), value 2

Event: time 49.111066, -------------- Report Sync ------------

Event: time 49.151064, type 1 (Key), code 139 (Menu), value 2

Event: time 49.151066, -------------- Report Sync ------------

Event: time 49.191063, type 1 (Key), code 139 (Menu), value 2

Event: time 49.191065, -------------- Report Sync ------------

Event: time 49.231064, type 1 (Key), code 139 (Menu), value 2

Event: time 49.231065, -------------- Report Sync ------------

Event: time 49.271064, type 1 (Key), code 139 (Menu), value 2

Event: time 49.271066, -------------- Report Sync ------------

Event: time 49.311064, type 1 (Key), code 139 (Menu), value 2

Event: time 49.311066, -------------- Report Sync ------------

Event: time 49.351066, type 1 (Key), code 139 (Menu), value 2

Event: time 49.351068, -------------- Report Sync ------------

Event: time 49.391064, type 1 (Key), code 139 (Menu), value 2

Event: time 49.391066, -------------- Report Sync ------------

Event: time 49.431063, type 1 (Key), code 139 (Menu), value 2

Event: time 49.431064, -------------- Report Sync ------------

 

If I reboot, and rerun evtest, I see:

root@freescale ~$ evtest /dev/input/event0

input input0: too many keys pressed, control pins initialisation

evtest: Input/output error

 

My guess is something isn't setup correctly. Any suggestions what I should be looking at?

Outcomes