This repository has been archived by the owner on Oct 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
weston: Launch DRM backend without input devices
Allow launching Weston 1.11 with DRM backend even without input devices such as a keyboard, a mouse or a touchscreen. This fix is convenient for demonstrations and it is useful for Raspberry Pi 2 and 3 as well as other devices which rely on DRM backend. [GDP-149] Weston and HMI apps are not launched without input devices on Raspberry Pi Signed-off-by: Leon Anavi <[email protected]>
- Loading branch information
1 parent
774300e
commit e757709
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
.../recipes-graphics/wayland/weston/0001-compositor-drm.c-Launch-without-input-devices.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
From 43f66e20a6788388df4fc052d257f005c359080f Mon Sep 17 00:00:00 2001 | ||
From: Leon Anavi <[email protected]> | ||
Date: Wed, 14 Dec 2016 12:26:31 +0200 | ||
Subject: [PATCH] compositor-drm.c: Launch without input devices | ||
|
||
Launch Weston 11 even if input devices (such as | ||
a keyboard, a mouse or a touchscreen) are not | ||
present. | ||
|
||
Signed-off-by: Leon Anavi <[email protected]> | ||
--- | ||
src/compositor-drm.c | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/src/compositor-drm.c b/src/compositor-drm.c | ||
index fd89627..f66e0af 100644 | ||
--- a/src/compositor-drm.c | ||
+++ b/src/compositor-drm.c | ||
@@ -3123,7 +3123,6 @@ drm_backend_create(struct weston_compositor *compositor, | ||
if (udev_input_init(&b->input, | ||
compositor, b->udev, seat_id) < 0) { | ||
weston_log("failed to create input devices\n"); | ||
- goto err_sprite; | ||
} | ||
|
||
if (create_outputs(b, config->connector, drm_device) < 0) { | ||
-- | ||
2.7.4 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters