[PATCH] compositor-drm: launch without input devices

Leon Anavi leon.anavi at konsulko.com
Thu Oct 12 20:40:13 UTC 2017


Hi Andrea,


On 12.10.2017 17:49, Andrea Giammarchi wrote:
> I thought this was resolved via `require-input=false` in weston.ini,
> which works already for the Pi too.
>
> Is this patch enabling that directive automatically?

Thank you for the prompt feedback. I didn't know the require-input
directive. I will give it a try. Since which version of Weston has it
been introduced?

Thanks,
Leon

>
> On Thu, Oct 12, 2017 at 10:30 AM, Leon Anavi <leon.anavi at konsulko.com
> <mailto:leon.anavi at konsulko.com>> wrote:
>
>     During demonstrations of Automotive Grade Linux (AGL), GENIVI
>     Development
>     Platform (GDP), Tizen and other platforms relying on Weston it is very
>     convenient to launch it even if there are no input devices such as a
>     keyboard or a mouse. This fix is particularly useful for Raspberry Pi
>     which is a frequently used and a very popular board in the community.
>
>     Signed-off-by: Leon Anavi <leon.anavi at konsulko.com
>     <mailto:leon.anavi at konsulko.com>>
>     ---
>      libweston/compositor-drm.c | 1 -
>      1 file changed, 1 deletion(-)
>
>     diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
>     index b641d61..5eebd2a 100644
>     --- a/libweston/compositor-drm.c
>     +++ b/libweston/compositor-drm.c
>     @@ -4091,7 +4091,6 @@ drm_backend_create(struct weston_compositor
>     *compositor,
>                                 compositor, b->udev, seat_id,
>                                 config->configure_device) < 0) {
>                     weston_log("failed to create input devices\n");
>     -               goto err_sprite;
>             }
>
>             if (create_outputs(b, drm_device) < 0) {
>     --
>     2.7.4
>
>     _______________________________________________
>     wayland-devel mailing list
>     wayland-devel at lists.freedesktop.org
>     <mailto:wayland-devel at lists.freedesktop.org>
>     https://lists.freedesktop.org/mailman/listinfo/wayland-devel
>     <https://lists.freedesktop.org/mailman/listinfo/wayland-devel>
>
>

-- 
Leon Anavi
Software Engineer
konsulko.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20171012/b66c11d9/attachment.html>


More information about the wayland-devel mailing list