PINE64
double tap to wake support - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: General Discussion on PinePhone (https://forum.pine64.org/forumdisplay.php?fid=127)
+--- Thread: double tap to wake support (/showthread.php?tid=15255)



double tap to wake support - bam - 11-03-2021

Hi,
I did some research about non-working double tap to wake feature (when in deep sleep), despite the touch hw has it (thanks anyone who helped BTW).

The problem is Goodix touch driver in mainline kernel doesn't seem to support Gesture (Doze?) mode:
https://github.com/torvalds/linux/blob/master/drivers/input/touchscreen/goodix.c

I found another driver which claims the support (it also follows from it's code):
https://github.com/goodix/goodix_gt9xx_public


Anyone willing to try the alternative driver? Does it fit at all?

@megous

PS:
GOODiX GT911 Programming Guide attached (might be relevant despite we have Goodix GT917S).
Please let me know if it's better to remove the document itself from here.


RE: double tap to wake support - ryo - 11-04-2021

I'm rather surprised there's somebody out there who supports wake to tap.
Plasma Mobile has this rather super annoying bug (because if it's forced on to you, it shouldn't be considered a feature for Kami sake), and still no option to turn it off.


RE: double tap to wake support - marcih - 11-04-2021

If I understood Ondřej's blog post correctly, this might currently not be possible to do:

2021–10–18: Pinephone Pro – support merged into my kernel tree Wrote:
  • And that was another issue. Power consumption should not vary when I touch the screen in suspended mode, but I've already debugged this issue in the past on the original Pinephone, and I was able to just enable the solution I've implemented to this problem previously. This solution is to power down the touchscreen in system suspend completely. With that the suspend power consumptions stays at 400mW no matter what I do

If "power down the touchscreen" means what it sounds like it does then I doubt it would be possible to still use gestures to send any signals to wake up the device from suspend.


RE: double tap to wake support - bam - 11-04-2021

(11-04-2021, 02:41 AM)ryo Wrote: Plasma Mobile has this rather super annoying bug (because if it's forced on to you, it shouldn't be considered a feature for Kami sake), and still no option to turn it off.
Isn't it the option?
https://invent.kde.org/plasma/kwin/-/merge_requests/778

(11-04-2021, 02:48 AM)marcih Wrote: This solution is to power down the touchscreen in system suspend completely.
I think this solution was chosen just because of the reason above - mainline driver doesn't support Doze mode.

With proper driver support, Gesture mode operating current is less that 1mA which is negligible:
GT917S-Datasheet


RE: double tap to wake support - ryo - 11-04-2021

(11-04-2021, 05:08 AM)bam Wrote: Isn't it the option?
https://invent.kde.org/plasma/kwin/-/merge_requests/778

Next question, where can this option be set?
Based on the lack of responses when I asked, I'd assume there is no option.


RE: double tap to wake support - bam - 11-04-2021

@ryo, according to the patch itself, it's DoubleTapWakeup entry of Wayland group.
Try set it to "false" in ~/.config/kwinrc by analogy with other options (not sure if it's the right file, though) - it might not be accessible via UI yet.