From mboxrd@z Thu Jan 1 00:00:00 1970 From: Henrik Rydberg Subject: Re: [PATCH 2/2] input: mt: Document the MT event slot protocol (rev2) Date: Mon, 24 May 2010 12:03:52 +0200 Message-ID: <4BFA4F08.5010700@euromail.se> References: <1274213429-22667-1-git-send-email-rydberg@euromail.se> <1274213429-22667-2-git-send-email-rydberg@euromail.se> <20100519023727.GA21030@barra.bne.redhat.com> <4BF3D59E.1070801@euromail.se> <20100520001323.GA28116@barra.bne.redhat.com> <4BF51188.3090608@euromail.se> <20100524045855.GC16369@barra> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]:60353 "EHLO ch-smtp02.sth.basefarm.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755359Ab0EXKE3 (ORCPT ); Mon, 24 May 2010 06:04:29 -0400 In-Reply-To: Sender: linux-input-owner@vger.kernel.org List-Id: linux-input@vger.kernel.org To: Ping Cheng Cc: Peter Hutterer , Dmitry Torokhov , Andrew Morton , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, Mika Kuoppala , Benjamin Tissoires , Stephane Chatty , Rafi Rubin , Michael Poole 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