<?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: tsc2004 touchscreen driver on Jelly Bean(JB) jb4.2.1_1.0.0-alpha in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248751#M22326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manohar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tsc2004 device needs calibration. I haven't yet worked through the JB details, but on ICS (and Gingerbread and Froyo before that), we've needed to patch the ts_calibrator as shown here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://github.com/boundarydevices/android_system_core/commits/gingerbread/ts_calibrator"&gt;https://github.com/boundarydevices/android_system_core/commits/gingerbread/ts_calibrator&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key piece is that it looks for 'tsdev' on the kernel command line to identify the touch device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you'll need to call out to the calibrator in your init as shown here:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="https://github.com/boundarydevices/android_device_boundary/blob/nit6x-wifi/nitrogen6x/init.rc#L124"&gt;https://github.com/boundarydevices/android_device_boundary/blob/nit6x-wifi/nitrogen6x/init.rc#L124&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, if you're running on one of our boards, you might be able to copy this set of coefficients into&lt;/P&gt;&lt;P&gt;/sys/module/tsc2004/parameters/calibration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -68188&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 695&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 271392166&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -1150&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 70727&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -9349007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Apr 2013 00:41:27 GMT</pubDate>
    <dc:creator>EricNelson</dc:creator>
    <dc:date>2013-04-03T00:41:27Z</dc:date>
    <item>
      <title>tsc2004 touchscreen driver on Jelly Bean(JB) jb4.2.1_1.0.0-alpha</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248750#M22325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here i'm using jb4.2.1_1.0.0-alpha base code to bringup android Jelly bean on imx6 based hardware and i'm using tsc2004 Resistive touch screen driver.&lt;/P&gt;&lt;P&gt;From the kernel, i'm able to bringup the touchscreen driver and able to get the events from the touch screen driver to UI. But X and Y co ordinates are not properly configured. &lt;/P&gt;&lt;P&gt;i'm using tsc2004.idc and /data/system/calibration which is working for ICS and which is not effecting on the JB release.&lt;/P&gt;&lt;P&gt;i try to calibrate using ts_calibrate tool to calibrate and it's not working properly.&lt;/P&gt;&lt;P&gt;In JB, what is the procedure to calibrate JB based device?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Apr 2013 14:04:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248750#M22325</guid>
      <dc:creator>ManoharChinnadu</dc:creator>
      <dc:date>2013-04-02T14:04:18Z</dc:date>
    </item>
    <item>
      <title>Re: tsc2004 touchscreen driver on Jelly Bean(JB) jb4.2.1_1.0.0-alpha</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248751#M22326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manohar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The tsc2004 device needs calibration. I haven't yet worked through the JB details, but on ICS (and Gingerbread and Froyo before that), we've needed to patch the ts_calibrator as shown here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://github.com/boundarydevices/android_system_core/commits/gingerbread/ts_calibrator"&gt;https://github.com/boundarydevices/android_system_core/commits/gingerbread/ts_calibrator&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The key piece is that it looks for 'tsdev' on the kernel command line to identify the touch device.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you'll need to call out to the calibrator in your init as shown here:&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="https://github.com/boundarydevices/android_device_boundary/blob/nit6x-wifi/nitrogen6x/init.rc#L124"&gt;https://github.com/boundarydevices/android_device_boundary/blob/nit6x-wifi/nitrogen6x/init.rc#L124&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or, if you're running on one of our boards, you might be able to copy this set of coefficients into&lt;/P&gt;&lt;P&gt;/sys/module/tsc2004/parameters/calibration:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -68188&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 695&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 271392166&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -1150&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 70727&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -9349007&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Apr 2013 00:41:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248751#M22326</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2013-04-03T00:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: tsc2004 touchscreen driver on Jelly Bean(JB) jb4.2.1_1.0.0-alpha</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248752#M22327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The /data/system/calibration file coordinates are not picking up from the sysfs entry fil /sys/module/tsc2004/parameters/calibration( from sysfs entry it's showing 0,0,0,0,0,0 value)&lt;/P&gt;&lt;P&gt;The tsc2004.c driver file is not part of the JB release kernel source and i just integrated the driver file by taking from ICS release kernel by modifying the Makefile and Kconfig files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how does sysfs entry file pickup the calibration coordinates from the /data/system/calibration file from the Android ICS code.?&lt;SPAN class="mce_paste_marker"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 09:37:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248752#M22327</guid>
      <dc:creator>ManoharChinnadu</dc:creator>
      <dc:date>2013-04-05T09:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: tsc2004 touchscreen driver on Jelly Bean(JB) jb4.2.1_1.0.0-alpha</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248753#M22328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manohar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ts_calibrator program does this.&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/boundarydevices/android_system_core/blob/nitrogen6x/ts_calibrator/ts_calibrator.c#L73"&gt;https://github.com/boundarydevices/android_system_core/blob/nitrogen6x/ts_calibrator/ts_calibrator.c#L73&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that it takes the multi-line data shown above and converts it into a single line, separated by commas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Apr 2013 13:47:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248753#M22328</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2013-04-05T13:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: tsc2004 touchscreen driver on Jelly Bean(JB) jb4.2.1_1.0.0-alpha</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248754#M22329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We integrated these patches into our latest JB code base, but found that there's an issue running &lt;TT&gt;exec&lt;/TT&gt; from &lt;TT&gt;init.rc&lt;/TT&gt;.&lt;/P&gt;&lt;P&gt;Some notes are available in this post:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://boundarydevices.com/android-jellybean-on-i-mx6-with-no-disclaimers/" title="http://boundarydevices.com/android-jellybean-on-i-mx6-with-no-disclaimers/"&gt;http://boundarydevices.com/android-jellybean-on-i-mx6-with-no-disclaimers/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jul 2013 17:20:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/tsc2004-touchscreen-driver-on-Jelly-Bean-JB-jb4-2-1-1-0-0-alpha/m-p/248754#M22329</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2013-07-04T17:20:33Z</dc:date>
    </item>
  </channel>
</rss>

