<div dir="ltr"><div>Hi Peter,</div><div><br></div><div>Thanks for your reply. </div><div><br></div><div>I'm using <a href="https://layers.openembedded.org/layerindex/recipe/301409/" style="box-sizing:border-box;background-color:rgb(249,249,249);color:rgb(35,82,124);outline:0px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px">xf86-input-tslib</a> & not libinput. can <a href="https://layers.openembedded.org/layerindex/recipe/301409/" style="color:rgb(35,82,124);box-sizing:border-box;background-color:rgb(249,249,249);outline:0px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px">xf86-input-tslib</a> handle the pressure? Also how to capture events from tslib input driver?</div><div><br></div><div>Regards,</div><div>Vishnu</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 8 Jun 2023 at 08:30, Peter Hutterer <<a href="mailto:peter.hutterer@who-t.net">peter.hutterer@who-t.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Wed, Jun 07, 2023 at 01:04:02PM +0530, Vishnu Motghare wrote:<br>
> Hello All,<br>
> <br>
> X11-based applications like xterm & xinput_calibrator do not respond to<br>
> touch after the first touch.<br>
> <br>
> We have an ILI210x Touchscreen controller & the kernel version is 5.15,<br>
> touch was working fine with the 5.4 kernel version with Xterm &<br>
> xinput_calibrator<br>
> <br>
> This is the Commit<br>
> <<a href="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/input/touchscreen/ili210x.c?h=v5.10.182&id=3a492e4403ee2e3442397230d68e26e81525af90" rel="noreferrer" target="_blank">https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/drivers/input/touchscreen/ili210x.c?h=v5.10.182&id=3a492e4403ee2e3442397230d68e26e81525af90</a>><br>
> added<br>
> in the kernel to report the pressure value & after this, no X11-based<br>
> application works after the first touch<br>
> <br>
> Do we need to add any setting in xorg.conf to handle the pressure value<br>
> reported by ILI210x Touchscreen?<br>
<br>
Most likely you're using the xf86-input-libinput driver for touchscreens<br>
(unless you explicitly changed it to use the evdev driver). In that case<br>
you can check with `libinput debug-events` to see what libinput produces<br>
- the xorg libinput driver is a fairly thin wrapper and this should give<br>
you a good indication of where things go wrong.<br>
<br>
libinput record works either way and shows you the events produced by<br>
the kernel.<br>
<br>
also, fwiw libinput does not handle pressure for touch screen events so<br>
this patch shouldn't have made a difference in userspace. So there's<br>
most likely some other event missing, libinput record should show this.<br>
Probably best to file an issue against libinput for that.<br>
<br>
Cheers,<br>
Peter<br>
<br>
</blockquote></div></div>