weston: remove udev device disable when suspend [1/1]
PD#SWPL-181383
Problem:
cec module need power key to change power status
when the stb resumes.
Solution:
remove udev device disable when suspend
Verify:
s7d
Change-Id: I02056a0ddedb8e41d478dcb87550b64595e4bf35
Signed-off-by: limin.tian <limin.tian@amlogic.com>
diff --git a/libweston/libinput-seat.c b/libweston/libinput-seat.c
index a9c7d6f..e036b18 100644
--- a/libweston/libinput-seat.c
+++ b/libweston/libinput-seat.c
@@ -183,9 +183,9 @@
wl_event_source_remove(input->libinput_source);
input->libinput_source = NULL;
- libinput_suspend(input->libinput);
+ //libinput_suspend(input->libinput);
process_events(input);
- input->suspended = 1;
+ //input->suspended = 1;
}
static int
diff --git a/libweston/weston-launch.c b/libweston/weston-launch.c
index 42ae07a..cafa5ac 100644
--- a/libweston/weston-launch.c
+++ b/libweston/weston-launch.c
@@ -455,7 +455,7 @@
ret = handle_open(wl, &msg, len);
break;
case WESTON_LAUNCHER_DEACTIVATE_DONE:
- close_input_fds(wl);
+ //close_input_fds(wl);
//drmDropMaster(wl->drm_fd);
fd = open_tty_by_number(wl->ttynr);
if (fd < 0) {