PINE64

Full Version: double tap to wake support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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/m...n/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?



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.
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.
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.
(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
(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.
, 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.