I am trying to implement double tap to wake on the Nano PC T3 Plus but not getting anything from the underlying driver.
I have implemented the code from here:
https://git.sphere.ly/varun.chitre15/th ... tap2wake.c
It compiles and I can see in the debug output that it initialises:
I have enabled the debug output and the touch screen does generate touch events when the display is off but nothing appears in the debug window. ie, the handler is not being called. I suspect I am missing something with the hook into the events. I can see output via cat /sys/input/event1 so I know the touch is working when the display is off.
Any kernel experts who could help with this?
I have implemented the code from here:
https://git.sphere.ly/varun.chitre15/th ... tap2wake.c
It compiles and I can see in the debug output that it initialises:
Code: Select all
[ 3.220000] input: dt2w_pwrkey as /devices/virtual/input/input3
[ 3.224000] [doubletap2wake]: doubletap2wake_init done
I have enabled the debug output and the touch screen does generate touch events when the display is off but nothing appears in the debug window. ie, the handler is not being called. I suspect I am missing something with the hook into the events. I can see output via cat /sys/input/event1 so I know the touch is working when the display is off.
Any kernel experts who could help with this?