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.
Ti工程师:
您好!我们的项目使用的CPU是AM3517。
现在碰到一个问题,我们需要检测gpio的中断,为此我们已经在板级做好了初始化,并调用了自带的gpio_keys驱动,并在内核菜单做好了相关配置(gpio button、event interface),但是linux起来之后在/dev/input/下找不到任何event,插上鼠标后却可以显示/dev/input/event0,用evtest工具可以捕捉到鼠标位移事件。但是gpio_keys并没有产生对应的event,所以我们现在无法检测实现gpio口的按键中断。
然而这在DM3730上是可以实现的。linux起来之后,/dev/input下就显示event0,event1,event2,event3,其中event0对应gpio按键事件,event3对应鼠标事件,这是我所希望达到的要求。
如何在AM3517上实现linux起来之后就显示event0,event1,event2,event3?