<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Why does the Touchscreen Driver work as a Touchpad? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454336#M70732</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Sabre SD board and a &lt;STRONG&gt;FT5X06 based touchscreen&lt;/STRONG&gt;. The driver that comes with Freescale's Lollipop 5.0.0 release did not worked due to its uncompatibility to device tree. Finally I found another driver that worked fine after some modifications.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somehow, &lt;STRONG&gt;the driver shows a circular cursor&lt;/STRONG&gt; on the screen and &lt;STRONG&gt;takes the finger movements as relative coordinates and moves the cursor&lt;/STRONG&gt;. It acts as a laptop touchpad. &lt;STRONG&gt;The driver can read the coordinates of multi touches properly.&lt;/STRONG&gt; But there is a &lt;STRONG&gt;problem with input reporting&lt;/STRONG&gt;. I've compared it to the default eGalax touchscreen driver that works good. But could not find the problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;driver is attached&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Please help me with this issue.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335951"&gt;edt-ft5x06_relative.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Nov 2015 10:43:27 GMT</pubDate>
    <dc:creator>atakan</dc:creator>
    <dc:date>2015-11-03T10:43:27Z</dc:date>
    <item>
      <title>Why does the Touchscreen Driver work as a Touchpad?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454336#M70732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Sabre SD board and a &lt;STRONG&gt;FT5X06 based touchscreen&lt;/STRONG&gt;. The driver that comes with Freescale's Lollipop 5.0.0 release did not worked due to its uncompatibility to device tree. Finally I found another driver that worked fine after some modifications.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Somehow, &lt;STRONG&gt;the driver shows a circular cursor&lt;/STRONG&gt; on the screen and &lt;STRONG&gt;takes the finger movements as relative coordinates and moves the cursor&lt;/STRONG&gt;. It acts as a laptop touchpad. &lt;STRONG&gt;The driver can read the coordinates of multi touches properly.&lt;/STRONG&gt; But there is a &lt;STRONG&gt;problem with input reporting&lt;/STRONG&gt;. I've compared it to the default eGalax touchscreen driver that works good. But could not find the problem.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The &lt;STRONG&gt;driver is attached&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Please help me with this issue.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-335951"&gt;edt-ft5x06_relative.c.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2015 10:43:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454336#M70732</guid>
      <dc:creator>atakan</dc:creator>
      <dc:date>2015-11-03T10:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Touchscreen Driver work as a Touchpad?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454337#M70733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI, I met the same problem. And I have no idea about it. Have you known the reason? Please help me. Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 12:17:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454337#M70733</guid>
      <dc:creator>zhanghuan</dc:creator>
      <dc:date>2016-03-07T12:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Touchscreen Driver work as a Touchpad?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454338#M70734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In function &lt;BR /&gt;&lt;STRONG&gt;static int edt_ft5x06_ts_probe(struct i2c_client *client,&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; const struct i2c_device_id *id)&lt;/STRONG&gt;&lt;BR /&gt;you should uncomment line&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;error = input_mt_init_slots(input, MAX_SUPPORT_POINTS,&amp;nbsp; &lt;STRONG&gt;INPUT_MT_DIRECT&lt;/STRONG&gt; );&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Dec 2016 13:09:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454338#M70734</guid>
      <dc:creator>borisgorshkov</dc:creator>
      <dc:date>2016-12-22T13:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Touchscreen Driver work as a Touchpad?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454339#M70735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may happen if you don't have the "idc" file or it is not correct (it should contain an entry "touch.deviceType = touchScreen").&lt;/P&gt;&lt;P&gt;Please check this: &lt;A href="https://source.android.com/devices/input/input-device-configuration-files.html"&gt;https://source.android.com/devices/input/input-device-configuration-files.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 08:48:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454339#M70735</guid>
      <dc:creator>andrzejdziedzic</dc:creator>
      <dc:date>2016-12-23T08:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Why does the Touchscreen Driver work as a Touchpad?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454340#M70736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;first of all, the touch pad driver problem is not i.MX problem.&lt;/P&gt;&lt;P&gt;The second, the protocol you have modified is changing the problem.&lt;/P&gt;&lt;P&gt;To debug the protocol evtest /dev/input/event0 to see what's wrong.&lt;/P&gt;&lt;P&gt;The protocol could be single touch, multi-touch A , multi-touch B.&lt;/P&gt;&lt;P&gt;Different application OS accept different protocol.&lt;/P&gt;&lt;P&gt;You can find the protocol in the Linux source tree.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;Documentation\input\multi-touch-protocol.txt&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Addition to that, you need to modify the device tree according to the hardware, especially the interrupt gpio from touch to the i.MX&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Dec 2016 11:19:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-does-the-Touchscreen-Driver-work-as-a-Touchpad/m-p/454340#M70736</guid>
      <dc:creator>BiyongSUN</dc:creator>
      <dc:date>2016-12-23T11:19:25Z</dc:date>
    </item>
  </channel>
</rss>

