On Wed, May 05, 2010 at 06:58:18PM +0200, Éric Piel wrote: > Op 05-05-10 18:39, Dmitry Torokhov schreef: > > On Wed, May 05, 2010 at 02:14:25PM +0200, Éric Piel wrote: > >> >From observation of the values sent from the hardware version 2, it > >> seems that the first four bits of byte 1 represents the width. So we can > >> report it as well. Observed values on my hardware were always between 1 > >> and 12, so let's use this for min and max. > >> > > > > I think we shoudl have threshold for the firmware version when we start > > reporting the width. > > > What do you mean? That the width might not be reported correctly by all > the firmwares? I have no idea if that is the case. For info, IIRC my > firmware report 2.1 with middle byte 8. > My understanding was that older firmwares would report 0. I might be mistaken. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html