* Replacement for tslib?
@ 2016-08-31 15:42 Enrico Scholz
2016-08-31 16:57 ` Richard Purdie
0 siblings, 1 reply; 8+ messages in thread
From: Enrico Scholz @ 2016-08-31 15:42 UTC (permalink / raw)
To: openembedded-core
Hello,
tslib is more or less mandatory for resistive touchscreens but it was
removed some days ago. This breaks e.g. meta-qt5 layer which depends on
it.
Is this removal really final (which would be really bad, because resistive
touchscreens are used e.g. in industrial environments)?
Enrico
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Replacement for tslib?
2016-08-31 15:42 Replacement for tslib? Enrico Scholz
@ 2016-08-31 16:57 ` Richard Purdie
2016-08-31 23:53 ` Enrico Scholz
2016-09-01 5:14 ` Mike Looijmans
0 siblings, 2 replies; 8+ messages in thread
From: Richard Purdie @ 2016-08-31 16:57 UTC (permalink / raw)
To: Enrico Scholz, openembedded-core
On Wed, 2016-08-31 at 17:42 +0200, Enrico Scholz wrote:
> Hello,
>
> tslib is more or less mandatory for resistive touchscreens but it was
> removed some days ago. This breaks e.g. meta-qt5 layer which depends
> on it.
>
> Is this removal really final (which would be really bad, because
> resistive
> touchscreens are used e.g. in industrial environments)?
The underlying pressure was from xcalibrate never having been merged
into x11 and hence needing to replace xtscal by xinput-calibrate. With
that change, the need for tslib wasn't clear.
Its was also frustrating having two sets of pointercal files, one for
xinput-calibrate and one for tslib.
That said, I can see the need for tslib and if that is the only way to
support these touchscreens in qt5/qt4 we might have to reconsider that.
Are you sure the kernel interfaces that xinput is using don't work for
qt4/qt5? If not, we may need to reconsider tslib...
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Replacement for tslib?
2016-08-31 16:57 ` Richard Purdie
@ 2016-08-31 23:53 ` Enrico Scholz
2016-09-02 11:56 ` Burton, Ross
2016-09-01 5:14 ` Mike Looijmans
1 sibling, 1 reply; 8+ messages in thread
From: Enrico Scholz @ 2016-08-31 23:53 UTC (permalink / raw)
To: Richard Purdie; +Cc: openembedded-core
Richard Purdie <richard.purdie@linuxfoundation.org> writes:
>> tslib is more or less mandatory for resistive touchscreens but it was
>> removed some days ago. This breaks e.g. meta-qt5 layer which depends
>> on it.
>>
>> Is this removal really final (which would be really bad, because
>> resistive touchscreens are used e.g. in industrial environments)?
> [...]
> Are you sure the kernel interfaces that xinput is using don't work for
> qt4/qt5?
I am not aware of any way how /dev/input/eventX values can be calibrated
within the kernel.
Most capacitive touchscreens are doing this calibration in hardware
so that values correspond 1:1 to screen coordinates. But resistive
touchscreens return usually only the raw 10-12 bit ADC values in
ABS_X/Y.
Enrico
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Replacement for tslib?
2016-08-31 23:53 ` Enrico Scholz
@ 2016-09-02 11:56 ` Burton, Ross
2016-09-02 12:34 ` Otavio Salvador
2016-09-02 12:43 ` Enrico Scholz
0 siblings, 2 replies; 8+ messages in thread
From: Burton, Ross @ 2016-09-02 11:56 UTC (permalink / raw)
To: Enrico Scholz; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 500 bytes --]
On 1 September 2016 at 00:53, Enrico Scholz <enrico.scholz@sigma-chemnitz.de
> wrote:
> I am not aware of any way how /dev/input/eventX values can be calibrated
> within the kernel.
>
> Most capacitive touchscreens are doing this calibration in hardware
> so that values correspond 1:1 to screen coordinates. But resistive
> touchscreens return usually only the raw 10-12 bit ADC values in
> ABS_X/Y.
>
tslib is still available in meta-oe, or I'd suggest looking at libinput.
Ross
[-- Attachment #2: Type: text/html, Size: 929 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Replacement for tslib?
2016-09-02 11:56 ` Burton, Ross
@ 2016-09-02 12:34 ` Otavio Salvador
2016-09-02 12:43 ` Enrico Scholz
1 sibling, 0 replies; 8+ messages in thread
From: Otavio Salvador @ 2016-09-02 12:34 UTC (permalink / raw)
To: Burton, Ross; +Cc: Enrico Scholz, OE-core
On Fri, Sep 2, 2016 at 8:56 AM, Burton, Ross <ross.burton@intel.com> wrote:
>
> On 1 September 2016 at 00:53, Enrico Scholz
> <enrico.scholz@sigma-chemnitz.de> wrote:
>>
>> I am not aware of any way how /dev/input/eventX values can be calibrated
>> within the kernel.
>>
>> Most capacitive touchscreens are doing this calibration in hardware
>> so that values correspond 1:1 to screen coordinates. But resistive
>> touchscreens return usually only the raw 10-12 bit ADC values in
>> ABS_X/Y.
>
>
> tslib is still available in meta-oe, or I'd suggest looking at libinput.
The biggest problem with libinput at this moment is the lack of an
utility to calibrate it.
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Replacement for tslib?
2016-09-02 11:56 ` Burton, Ross
2016-09-02 12:34 ` Otavio Salvador
@ 2016-09-02 12:43 ` Enrico Scholz
2016-09-02 12:54 ` Maxin B. John
1 sibling, 1 reply; 8+ messages in thread
From: Enrico Scholz @ 2016-09-02 12:43 UTC (permalink / raw)
To: Burton, Ross; +Cc: OE-core
"Burton, Ross" <ross.burton@intel.com> writes:
> tslib is still available in meta-oe,
really? In fef7b1feb79c7b43623760e2cdf4e68bd0dbd526, a
| find -name '*tslib*'
returns only xf86-input-tslib, but not plain tslib.
Enrico
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Replacement for tslib?
2016-09-02 12:43 ` Enrico Scholz
@ 2016-09-02 12:54 ` Maxin B. John
0 siblings, 0 replies; 8+ messages in thread
From: Maxin B. John @ 2016-09-02 12:54 UTC (permalink / raw)
To: Enrico Scholz; +Cc: OE-core
Hi Enrico,
On Fri, Sep 02, 2016 at 02:43:03PM +0200, Enrico Scholz wrote:
> "Burton, Ross" <ross.burton@intel.com> writes:
>
> > tslib is still available in meta-oe,
>
> really? In fef7b1feb79c7b43623760e2cdf4e68bd0dbd526, a
>
> | find -name '*tslib*'
>
> returns only xf86-input-tslib, but not plain tslib.
Patches are on it's way:
http://lists.openembedded.org/pipermail/openembedded-devel/2016-September/108945.html
Initial discussions here:
http://lists.openembedded.org/pipermail/openembedded-devel/2016-August/108428.html
Sorry for the trouble.
>
> Enrico
Best Regards,
Maxin
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Replacement for tslib?
2016-08-31 16:57 ` Richard Purdie
2016-08-31 23:53 ` Enrico Scholz
@ 2016-09-01 5:14 ` Mike Looijmans
1 sibling, 0 replies; 8+ messages in thread
From: Mike Looijmans @ 2016-09-01 5:14 UTC (permalink / raw)
To: Richard Purdie, Enrico Scholz, openembedded-core
On 31-08-16 18:57, Richard Purdie wrote:
> On Wed, 2016-08-31 at 17:42 +0200, Enrico Scholz wrote:
>> Hello,
>>
>> tslib is more or less mandatory for resistive touchscreens but it was
>> removed some days ago. This breaks e.g. meta-qt5 layer which depends
>> on it.
>>
>> Is this removal really final (which would be really bad, because
>> resistive
>> touchscreens are used e.g. in industrial environments)?
>
> The underlying pressure was from xcalibrate never having been merged
> into x11 and hence needing to replace xtscal by xinput-calibrate. With
> that change, the need for tslib wasn't clear.
>
> Its was also frustrating having two sets of pointercal files, one for
> xinput-calibrate and one for tslib.
>
> That said, I can see the need for tslib and if that is the only way to
> support these touchscreens in qt5/qt4 we might have to reconsider that.
>
> Are you sure the kernel interfaces that xinput is using don't work for
> qt4/qt5? If not, we may need to reconsider tslib...
Once reason to use Qt is the fact that you don't need X11 for it. And tslib is
the only calibration tool that seems to work properly with resistive touchscreens.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2016-09-02 12:54 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-31 15:42 Replacement for tslib? Enrico Scholz
2016-08-31 16:57 ` Richard Purdie
2016-08-31 23:53 ` Enrico Scholz
2016-09-02 11:56 ` Burton, Ross
2016-09-02 12:34 ` Otavio Salvador
2016-09-02 12:43 ` Enrico Scholz
2016-09-02 12:54 ` Maxin B. John
2016-09-01 5:14 ` Mike Looijmans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox