This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Generate keypress interrupt through software

Other Parts Discussed in Thread: TPS65950, OMAP3530

I have been working on prototyping some functionality using the TPS65950 and the OMAP3530 with the TWL4030_keypad driver. 

I can open the /dev/eventx file that is created after loading the driver and get driver information as follows:

# dmesg | grep input
input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input2

#evtest /dev/event2

Input driver version is 1.0.0
Input device ID: bus 0x19 vendor 0x1 product 0x1 version 0x3
Input device name: "TWL4030 Keypad"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
  Event type 4 (Misc)
  Event type 20 (?)
Testing ... (interrupt to exit)

 

I can also access the keypad registers (0x4a, 0xD2-0xE9) on the TPS65950 through I2C.   I have tried to set various keypad registers via I2C on the TPS65950, but I have been unsuccessful in generating a key press interrupt.

Does anyone know if there is there a way to generate a keypress interupt by setting the keypad registers through I2C?

Thanks for your help in advance!

Mark