<?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: iMx51 EVK Android Screen Orientation in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMx51-EVK-Android-Screen-Orientation/m-p/146354#M189</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been resolved.&amp;nbsp; By adding the following line to the init.rc file, just after the indicated lines above, as seen below:&lt;/P&gt;&lt;P&gt;# Define fsl display init mode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setprop ro.FSL_LANDSCAPE_MODE 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setprop ro.sf.hwrotation 90&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will result in the desired effect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Mar 2012 18:52:33 GMT</pubDate>
    <dc:creator>Davros</dc:creator>
    <dc:date>2012-03-21T18:52:33Z</dc:date>
    <item>
      <title>iMx51 EVK Android Screen Orientation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMx51-EVK-Android-Screen-Orientation/m-p/146353#M188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently have running Android on an iMX51 board closely cloned from the FreeScale iMX51 EVK reference design.&amp;nbsp; The board in question uses an 800x480 resolution display.&lt;/P&gt;&lt;P&gt;When Android runs, it runs in Landscape mode.&amp;nbsp; I would like to change it to Portrait by default.&amp;nbsp; However there are no options for screen orientation under Settings-&amp;gt;Display, nor any settings that I have found.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did track down the following line in the "init.rc" file:&lt;/P&gt;&lt;P&gt;# Define fsl display init mode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; setprop ro.FSL_LANDSCAPE_MODE 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Changing this to a '0' had no affect what so ever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the question is, is there some global system screen orientation setting that I am simply missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is not, then I would presume there is a way of controlling this through the sensor interface.&amp;nbsp; However, this interface does not seem to be fleshed out at all with this port.&amp;nbsp; How does this get enabled?&amp;nbsp; I would also think the Android system will rely on some Linux driver.&amp;nbsp; What does it look for, ie. what is the descriptor name it will use?&amp;nbsp; And, is there an API definition I can use to implement this driver?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 22:07:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMx51-EVK-Android-Screen-Orientation/m-p/146353#M188</guid>
      <dc:creator>Davros</dc:creator>
      <dc:date>2012-03-20T22:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: iMx51 EVK Android Screen Orientation</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMx51-EVK-Android-Screen-Orientation/m-p/146354#M189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This has been resolved.&amp;nbsp; By adding the following line to the init.rc file, just after the indicated lines above, as seen below:&lt;/P&gt;&lt;P&gt;# Define fsl display init mode&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setprop ro.FSL_LANDSCAPE_MODE 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; setprop ro.sf.hwrotation 90&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will result in the desired effect.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 18:52:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMx51-EVK-Android-Screen-Orientation/m-p/146354#M189</guid>
      <dc:creator>Davros</dc:creator>
      <dc:date>2012-03-21T18:52:33Z</dc:date>
    </item>
  </channel>
</rss>

