<?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>i.MX Processors中的主题 Re: debug mag3110 while magd did not run</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/debug-mag3110-while-magd-did-not-run/m-p/703298#M109277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please use I2C tools, and see if you have a connection between the &lt;SPAN style="font-size: 15px;"&gt;mag3110 and the i.MX6?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;A href="https://community.nxp.com/docs/DOC-1477"&gt;https://community.nxp.com/docs/DOC-1477&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Diego.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Aug 2017 20:22:30 GMT</pubDate>
    <dc:creator>diegoadrian</dc:creator>
    <dc:date>2017-08-24T20:22:30Z</dc:date>
    <item>
      <title>debug mag3110 while magd did not run</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/debug-mag3110-while-magd-did-not-run/m-p/703297#M109276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My system is Android 7.1 with kernel 4.1.After mag3110 driver is porting,log as below:&lt;/P&gt;&lt;P&gt;2-000e supply vdd not found, using dummy regulator //启动log&lt;BR /&gt;2-000e supply vddio not found, using dummy regulator&lt;BR /&gt;mag3110 2-000e: check mag3110 chip ID&lt;BR /&gt;input: FreescaleMagnetometer as /devices/virtual/input/input2&lt;BR /&gt;input: eCompass as /devices/virtual/input/input3&lt;BR /&gt;mag3110 2-000e: mag3110 is probed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I found the input event lost while I use getevent to catch them.&lt;/P&gt;&lt;P&gt;sabresd_6dq:/ # getevent&lt;BR /&gt;add device 1: /dev/input/event3&lt;BR /&gt; name: "eCompass"&lt;BR /&gt;add device 2: /dev/input/event2&lt;BR /&gt; name: "FreescaleMagnetometer"&lt;BR /&gt;add device 3: /dev/input/event1&lt;BR /&gt; name: "goodix-ts"&lt;BR /&gt;could not get driver version for /dev/input/mice, Not a typewriter&lt;BR /&gt;add device 4: /dev/input/event0&lt;BR /&gt; name: "tw8834"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that, I found magd did not run :&lt;/P&gt;&lt;P&gt;init: Starting service 'magd'... &amp;nbsp; &amp;nbsp; //magd start by init progress&lt;BR /&gt;init: Starting service 'gatekeeperd'...&lt;BR /&gt;type=1400 audit(4.500:5): avc: denied { getattr } for pid=176 comm="mediadrmserver" path="/vendor" dev="rootfs" ino=50&lt;BR /&gt;init: Starting service 'perfprofd'...&lt;BR /&gt;(stk) :ldisc_install = 1&lt;BR /&gt;type=1400 audit(4.550:6): avc: denied { getattr } for pid=170 comm="audioserver" path="/vendor" dev="rootfs" ino=55910&lt;BR /&gt;type=1400 audit(4.570:7): avc: denied { getattr } for pid=175 comm="mediacodec" path="/vendor" dev="rootfs" ino=5591 0&lt;BR /&gt;android_work: did not send uevent (0 0 (null))&lt;BR /&gt;configfs-gadget gadget: unbind function 'mtp'/d2bc9a00&lt;BR /&gt;configfs-gadget gadget: unbind function 'Function FS Gadget'/d2f4d024&lt;BR /&gt;android_work: did not send uevent (0 0 (null))&lt;BR /&gt;configfs-gadget gadget: unbind function 'mtp'/d2bc9a00&lt;BR /&gt;configfs-gadget gadget: unbind function 'Function FS Gadget'/d2f49924&lt;BR /&gt;type=1400 audit(4.580:8): avc: denied { getattr } for pid=171 comm="cameraserver" path="/vendor" dev="rootfs" ino=5590&lt;BR /&gt;type=1400 audit(4.710:9): avc: denied { getattr } for pid=180 comm="magd" path="/vendor" dev="rootfs" ino=5591 sconte0&lt;BR /&gt;wlcore: wl18xx HW: 183x or 180x, PG 2.2 (ROM 0x11)&lt;BR /&gt;healthd: No battery devices found&lt;BR /&gt;wlcore: loaded&lt;BR /&gt;wlcore: driver version: R8.6_SP1&lt;BR /&gt;init: avc: denied { set } for property=telephony.lteOnCdmaDevice pid=168 uid=0 gid=1001 scontext=u:r:rild:s0 tconte0&lt;BR /&gt;init: sys_prop: permission denied uid:0 name:telephony.lteOnCdmaDevice&lt;BR /&gt;init: Service 'magd' (pid 180) exited with status 255 &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;//magd exited&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can you give me some advice to fix this problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 10:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/debug-mag3110-while-magd-did-not-run/m-p/703297#M109276</guid>
      <dc:creator>jakiewen</dc:creator>
      <dc:date>2017-08-21T10:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: debug mag3110 while magd did not run</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/debug-mag3110-while-magd-did-not-run/m-p/703298#M109277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please use I2C tools, and see if you have a connection between the &lt;SPAN style="font-size: 15px;"&gt;mag3110 and the i.MX6?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;&lt;A href="https://community.nxp.com/docs/DOC-1477"&gt;https://community.nxp.com/docs/DOC-1477&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 15px;"&gt;Diego.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2017 20:22:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/debug-mag3110-while-magd-did-not-run/m-p/703298#M109277</guid>
      <dc:creator>diegoadrian</dc:creator>
      <dc:date>2017-08-24T20:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: debug mag3110 while magd did not run</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/debug-mag3110-while-magd-did-not-run/m-p/703299#M109278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hello Diego,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Thanks for your reply.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;The communication between mag3110 and the i.MX6 is normal，here is the start-up log：&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;mag3110 2-000e: check mag3110 chip ID&lt;BR /&gt;mag3110 2-000e: wjk.........read chip ID is 0xc4! &amp;nbsp; &amp;nbsp; &amp;nbsp;//&lt;STRONG style="border: 0px; font-weight: bold;"&gt;The chip id is read by i2c&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;input: FreescaleMagnetometer as /devices/virtual/input/input3&lt;BR /&gt;input: eCompass as /devices/virtual/input/input4&lt;BR /&gt;mag3110 2-000e: mag3110 is probed&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Can you help me to judge why magd failed to run?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2017 02:13:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/debug-mag3110-while-magd-did-not-run/m-p/703299#M109278</guid>
      <dc:creator>jakiewen</dc:creator>
      <dc:date>2017-08-25T02:13:32Z</dc:date>
    </item>
  </channel>
</rss>

