Re: [PATCH 1/2] elantech: Report tool width when it is known

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 05, 2010 at 10:13:50AM -0700, Dmitry Torokhov wrote:
> On Wed, May 05, 2010 at 06:58:18PM +0200, Éric Piel wrote:
> > Op 05-05-10 18:39, Dmitry Torokhov schreef:
> > > 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.

Some firmwares always set the upper bits to 0. Others don't.

As far as I can see, we only know about firmware version 2.1 and 4.1
using those high bits for width reports.

However, there's firmware versions inbetween, like 2.48, which don't
report width information. And there's even other firmware versions
inbetween, like 2.36, which actually implment what the driver calls
hardware version 1. Those have a quite different packet format, and also
no width information.

Currently it seems to be unknown how to detect hw ver 1 vs. 2 based on
the firmware version. Guesses tend towards the middle bit being
signifficant, somehow.


-- 
BOFH excuse #136:
Daemons loose in system.

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux