<?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 Re: Qt-embedded Touch screen problem on IMX53 (SABRE tablet) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226924#M16316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Winston,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be the case that the GUI does not know how to interpret the touches. Can you check if the touchscreen driver can be configured/compiled to support SINGLE TOUCH?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Freescale is working on YOCTO, the next BSP builder so I strongly suggest you to try it. It has QT, and the only thing you may&amp;nbsp; need to do is to add a recipe with your custom application. Please take a look at his page to start using it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94023"&gt;i.MX Yocto FAQ&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Feb 2013 18:08:29 GMT</pubDate>
    <dc:creator>LeonardoSandova</dc:creator>
    <dc:date>2013-02-07T18:08:29Z</dc:date>
    <item>
      <title>Qt-embedded Touch screen problem on IMX53 (SABRE tablet)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226922#M16314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have been working on a project based on&amp;nbsp; QT-embedded on linux on imx53 sabre platform.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;So far&amp;nbsp; i have installed qt-embedded on target,&lt;/LI&gt;&lt;LI&gt;installed Qt cross compiler on host&lt;/LI&gt;&lt;LI&gt;compiled an app which runs on imx53.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But the problem is qt app does not recognize the touch.... But the touch screen driver is installed&lt;/P&gt;&lt;P&gt; I verified it by doing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;export TSLIB_TSDEVICE=/dev/input/ts0 &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;export TSLIB_CALIBFILE=/etc/pointercal &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;export TSLIB_CONFFILE=/usr/etc/ts.conf&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cat /dev/innput/event2 | hexdump&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; When i do that and touch the screen i get the hex output..... So touch screen is detected by linux. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have configured the qt-embedded as following..... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;./configure&lt;/STRONG&gt; -embedded arm -xplatform linux-mxc-g++ -release -prefix /usr/local/Trolltech/Qt-4.6.0/ -no-opengl -glib -qt-gfx-linuxfb -qt-kbd-tty -qt-kbd-linuxinput -qt-mouse-linuxinput &lt;STRONG&gt;-qt-mouse-tslib&lt;/STRONG&gt; -little-endian -qt-gfx-linuxfb -host-little-endian -v -opensource -confirm-license -force-pkg-config -no-phonon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so&lt;STRONG&gt; tslib&lt;/STRONG&gt; is included.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how can i make my application get the touch input.. ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks and regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Winston Rodrigues,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Schiller Healthcare&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Bangalore&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 12:02:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226922#M16314</guid>
      <dc:creator>winstonrodrigue</dc:creator>
      <dc:date>2013-01-16T12:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Qt-embedded Touch screen problem on IMX53 (SABRE tablet)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226923#M16315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The enclosed general considerations may be helpful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 10:52:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226923#M16315</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2013-02-07T10:52:09Z</dc:date>
    </item>
    <item>
      <title>Re: Qt-embedded Touch screen problem on IMX53 (SABRE tablet)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226924#M16316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Winston,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It may be the case that the GUI does not know how to interpret the touches. Can you check if the touchscreen driver can be configured/compiled to support SINGLE TOUCH?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Freescale is working on YOCTO, the next BSP builder so I strongly suggest you to try it. It has QT, and the only thing you may&amp;nbsp; need to do is to add a recipe with your custom application. Please take a look at his page to start using it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-94023"&gt;i.MX Yocto FAQ&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 18:08:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226924#M16316</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-02-07T18:08:29Z</dc:date>
    </item>
    <item>
      <title>Re: Qt-embedded Touch screen problem on IMX53 (SABRE tablet)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226925#M16317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Yuri Muhin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have successfully compiled tslib. and I have set the&lt;/P&gt;&lt;P&gt; environmental variables properly. when I run ./ts_calibrate I can see&lt;/P&gt;&lt;P&gt; "TSLIB calibration Utility" screen on my board. and one crosshair on&lt;/P&gt;&lt;P&gt; top left corner. But when i touch it Nothing happens.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I tried to do a little debugging by using printf statements in&lt;/P&gt;&lt;P&gt; ts_calibrate.c file just to know where exactly is the problem. It gets&lt;/P&gt;&lt;P&gt; struck in the function getxy();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; when i see the code of&amp;nbsp; getxy() in tests/testutils.c , it gets&lt;/P&gt;&lt;P&gt; struck at this point :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; do {&lt;/P&gt;&lt;P&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; printf("Inside do-getxy\n");&lt;/P&gt;&lt;P&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;&amp;nbsp; if (ts_read_raw(ts, &amp;amp;samp[0], 1) &amp;lt; 0) {&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("Inside if-getxy\n");&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; perror("ts_read");&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; close_framebuffer ();&lt;/P&gt;&lt;P&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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit(1);&lt;/P&gt;&lt;P&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;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } while (samp[0].pressure == 0);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; here it never comes out of the do-while loop. so i guess there is a&lt;/P&gt;&lt;P&gt; problem in ts_read_raw() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; when i run ./ts_print_raw it gives me:&lt;/P&gt;&lt;P&gt; root@freescale /mnt/buha/bin$ ./ts_print_raw&lt;/P&gt;&lt;P&gt; 14224.983211:&amp;nbsp; 22304&amp;nbsp; 24288&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14224.987890:&amp;nbsp; 22304&amp;nbsp; 24288&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14224.992615:&amp;nbsp; 22304&amp;nbsp; 24288&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14224.997350:&amp;nbsp; 22304&amp;nbsp; 24288&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14225.002073:&amp;nbsp; 22304&amp;nbsp; 24288&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14225.006804:&amp;nbsp; 22304&amp;nbsp; 24288&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14225.011538:&amp;nbsp; 22304&amp;nbsp; 24288&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14225.016271:&amp;nbsp; 22304&amp;nbsp; 24288&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14225.020993:&amp;nbsp; 22336&amp;nbsp; 24272&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14225.042071:&amp;nbsp; 22432&amp;nbsp; 24272&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14225.043366:&amp;nbsp; 22432&amp;nbsp; 24272&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14226.641742:&amp;nbsp; 22544&amp;nbsp; 23968&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14226.646461:&amp;nbsp; 22544&amp;nbsp; 23968&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14226.651188:&amp;nbsp; 22544&amp;nbsp; 23968&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14226.655925:&amp;nbsp; 22544&amp;nbsp; 23968&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14226.660646:&amp;nbsp; 22544&amp;nbsp; 23968&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt; 14226.665375:&amp;nbsp; 22544&amp;nbsp; 23968&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So i guess there is no problem with the touch screen driver.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; It uses egalax capacitive touch screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks and Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Winston Rodrigues,&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 10:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226925#M16317</guid>
      <dc:creator>winstonrodrigue</dc:creator>
      <dc:date>2013-02-12T10:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Qt-embedded Touch screen problem on IMX53 (SABRE tablet)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226926#M16318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Leonardo...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I dont know exactly how to enable single touch support...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; And YOCTO is replacement for LTIB ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Where can i download the source ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Thanks,.,.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Winston&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 10:39:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Qt-embedded-Touch-screen-problem-on-IMX53-SABRE-tablet/m-p/226926#M16318</guid>
      <dc:creator>winstonrodrigue</dc:creator>
      <dc:date>2013-02-12T10:39:25Z</dc:date>
    </item>
  </channel>
</rss>

