On Wed, May 05, 2010 at 06:53:24PM +0200, Florian Ragwitz wrote: > 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. > > Excellent. I'm quite happy to see this. > > I've actually thought about reporting some kind of width based on the > "thumb" bit in the first byte. The actual width information being > available didn't occur to me for some reason. > > The patch itself looks just fine to me, but it might also want to update > the elantech documentation accordingly. > > See also https://patchwork.kernel.org/patch/95448/ which isn't part of > the -input tree yet. > It is - I folded it with the changes to the driver and it is upstream. I left out the new 4.1 signature patch until we know better about firmware versions, but otherwise your changes are in mainline. -- 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