From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Torokhov Subject: Re: [PATCH v1] Support Elan Touchscreen eKTF product. Date: Mon, 22 Oct 2012 09:07:05 -0700 Message-ID: <20121022160705.GC13791@core.coreip.homeip.net> References: <1350424679-20725-1-git-send-email-scott.liu@emc.com.tw> <87hapnnp5t.fsf@emc.com.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <87hapnnp5t.fsf-9cfG7bMpBgR9nmWX13WWKA@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jian-Jhong Ding Cc: Scott Liu , linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Benjamin Tissoires , Jesse , Vincent Wang , Paul List-Id: linux-i2c@vger.kernel.org On Mon, Oct 22, 2012 at 11:47:42AM +0800, Jian-Jhong Ding wrote: > Scott Liu writes: > > + > > +struct mt_device { > > + struct mt_slot curdata; /* placeholder of incoming data */ > > + __u8 num_received; /* how many contacts we received */ > > + __u8 num_expected; /* expected last contact index */ > > + __u8 maxcontacts; > > + bool curvalid; /* is the current contact valid? */ > > + struct mt_slot *slots; > > +}; > > With Benjamin's i2c-hid implimentation, is it possible to make > hid-multitouch not depend on USBHID and reuse it to drive this device? Exactly. Before looking any further - is this the same part that Tom Lin posted a driver for earlier this summer? Thanks. -- Dmitry