Why does drm-backend fail to start without input devices ?

Giulio Camuffo giuliocamuffo at gmail.com
Tue Nov 3 03:36:59 PST 2015


2015-11-03 12:18 GMT+02:00 Ucan, Emre (ADITG/SW1) <eucan at de.adit-jv.com>:
> Hi,
>
> drm_backend_create function fails, if udev_input_init returns  -1.
>
> udev_input_init returns -1 when no input devices are recognized by udev.
>
> This means, it is not possible to use drm-backend without input devices.
>
> Is there a special reason for this restriction ?

I think it was added to avoid locking in users if the compositor
doesn't recognise any input device. Besides that, i don't think it
needs an input device to work.

--
Giulio

>
> Best regards
>
> Emre Ucan
>
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list