lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f17812d70911171903v230b1598mc8e5ff2a4b5195b8@mail.gmail.com>
Date:	Wed, 18 Nov 2009 11:03:38 +0800
From:	Eric Miao <eric.y.miao@...il.com>
To:	Paul Parsons <lost.distance@...oo.com>
Cc:	pavel@....cz, rpurdie@...ys.net, lenz@...wisc.edu,
	linux-kernel@...r.kernel.org, Dirk@...er-online.de,
	arminlitzel@....de, metan@....cz, thommycheck@...il.com,
	linux-arm-kernel@...ts.infradead.org, dbaryshkov@...il.com,
	omegamoon@...il.com, utx@...guin.cz
Subject: Re: [PATCH] hx4700: fix hx4700 touchscreen pressure values

On Wed, Nov 18, 2009 at 8:22 AM, Paul Parsons <lost.distance@...oo.com> wrote:
>> Does pressure actually work as expected -- that is not inverted?
>> Because I need this patch on spitz...  but it may break your
>> machine...
>
> You are right, the pressure values were being inverted on my hx4700.
> Pressing hard generates somewhat lower Rt values than pressing lightly.
>
> Since typical hx4700 Rt values are close to (pressure_max/2) anyway,
> the inverted and non-inverted values were not very different.
> For example:
>
> Rt      ts->pressure_max-Rt
> 599     425
> 562     462
> 588     436
> 570     454
>
> So by all means submit your ads7846.c patch; it will not break hx4700.
>

Is this generically true that the pressure is always inverted? Otherwise
a platform specific field indicating this would be the better way to go.

- eric
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ