<?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 How to use nusensor from AOSP to test sensor HAL in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927585#M139239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;I am using iMX8M Mini EVK and Android 9 AOSP Framework. &lt;BR /&gt;I am successfully able to build the AOSP for my board and its running fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to connect DHT 11 sensor to this board at GPIO and want to read it's value.&lt;/P&gt;&lt;P&gt;for that i enabled IIO and DHT11 in iMX8 AOSP kernel menuconfig and build it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And As per my understanding there is test app is available in AOSP /hardware/libhardware/tests/nusensors folder.&lt;/P&gt;&lt;P&gt;Now I want to use this test App to check my sensor value via Sensor HAL.&lt;/P&gt;&lt;P&gt;but I am not sure how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me how can i use this test app to raed my sensor value using sensor HAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Maneesh Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2019 10:37:10 GMT</pubDate>
    <dc:creator>msingh1920</dc:creator>
    <dc:date>2019-07-30T10:37:10Z</dc:date>
    <item>
      <title>How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927585#M139239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sir,&lt;/P&gt;&lt;P&gt;I am using iMX8M Mini EVK and Android 9 AOSP Framework. &lt;BR /&gt;I am successfully able to build the AOSP for my board and its running fine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to connect DHT 11 sensor to this board at GPIO and want to read it's value.&lt;/P&gt;&lt;P&gt;for that i enabled IIO and DHT11 in iMX8 AOSP kernel menuconfig and build it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And As per my understanding there is test app is available in AOSP /hardware/libhardware/tests/nusensors folder.&lt;/P&gt;&lt;P&gt;Now I want to use this test App to check my sensor value via Sensor HAL.&lt;/P&gt;&lt;P&gt;but I am not sure how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please suggest me how can i use this test app to raed my sensor value using sensor HAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Maneesh Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 10:37:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927585#M139239</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-07-30T10:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927586#M139240</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;I am able to build nusensor but while running it i am facing issue -&lt;/P&gt;&lt;P&gt;I Followed these steps to build that nustensor module -&lt;/P&gt;&lt;DIV class=""&gt;&lt;UL&gt;&lt;LI&gt;Run &lt;CODE&gt;source build/envsetup.sh&lt;/CODE&gt; from the android root folder&lt;/LI&gt;&lt;LI&gt;Run &lt;CODE&gt;lunch evk_8mm-userdebug&amp;nbsp;&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;Go to &lt;CODE&gt;/hardware/libhardware/tests/nusensor&lt;/CODE&gt; folder and run &lt;CODE&gt;mm&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;The executable should get generated and it will be present in &lt;CODE&gt;out/target/product/evk_8mm/system/bin/&lt;/CODE&gt; with the name &lt;CODE&gt;test-nusensors&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;Build the AOSP using make and flash these output to SDCARD. &lt;BR /&gt;&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;To run it use the command go to&lt;CODE&gt; /system/bin/test-nusensors and execute it using -&lt;BR /&gt;&lt;/CODE&gt;&lt;CODE&gt;./test-nusensor&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;But when ever i run this command i get error -&amp;gt; &lt;/CODE&gt;&lt;CODE&gt;./test-nusensors&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;&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;&lt;BR /&gt;hw_get_module() failed (No such file or directory)&lt;BR /&gt;&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;Below is the PATH variable output for my board -&lt;BR /&gt; echo $PATH&lt;BR /&gt;/sbin:/system/sbin:/system/bin:/system/xbin:/odm/bin:/vendor/bin:/vendor/xbin&lt;BR /&gt;&lt;/CODE&gt;&lt;/LI&gt;&lt;LI&gt;&lt;CODE&gt;NOTE : this hw_get_module() is given in hardware/hardware.h file. &lt;BR /&gt;&lt;BR /&gt;Please help me how can i test the sensor hal using nusensor or any other method. &lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Maneesh Singh&lt;/CODE&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2019 11:33:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927586#M139240</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-07-30T11:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927587#M139241</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;In nusensor.cpp&amp;nbsp; /hardware/hardware.h header file is already included but still when i run the &lt;CODE&gt;test-nusensors&lt;/CODE&gt; executable&lt;/P&gt;&lt;P&gt;it gives error. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am following below steps -&lt;/P&gt;&lt;P&gt;1. build nusensor using mm command.&lt;/P&gt;&lt;P&gt;2. build AOSP using make command&lt;/P&gt;&lt;P&gt;3. flash the binaries into sdcard and boot the board&lt;/P&gt;&lt;P&gt;4. connect the iMX8 board to&amp;nbsp; adb&lt;/P&gt;&lt;P&gt;5. and run the executable -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ./bin/&lt;CODE&gt;test-nusensors&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there any other files or variables i need to set ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE - I am using Android AOSP 9.0 (pie) and iMX8M Mini EVK. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Maneesh Singh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Aug 2019 08:07:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927587#M139241</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-08-01T08:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927588#M139242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, actually I run the steps that you wrote above and it didn't failed, the binary showed me all the sensors listed on sensors.cpp.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if the Android.bp, which is on the same folder as nusensors.cpp is the same as the following:&lt;/P&gt;&lt;P&gt;cc_binary {&lt;BR /&gt; name: "test-nusensors",&lt;/P&gt;&lt;P&gt;srcs: ["nusensors.cpp"],&lt;/P&gt;&lt;P&gt;cflags: ["-Wall", "-Werror"],&lt;/P&gt;&lt;P&gt;shared_libs: [&lt;BR /&gt; "libcutils",&lt;BR /&gt; "libhardware",&lt;BR /&gt; ],&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The binary on the device is located at /system/bin/test-nusensors. Maybe the compiler outputs the binary on out/target/product/... and you have to copy it to the device, through adb.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2019 17:06:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927588#M139242</guid>
      <dc:creator>felipelopez</dc:creator>
      <dc:date>2019-08-08T17:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927589#M139243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned in my previous post i am following the same steps.&lt;/P&gt;&lt;P&gt;and i checked the Android.bp file with yous and it is same only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i think the issue is that&amp;nbsp;test-nusensor is not able to find out the file for -&amp;gt; SENSORS_HARDWARE_MODULE_ID&lt;/P&gt;&lt;P&gt;when it calls function =&amp;gt;&amp;nbsp; hw_get_module(SENSORS_HARDWARE_MODULE_ID, (hw_module_t const**)&amp;amp;module);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the hardware/libhardware/hardware.c file it checks for .so files based on SENSORS_HARDWARE_MODULE_ID.&lt;/P&gt;&lt;P&gt;so it checks for .so file with below extension - &lt;/P&gt;&lt;P&gt;SENSORS_HARDWARE_MODULE_ID.default.so&lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;&amp;nbsp; "ro.hardware",&amp;nbsp; &lt;BR /&gt;&amp;nbsp;&amp;nbsp; "ro.product.board",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "ro.board.platform",&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "ro.arch"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If nothing matches then it gives &lt;CODE&gt;hw_get_module() failed (No such file or directory)&lt;/CODE&gt; error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But my understanding is when i build AOSP then by default all the hal modules for sensors file should also get builds.&lt;/P&gt;&lt;P&gt;but i am not sure if i need to build any sensor hal modules separately.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In /out/target/product/evk8mm i can see many sensors.dynamic_sensors_hal.so&amp;nbsp; files but i am not sure if&lt;/P&gt;&lt;P&gt;test-nusensor is looking for these .so files. Please confirm.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 11:45:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927589#M139243</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-08-09T11:45:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927590#M139244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Usually it look for sensors.imx8.so or something similar, could you confirm if your are compiling the libsensors directory where your sensor is declared? AOSP installs the shared library on out/target/product/&amp;lt;board&amp;gt;/vendor/lib/hw/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 17:10:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927590#M139244</guid>
      <dc:creator>felipe_lopez</dc:creator>
      <dc:date>2019-08-09T17:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927591#M139245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe Lopez,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked in my -&lt;/P&gt;&lt;P&gt;AOSP /out/target/product/evk_8mm/vendor/lib/hw/&amp;nbsp; directory. &lt;BR /&gt;i didn't find any sensors.imx8.so files. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my directory for sensor only =&amp;gt; sensors.dynamic_sensor_hal.so is available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i generate =&amp;gt; sensors.imx8.so files ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AOSP Steps =&amp;gt;&lt;/P&gt;&lt;P&gt;1. I am downloading the AOSP for iMX8M Mini EVK and compiling it using make command.&lt;/P&gt;&lt;P&gt;2. After that I am compiling nusensor test app for sensor&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. Then I am flashing everything on SDACRD and try to run the test-nusensor test app.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there anything which i am missing ??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Aug 2019 15:16:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927591#M139245</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-08-10T15:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927592#M139246</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;Any suggestion or update over this ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Aug 2019 08:03:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927592#M139246</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-08-12T08:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927593#M139247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;I just guessing, but I assume that your sensor is defined on /vendor/nxp-opensource/imx/libsensors/sensors.cpp. I'm asking because you have to be sured that library is compiled, it generates the sensors.imx8.so file. There's a macro on Android.mk, located in the same folder, which has to be added on the BoardConfig.mk of your device. On it I add the following:&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;BOARD_HAS_SENSOR := true. It was the only thing that I added, I compile the image and test-nusensors worked without a problem.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Aug 2019 16:06:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927593#M139247</guid>
      <dc:creator>felipe_lopez</dc:creator>
      <dc:date>2019-08-13T16:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927594#M139248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Felipe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you suggested&lt;/P&gt;&lt;P&gt;1. I added BOARD_HAS_SENSOR := true in my Boardconfig.mk file.&lt;/P&gt;&lt;P&gt;2. After that I compiled the AOSP&lt;/P&gt;&lt;P&gt;3. but i still didn't see any &lt;SPAN&gt;sensors.imx8.so file&lt;/SPAN&gt; under /out/target/product/evk_8mm/vendor/lib/hw/&amp;nbsp; directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but when i try to run 'mm' cmd&amp;nbsp; in libsensors directory then i am getting following error -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maneesh:~/Android_AOSP_build_iMX8/vendor/nxp-opensource/imx/libsensors$ mm&lt;BR /&gt;============================================&lt;BR /&gt;PLATFORM_VERSION_CODENAME=REL&lt;BR /&gt;PLATFORM_VERSION=9&lt;BR /&gt;TARGET_PRODUCT=evk_8mm&lt;BR /&gt;TARGET_BUILD_VARIANT=userdebug&lt;BR /&gt;TARGET_BUILD_TYPE=release&lt;BR /&gt;TARGET_ARCH=arm64&lt;BR /&gt;TARGET_ARCH_VARIANT=armv8-a&lt;BR /&gt;TARGET_CPU_VARIANT=cortex-a53&lt;BR /&gt;TARGET_2ND_ARCH=arm&lt;BR /&gt;TARGET_2ND_ARCH_VARIANT=armv7-a-neon&lt;BR /&gt;TARGET_2ND_CPU_VARIANT=cortex-a9&lt;BR /&gt;HOST_ARCH=x86_64&lt;BR /&gt;HOST_2ND_ARCH=x86&lt;BR /&gt;HOST_OS=linux&lt;BR /&gt;HOST_OS_EXTRA=Linux-4.4.0-21-generic-x86_64-Ubuntu-16.04.6-LTS&lt;BR /&gt;HOST_CROSS_OS=windows&lt;BR /&gt;HOST_CROSS_ARCH=x86&lt;BR /&gt;HOST_CROSS_2ND_ARCH=x86_64&lt;BR /&gt;HOST_BUILD_TYPE=release&lt;BR /&gt;BUILD_ID=2.0.0-ga-rc4&lt;BR /&gt;OUT_DIR=out&lt;BR /&gt;============================================&lt;BR /&gt;ninja: no work to do.&lt;BR /&gt;[1/1] out/soong/.bootstrap/bin/soong_build out/soong/build.ninja&lt;BR /&gt;out/build-evk_8mm-vendor_nxp-opensource_imx_libsensors_Android.mk-cleanspec.ninja is missing, regenerating...&lt;BR /&gt;out/build-evk_8mm-vendor_nxp-opensource_imx_libsensors_Android.mk.ninja is missing, regenerating...&lt;BR /&gt;[ 99% 234/235] glob system/media/private/camera/include&lt;BR /&gt;ninja: error: unknown target 'MODULES-IN-vendor-nxp-opensource-imx-libsensors'&lt;BR /&gt;19:34:43 ninja failed with: exit status 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#### failed to build some targets (07:59 (mm:ss)) ####&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NOTE - &amp;gt;&amp;nbsp; I am using iMX8M Mini EVK and Android 9 version.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Maneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Aug 2019 14:26:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/927594#M139248</guid>
      <dc:creator>msingh1920</dc:creator>
      <dc:date>2019-08-14T14:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: Have you integrated the dht11 sensor on your android source??</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/1726199#M212859</link>
      <description>&lt;P&gt;actually while running the tests-nusensors i am getting this.&lt;BR /&gt;&lt;BR /&gt;4 sensors found:&lt;BR /&gt;Freescale 3-axis Accelerometer&lt;BR /&gt;vendor: Freescale Semiconductor Inc.&lt;BR /&gt;version: 1&lt;BR /&gt;handle: 0&lt;BR /&gt;type: 1&lt;BR /&gt;maxRange: 19.613300&lt;BR /&gt;resolution: 0.000599&lt;BR /&gt;power: 0.300000 mA&lt;BR /&gt;Freescale 3-axis Magnetic field sensor&lt;BR /&gt;vendor: Freescale Semiconductor Inc.&lt;BR /&gt;version: 1&lt;BR /&gt;handle: 1&lt;BR /&gt;type: 2&lt;BR /&gt;maxRange: 1500.000000&lt;BR /&gt;resolution: 0.050000&lt;BR /&gt;power: 0.500000 mA&lt;BR /&gt;Freescale Orientation sensor&lt;BR /&gt;vendor: Freescale Semiconductor Inc.&lt;BR /&gt;version: 1&lt;BR /&gt;handle: 2&lt;BR /&gt;type: 3&lt;BR /&gt;maxRange: 360.000000&lt;BR /&gt;resolution: 0.010000&lt;BR /&gt;power: 0.500000 mA&lt;BR /&gt;ISL29023 Light sensor&lt;BR /&gt;vendor: Intersil&lt;BR /&gt;version: 1&lt;BR /&gt;handle: 4&lt;BR /&gt;type: 5&lt;BR /&gt;maxRange: 16000.000000&lt;BR /&gt;resolution: 1.000000&lt;BR /&gt;power: 0.350000 mA&lt;BR /&gt;deactivate() for 'Freescale 3-axis Accelerometer'failed (Operation not permitted)&lt;BR /&gt;&lt;BR /&gt;But i am getting the sensor values ..&lt;BR /&gt;can you please suggest me what to do for the integration of lsm6dsm sensor on Android11 source code.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 09:29:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/1726199#M212859</guid>
      <dc:creator>Pritamsrisahoo_ss</dc:creator>
      <dc:date>2023-09-20T09:29:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/1726307#M212874</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/165947"&gt;@msingh1920&lt;/a&gt;&amp;nbsp;can You please help me out for the integration of lsm6dm integration on Android11 source .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 12:04:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/1726307#M212874</guid>
      <dc:creator>Pritamsrisahoo_ss</dc:creator>
      <dc:date>2023-09-20T12:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to use nusensor from AOSP to test sensor HAL</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/1726714#M212903</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/165947"&gt;@msingh1920&lt;/a&gt;&amp;nbsp;Have you completed the integration of DHT11 sensor on android source ?&lt;BR /&gt;&lt;BR /&gt;if you have done it successfully then can you please guide me on integration of lsm6dsm sensor on android 11 source.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 04:52:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/1726714#M212903</guid>
      <dc:creator>Pritamsrisahoo_ss</dc:creator>
      <dc:date>2023-09-21T04:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Have you integrated the dht11 sensor on your android source??</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/1726718#M212904</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/165947"&gt;@msingh1920&lt;/a&gt;&amp;nbsp;have you completed the integration of DHT11 sensor on your android source ?&lt;BR /&gt;&lt;BR /&gt;if you have completed the integration and getting the sensor values through the application then i can you please help me on integration of lsm6dsm sensor on Android 11.&lt;BR /&gt;&lt;BR /&gt;Hope for your reply.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 04:55:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-use-nusensor-from-AOSP-to-test-sensor-HAL/m-p/1726718#M212904</guid>
      <dc:creator>Pritamsrisahoo_ss</dc:creator>
      <dc:date>2023-09-21T04:55:44Z</dc:date>
    </item>
  </channel>
</rss>

