I have an Edge2 running Android 13 v240611 with a Dell P2714Tt 27" touchscreen monitor (running in portrait mode). The monitor and touchscreen work great. The monitor is connected via HDMI but the touchscreen part is connected via USB. The problem I’m having is once the system goes to sleep.
When the system goes to sleep, the monitor goes to sleep as well, but touching the screen does not wake it up. I have to hit the power button on the Edge2 to wake it. Is there a way to have it wake by touch?
Also sometimes when I wake it via the power button, the touchscreen doesn’t work until I turn the monitor off and on again via the monitor’s power button.
@liam821 After entering sleep mode, the USB power is turned off, causing the USB touch screen to malfunction during sleep mode. To solve this, we can only do a fake sleep mode, not allowing the machine to enter deep sleep mode, only shallow sleep mode.
Thank you for the patch, not entering deep sleep sounds perfect! But I can’t find that version of khadas-mcu.c your patch is against in the khadas-edge2-android13 git repo.
Just wanted to update you. I’ve applied the following patch (see below) and it fixed the issue I was having. The screen still goes to sleep but now I can quickly wake via a key press. Unfortunately, I cannot wake by the touchscreen but I think that is caused by the display not accepting an input while in sleep mode.
This patch also fixed the touchscreen not working after wake because USB was never dropped.