mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Harald Welte <laforge@gnumonks.org>
To: Florent Thiery <Florent.Thiery@int-evry.fr>
Cc: openezx-devel@lists.gnumonks.org, linux-kernel@vger.kernel.org
Subject: Re: How should Touchscreen Input Drives behave (OpenEZX pcap_ts)
Date: Thu, 18 May 2006 16:38:24 +0200	[thread overview]
Message-ID: <20060518143824.GC17897@sunbeam.de.gnumonks.org> (raw)
In-Reply-To: <446C5780.7050608@int-evry.fr>

[-- Attachment #1: Type: text/plain, Size: 2501 bytes --]

On Thu, May 18, 2006 at 01:16:16PM +0200, Florent Thiery wrote:
> 
> > As of now, I return
> >   X_ABS, Y_ABS and PRESSURE values between 0 and 1000 (each).
> >  
> Are you kidding ??? Does the touchscreen support pressure sensitivity?
> Normally it wouldn't, you'd have only two values... Because
> sensitivity touchscreens really are rare... That's why wacom does 
> use the pen to report pressure info on their tablets

No, this touchscreen actually has fairly reasonable pressure reporting.
I know that this is unusual.  But I get reproducible numbers when trying
soft stylus press, hard stylus press.  And things like finger touching.
Also I can actually distinguish a thumb from an index finger press ;)

> >1) where does touchscreen calibration happen?  The EZX phones (like many
> >   other devices, I believe) only contain resistive touchscreens that
> >   appear pretty uncalibrated.   I'm sure the factory-set calibration
> >   data must be stored somewhere in flash, but it's definitely handled
> >   in the proprietary EZX userland, since their old kernel driver
> >   doesn't have any calibration related bits.
> >  
> I would say touchscreen calibration = scaling (to resolution) + reference points

see the other comments. apparently that is left to userspace.

> I would say the best would be to watch pressure evolution.... If it
> springs from 0 to 400 in less than sotg like 200 ms, then you got the
> "button" event. Is it feasable?

that would require rerlatively small polling intervals.  please note
that the hardware generates interrupts when pressure != 0.  We could
start a high-granularity timer  

> I got a question: does stylus usage on original A780 show the pressure
> sensitivity?

not that I've ever noted.  But Motorola ignores many of the hardwares
capability..

> Another one: you say you're workin on building X-e. Are you talking about kdrive?

I have no idea, just replaying the package names that OE uses ;)

I now have Xfbdev running on the A780.  Unfortunately due to some
strange black magic, the ts driver ceases to receive interrupts as soon
as X is started. reproducible.  The same happens with ts_test.

ts_print works very good, though.

Will do more debugging

-- 
- Harald Welte <laforge@gnumonks.org>          	        http://gnumonks.org/
============================================================================
We all know Linux is great...it does infinite loops in 5 seconds. -- Linus

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-05-18 14:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-18  7:07 Harald Welte
2006-05-18  9:52 ` Richard Purdie
2006-05-18 10:58   ` Harald Welte
2006-05-18 12:44   ` Michael 'Mickey' Lauer
2006-05-18 11:16 ` Florent Thiery
2006-05-18 14:38   ` Harald Welte [this message]
2006-05-18 15:35     ` Florent Thiery
2006-05-18 16:19     ` Andy Ross
2006-05-18 16:27       ` Harald Welte
2006-05-18 23:16     ` Pavel Machek
2006-05-18 23:27       ` Harald Welte
2006-05-21 18:35         ` Pavel Machek
2006-05-18 16:17 ` Andy Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060518143824.GC17897@sunbeam.de.gnumonks.org \
    --to=laforge@gnumonks.org \
    --cc=Florent.Thiery@int-evry.fr \
    --cc=linux-kernel@vger.kernel.org \
    --cc=openezx-devel@lists.gnumonks.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®