[evdev] device not configured are unhandled instead back in error

Marc Chalain marc.chalain at gmail.com
Fri Jun 7 13:24:33 PDT 2013


I updated my repository and the back to error doesn't crash Weston. Then It
seems not more usefull to manage unhandled device.
But to show problems that we can find in embedded solution, I continue some
explanations.
On board we have input device just for the on/off button, another for
gpio_keypad (some time it's just gpio management). Nothing looks like an pc
keyboard.
I will look for another solution next week.


2013/6/7 Daniel Stone <daniel at fooishbar.org>

> Hi,
>
> On 7 June 2013 11:16, Marc Chalain <marc.chalain at gmail.com> wrote:
> > I tried and at now, it seems to add a lot of complexity.
> > I solution is to read the weston.ini file inside input.c... but is it
> > regular ?
>
> This is the usual solution for now, yes.
>
> > 2013/6/7 Daniel Stone <daniel at fooishbar.org>
> >>
> >> Hi,
> >>
> >> On 7 June 2013 06:33, Marc Chalain <marc.chalain at gmail.com> wrote:
> >> > A input device could not be not configurated. That should not be an
> >> > error
> >> > and just an unhandled device.
> >> > On embedded configuration there is different input devices which are
> not
> >> > used.
> >>
> >> The intention of this codepath is to avoid the situation on desktop
> >> devices where Weston starts but the input devices are broken.  In that
> >> case, starting with no input devices will leave you unable to exit
> >> unless you can use SSH or similar to kill it.
> >>
> >> I realise it's different on embedded, but in this case, a
> >> configuration or command-line option saying that it's OK to start with
> >> no input devices seems appropriate.
> >>
> >> Cheers,
> >> Daniel
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20130607/0e4e3be7/attachment.html>


More information about the wayland-devel mailing list