Which system do you use? Android, Ubuntu, OOWOW or others?
Android
Which version of system do you use? Please provide the version of the system here:
I tested a lot of different versions e.g. 13 (20231123) or 14 (20240611)
Please describe your issue below:
I am using an touch Screen from Philips(Touchscreen-Monitor mit offenem Rahmen 242B1TFL/00 | Philips)
(Display is connected by HDMI and USB)
After an unused Time i setup in android a standby. Display is going to sleep.
Now i try to wake up… by tipping on the screen… not working
i also connected a usb cable mouse to the android and sometimes it was possible to wake up the device by push the mouse button… but not realy often and since yesterday… is doesn’t work… (no changes… only a temporary mouse change and a shutdown).
Post a console log of your issue below:
sorry… i am a absolute newbie in Edge2 … no idea what i should do
Is there a possibility to wake up the screen by touch? this will be the best solution… but it is no workaround to setup the screen to dark… and do not switch off the screen. So for this, my second idea was to use an external switch (modify an old usb mouse to bring an micro switch to the edge of the screen)
Thank you for your help
Markus
@xiong.zhang Please help verify this issue on Android 14, and I will provide you with relevant ideas.
You can use an external USB mouse to wake up the device by following the modifications below
xiong@builder:~/work/edge2-14/kernel-6.1$ git diff
diff --git a/drivers/misc/khadas-mcu.c b/drivers/misc/khadas-mcu.c
index 17fe564e4b75..2f3a9c89df3a 100644
--- a/drivers/misc/khadas-mcu.c
+++ b/drivers/misc/khadas-mcu.c
@@ -20,6 +20,7 @@
#include <linux/slab.h>
#include <linux/of.h>
#include <linux/of_address.h>
+#include <linux/wakelock.h>
/* Device registers */
#define MCU_PWR_OFF_CMD_REG 0x80
@@ -112,6 +113,7 @@ struct mcu_data {
struct mcu_data *g_mcu_data;
int ageing_test_flag = 0;
+static struct wake_lock wake_lock_always;
static int i2c_master_reg8_send(const struct i2c_client *client,
const char reg, const char *buf, int count)
@@ -761,6 +763,8 @@ static int mcu_probe(struct i2c_client *client, const struct i2c_device_id *id)
schedule_delayed_work(&g_mcu_data->fan_data.work, MCU_FAN_LOOP_SECS);
create_mcu_attrs();
+ wake_lock_init(&wake_lock_always, WAKE_LOCK_SUSPEND, "wake_lock_always");
+
return 0;
}
@@ -780,12 +784,14 @@ static int khadas_fan_suspend(struct device *dev)
{
cancel_delayed_work(&g_mcu_data->fan_data.work);
mcu_fan_level_set(&g_mcu_data->fan_data, 0);
+ wake_lock(&wake_lock_always);
return 0;
}
static int khadas_fan_resume(struct device *dev)
{
+ wake_unlock(&wake_lock_always);
khadas_fan_set(&g_mcu_data->fan_data);
return 0;
Thank you for your help. I’m absolute new in edge2 / android modification. Is there a tutorial / help how i can do this?
Thank you for your help
Markus
Did i have to do this on Linux? And where i have to add your steps?
Yes, it needs to be done on Ubuntu
Thank you for your answer. I think this is to “hard” for me… i only have the edge for 7 days otherwise i have to send them back… and i think i do not have the knowledge to do this 
i am working in it… but noch in coding or in linux…
did anyone know, is there a step by step tutorial for this?
Thanks
Markus
I have compiled a firmware, you can try it out
Thank you very much… the mouse is working perfekt to wake up the system…
but in this version google chrome is not working (crashing or browsing not possible) the playstore is not working…
The device is connected by an USB-C to LAN Adapter
Chrome update not working, because the play store is always stopping 
When i flash the Version 14_20241101 by oowow it looks like better… the playstore and the chrome is not stopping
Markus
I tested it and there were no issues
Is there something what i can try, because i reflashed the device 3 Times
additional information…
after flashing the chrome and the playstore is working…
after i updated chrome by the store, chrome and the store is not working