<?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: How to decide the sensor event in driver in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-decide-the-sensor-event-in-driver/m-p/712710#M110818</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Actually I already can do it with script.&lt;/P&gt;&lt;P&gt;However, It is easy to do it on Ubuntu or qt-wayland but not in Android.&lt;/P&gt;&lt;P&gt;On Android I need to send the property so I have to get a static event.&lt;/P&gt;&lt;P&gt;Previously I used script on Android too but in my script I have to use `sed` to capture the words.&lt;/P&gt;&lt;P&gt;According that I have to give it root permission but I can't (Because I won't give my customer the root permission).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why I have to find the way to modify the driver and make my event static.&lt;/P&gt;&lt;P&gt;Or do you have other suggestion for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2017 07:59:47 GMT</pubDate>
    <dc:creator>wangvictor</dc:creator>
    <dc:date>2017-11-13T07:59:47Z</dc:date>
    <item>
      <title>How to decide the sensor event in driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-decide-the-sensor-event-in-driver/m-p/712708#M110816</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;I'm porting Android 6.0 on i.MX6 Dual light.&lt;/P&gt;&lt;P&gt;I've been facing this problem for a long time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My light sensor will not mount on the same event where located between /sys/class/input/event6 and /sys/class/input/event7.&lt;/P&gt;&lt;P&gt;How can I set the static path which is on /sys/class/input/event7 for my light sensor?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Oct 2017 07:55:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-decide-the-sensor-event-in-driver/m-p/712708#M110816</guid>
      <dc:creator>wangvictor</dc:creator>
      <dc:date>2017-10-23T07:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to decide the sensor event in driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-decide-the-sensor-event-in-driver/m-p/712709#M110817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no easy way to make it static.&lt;BR /&gt;However you can create a script that finds actual entry for the sensor and makes a symlink to /sys/class/input/eventX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Oct 2017 03:35:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-decide-the-sensor-event-in-driver/m-p/712709#M110817</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2017-10-25T03:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to decide the sensor event in driver</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-decide-the-sensor-event-in-driver/m-p/712710#M110818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;Actually I already can do it with script.&lt;/P&gt;&lt;P&gt;However, It is easy to do it on Ubuntu or qt-wayland but not in Android.&lt;/P&gt;&lt;P&gt;On Android I need to send the property so I have to get a static event.&lt;/P&gt;&lt;P&gt;Previously I used script on Android too but in my script I have to use `sed` to capture the words.&lt;/P&gt;&lt;P&gt;According that I have to give it root permission but I can't (Because I won't give my customer the root permission).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's why I have to find the way to modify the driver and make my event static.&lt;/P&gt;&lt;P&gt;Or do you have other suggestion for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advanced!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 07:59:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-decide-the-sensor-event-in-driver/m-p/712710#M110818</guid>
      <dc:creator>wangvictor</dc:creator>
      <dc:date>2017-11-13T07:59:47Z</dc:date>
    </item>
  </channel>
</rss>

