<?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:  bluetoothctl is not working with 8MMINILPD4-EVK in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899512#M135720</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;&lt;SPAN style="color: #000000;"&gt;I am facing the same issues with my IMX8M Mini board. I have tried doing everything on this thread, one thing i am not able to do, is using&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="color: #000000;"&gt;hciattach command. I suspect i am doing something wrong. Since i am very new to this, can someone please elaborate on using the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="color: #000000;"&gt;hciattach command to turn bluetooth ON?&amp;nbsp;I get the following error when i try to run the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;hciattach command.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;evk_8mm:/ #&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;evk_8mm:/ # hciattach&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;/system/bin/sh: hciattach: not found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;127|evk_8mm:/ # hciattach /dev/ttymxc2 qca&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;/system/bin/sh: hciattach: not found&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Abdu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Aug 2019 14:17:35 GMT</pubDate>
    <dc:creator>abdu1</dc:creator>
    <dc:date>2019-08-09T14:17:35Z</dc:date>
    <item>
      <title>bluetoothctl is not working with 8MMINILPD4-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899509#M135717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need any special settings to use Bluetooth&amp;nbsp;on&amp;nbsp;&lt;SPAN&gt;8MMINILPD4-EVK&lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I bought&amp;nbsp;8MMINILPD4-EVK last week, and I bitbaked "fsl-image-qt5-validation-imx" (4.14-sumo).&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did some functional checks, but I noticed that bluetoothctl returns&amp;nbsp;"&lt;SPAN style="color: #000000; background-color: #f6f6f6;"&gt;No default controller available&lt;/SPAN&gt;".&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@imx8mmevk:~# bluetoothctl&lt;BR /&gt;Agent registered&lt;BR /&gt;[bluetooth]# devices&lt;BR /&gt;No default controller available&lt;BR /&gt;[bluetooth]# scan on&lt;BR /&gt;No default controller available&lt;BR /&gt;[bluetooth]# power on&lt;BR /&gt;No default controller available&lt;BR /&gt;[bluetooth]# version&lt;BR /&gt;Version 5.49&lt;BR /&gt;[bluetooth]# quit&lt;BR /&gt;root@imx8mmevk:~#&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think that some settings are missing, &lt;STRONG&gt;does anyone know correct settings?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-- more information --&lt;/P&gt;&lt;P&gt;I checked dmseg, The HCI manager looks fine, but hciconfig can not find the device.&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@imx8mmevk:~# dmesg | grep "Bluetooth"&lt;BR /&gt;[ 0.874063] Bluetooth: Core ver 2.22&lt;BR /&gt;[ 0.881586] Bluetooth: HCI device and connection manager initialized&lt;BR /&gt;[ 0.887969] Bluetooth: HCI socket layer initialized&lt;BR /&gt;[ 0.892866] Bluetooth: L2CAP socket layer initialized&lt;BR /&gt;[ 0.897954] Bluetooth: SCO socket layer initialized&lt;BR /&gt;[ 2.027685] Bluetooth: HCI UART driver ver 2.3&lt;BR /&gt;[ 2.032149] Bluetooth: HCI UART protocol H4 registered&lt;BR /&gt;[ 2.037297] Bluetooth: HCI UART protocol BCSP registered&lt;BR /&gt;[ 2.042617] Bluetooth: HCI UART protocol ATH3K registered&lt;BR /&gt;[ 2.048024] Bluetooth: HCI UART protocol Three-wire (H5) registered&lt;BR /&gt;[ 2.054441] Bluetooth: HCI UART protocol Broadcom registered&lt;BR /&gt;[ 2.060112] Bluetooth: HCI UART protocol QCA registered&lt;BR /&gt;[ 2.752373] Bluetooth: RFCOMM TTY layer initialized&lt;BR /&gt;[ 2.752385] Bluetooth: RFCOMM socket layer initialized&lt;BR /&gt;[ 2.752401] Bluetooth: RFCOMM ver 1.11&lt;BR /&gt;[ 2.752407] Bluetooth: BNEP (Ethernet Emulation) ver 1.3&lt;BR /&gt;[ 2.752410] Bluetooth: BNEP filters: protocol multicast&lt;BR /&gt;[ 2.752415] Bluetooth: BNEP socket layer initialized&lt;BR /&gt;[ 2.752418] Bluetooth: HIDP (Human Interface Emulation) ver 1.2&lt;BR /&gt;[ 2.752423] Bluetooth: HIDP socket layer initialized&lt;BR /&gt;root@imx8mmevk:~# hciconfig&lt;BR /&gt;root@imx8mmevk:~# hci&lt;BR /&gt;hciattach hcidump hcisecfilter&lt;BR /&gt;hciconfig hcieventmask hcitool&lt;BR /&gt;root@imx8mmevk:~# sudo hciconfig hci0 up&lt;BR /&gt;Can't get device info: No such device&lt;BR /&gt;root@imx8mmevk:~#&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;----&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;T.Kashiwagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Apr 2019 08:12:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899509#M135717</guid>
      <dc:creator>Takashi_Kashiwagi</dc:creator>
      <dc:date>2019-04-17T08:12:45Z</dc:date>
    </item>
    <item>
      <title>Re:  bluetoothctl is not working with 8MMINILPD4-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899510#M135718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got reply for the imx8M board, maybe you can refer to it:&lt;/P&gt;&lt;P&gt;"To use the Bluetooth, try setting up the ttymxc2 device with the below command:&lt;/P&gt;&lt;P&gt;hciattach /dev/ttymxc2 qca&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After that, use the hcitool&amp;nbsp;Linux tool to set up the Bluetooth connection between two devices."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Apr 2019 09:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899510#M135718</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2019-04-18T09:27:21Z</dc:date>
    </item>
    <item>
      <title>Re:  bluetoothctl is not working with 8MMINILPD4-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899511#M135719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for responding!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I executed "hciattach /dev/ttymxc0 qca", and "Device setup complete" was printed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also bluetoothctl worked. Thank you for your advise!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;root@imx8mmevk:~# hciconfig&lt;BR /&gt;hci0: Type: Primary Bus: UART&lt;BR /&gt; BD Address: 61:47:AA:32:44:06 ACL MTU: 1024:7 SCO MTU: 60:8&lt;BR /&gt; UP RUNNING&lt;BR /&gt; RX bytes:781 acl:0 sco:0 events:50 errors:0&lt;BR /&gt; TX bytes:2472 acl:0 sco:0 commands:50 errors:0&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:root@imx8mmevk:~"&gt;root@imx8mmevk:~#&lt;/A&gt;&lt;/P&gt;&lt;P&gt;root@imx8mmevk:~# bluetoothctl&lt;BR /&gt;Agent registered&lt;BR /&gt;[bluetooth]# scan on&lt;BR /&gt;Discovery started&lt;BR /&gt;[CHG] Controller 61:47:AA:32:44:06 Discovering: yes&lt;/P&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;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;T.kashiwagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Apr 2019 00:30:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899511#M135719</guid>
      <dc:creator>Takashi_Kashiwagi</dc:creator>
      <dc:date>2019-04-19T00:30:20Z</dc:date>
    </item>
    <item>
      <title>Re:  bluetoothctl is not working with 8MMINILPD4-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899512#M135720</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;&lt;SPAN style="color: #000000;"&gt;I am facing the same issues with my IMX8M Mini board. I have tried doing everything on this thread, one thing i am not able to do, is using&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN style="color: #000000;"&gt;hciattach command. I suspect i am doing something wrong. Since i am very new to this, can someone please elaborate on using the&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN style="color: #000000;"&gt;hciattach command to turn bluetooth ON?&amp;nbsp;I get the following error when i try to run the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;hciattach command.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;evk_8mm:/ #&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;evk_8mm:/ # hciattach&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;/system/bin/sh: hciattach: not found&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;127|evk_8mm:/ # hciattach /dev/ttymxc2 qca&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;/system/bin/sh: hciattach: not found&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #000000;"&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;Abdu&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Aug 2019 14:17:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899512#M135720</guid>
      <dc:creator>abdu1</dc:creator>
      <dc:date>2019-08-09T14:17:35Z</dc:date>
    </item>
    <item>
      <title>Re:  bluetoothctl is not working with 8MMINILPD4-EVK</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899513#M135721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abdu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think “hciattach” is a BlueZ command. Looking at the contents of the error, it seems that there is no “hciattach”.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please&amp;nbsp;Make sure BlueZ is included when you bitbake.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14px;"&gt;T.kashiwagi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Aug 2019 14:02:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/bluetoothctl-is-not-working-with-8MMINILPD4-EVK/m-p/899513#M135721</guid>
      <dc:creator>Takashi_Kashiwagi</dc:creator>
      <dc:date>2019-08-11T14:02:49Z</dc:date>
    </item>
  </channel>
</rss>

