Re: [PATCH 2/2] input: mt: Document the MT event slot protocol (rev2)

From: Henrik Rydberg
Date: Mon May 24 2010 - 06:04:34 EST


Ping Cheng wrote:
[...]
> This topic is outside of the _MT_ protocol discussion.
>
> However, it is indeed an issue with all filtered input events, both
> for MT and regular ones.
>
> I think we need to add an ioctl to enable user land driver/client to
> signal the kernel driver to send all events without filtering, just
> once. Hot-plugged devices and X driver starts after user has contacted
> with the device are two examples that the client would miss filtered
> events.
>
> Dmitry, do you think it is a valid suggestion?
>
> I've had this issue for ages (but never had time to work on it :(.

It would be easy to initialize a catch-up when opening the device for a new
client (evdev_open()).

Henrik

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/