Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-293

bluetooth pair / connect fails if agl-appfw-smack is specified

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Blowfish 2.0.4
    • None
    • None
    • blowfish 2.0.2 based build on porter or qemux86 (configured by using aglsetup.sh)

      Bluetooth pairing fails if SMACK is enabled

      blowfish 2.0.2 based build, build configuration set by

      > aglsetup.sh -f -m porter (or qemux86) agl-devel agl-demo agl-appfw-smak

      The board is attached with USB hub with USB-BT dongle.
      The build is enabled with bluez5.

      i) rfkill unblock 0
      ii) hciconfig hci0 on piscan
      ii) bluetoothctl

      1. agent KeyboardDisplay
      2. default-agent
      3. power on
      4. scan on
      5. scan off
      6. devices
      7. pair XX:XX:XX:XX:XX:XX

      But piar command fails.

      If I look into /var/lib, the 'bluetooth' directory is not there.
      (This is where bluez keeps adapter information for each MAC address as subdirectory name)

      If I remove agl-appfw-smak from the aglsetup.sh command line, this issue does not happen and pairing / connection succeeds.

      Attached are the syslog fro this

      bt_ng.txt : NG case (SMACK on, on porter)
      bt_ok.txt : OK case (SMACK off, on sabre-ai)

        1. bt_ok.txt
          14 kB
        2. bt_ng.txt
          15 kB
        3. bt_connect_fail.txt.log
          32 kB
        4. bluetoothlog_masterimage.log
          9 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jobol Jose Bollo (Inactive)
            tmatsuzawa Takashi Matsuzawa
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: