<?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 Cannot connect to BT HID devices in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-connect-to-BT-HID-devices/m-p/308129#M39848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Android 4.2.2 on a imx6q board, and the BT chipset is from TiWi (wl1271)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can pair/connect via bluetooth to phone, computer, tablet, speaker, etc, no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for HID devices like keyboard or mouse, pairing works, but it cannot connect, I have this logcat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/BluetoothInputDevice( 2913): connect(00:07:61:D8:A0:C0)&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;W/bt-btif ( 3131): btif_hh_upstreams_evt: BTA_HH_OPN_EVT: handle=0, status =6&lt;/P&gt;&lt;P&gt;D/HidService( 3131): Connection state 00:07:61:D8:A0:C0: 0-&amp;gt;1&lt;/P&gt;&lt;P&gt;W/HidService( 3131): no state change: 1&lt;/P&gt;&lt;P&gt;D/HidService( 3131): Connection state 00:07:61:D8:A0:C0: 1-&amp;gt;0&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;W/audio_hw_primary( 2369): card 1, port 0 device 0x2&lt;/P&gt;&lt;P&gt;W/audio_hw_primary( 2369): rate 44100, channel 2 period_size 0x300&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterProperties( 3131): CONNECTION_STATE_CHANGE: 00:07:61:D8:A0:C0: 0 -&amp;gt; 1&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/CachedBluetoothDevice( 2913): Command sent successfully:CONNECT Address:00:07:61:D8:A0:C0 Profile:HID&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterProperties( 3131): CONNECTION_STATE_CHANGE: 00:07:61:D8:A0:C0: 1 -&amp;gt; 0&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): Get Bonded Devices being called&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): Get Bonded Devices being called&lt;/P&gt;&lt;P&gt;D/CachedBluetoothDevice( 2913): onProfileStateChanged: profile HID newProfileState 1&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I/LocalBluetoothProfileManager( 2913): Failed to connect HID device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;D/CachedBluetoothDevice( 2913): onProfileStateChanged: profile HID newProfileState 0&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried 3 mice, none of them works with my board, but they all works with my phone/pc, so it is a software/config problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any clues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Apr 2014 17:47:22 GMT</pubDate>
    <dc:creator>frédéric</dc:creator>
    <dc:date>2014-04-01T17:47:22Z</dc:date>
    <item>
      <title>Cannot connect to BT HID devices</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Cannot-connect-to-BT-HID-devices/m-p/308129#M39848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Android 4.2.2 on a imx6q board, and the BT chipset is from TiWi (wl1271)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can pair/connect via bluetooth to phone, computer, tablet, speaker, etc, no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But for HID devices like keyboard or mouse, pairing works, but it cannot connect, I have this logcat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/BluetoothInputDevice( 2913): connect(00:07:61:D8:A0:C0)&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;W/bt-btif ( 3131): btif_hh_upstreams_evt: BTA_HH_OPN_EVT: handle=0, status =6&lt;/P&gt;&lt;P&gt;D/HidService( 3131): Connection state 00:07:61:D8:A0:C0: 0-&amp;gt;1&lt;/P&gt;&lt;P&gt;W/HidService( 3131): no state change: 1&lt;/P&gt;&lt;P&gt;D/HidService( 3131): Connection state 00:07:61:D8:A0:C0: 1-&amp;gt;0&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;W/audio_hw_primary( 2369): card 1, port 0 device 0x2&lt;/P&gt;&lt;P&gt;W/audio_hw_primary( 2369): rate 44100, channel 2 period_size 0x300&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterProperties( 3131): CONNECTION_STATE_CHANGE: 00:07:61:D8:A0:C0: 0 -&amp;gt; 1&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/CachedBluetoothDevice( 2913): Command sent successfully:CONNECT Address:00:07:61:D8:A0:C0 Profile:HID&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterProperties( 3131): CONNECTION_STATE_CHANGE: 00:07:61:D8:A0:C0: 1 -&amp;gt; 0&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): Get Bonded Devices being called&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): Get Bonded Devices being called&lt;/P&gt;&lt;P&gt;D/CachedBluetoothDevice( 2913): onProfileStateChanged: profile HID newProfileState 1&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I/LocalBluetoothProfileManager( 2913): Failed to connect HID device&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;D/CachedBluetoothDevice( 2913): onProfileStateChanged: profile HID newProfileState 0&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;D/BluetoothAdapterService(1098262784)( 3131): getState(): mAdapterProperties: com.android.bluetooth.btservice.AdapterProperties@41764228&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried 3 mice, none of them works with my board, but they all works with my phone/pc, so it is a software/config problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any clues?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Apr 2014 17:47:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Cannot-connect-to-BT-HID-devices/m-p/308129#M39848</guid>
      <dc:creator>frédéric</dc:creator>
      <dc:date>2014-04-01T17:47:22Z</dc:date>
    </item>
  </channel>
</rss>

