bluetooth pair / connect fails if agl-appfw-smack is specified
Description
Environment
blowfish 2.0.2 based build on porter or qemux86 (configured by using aglsetup.sh)
Attachments
4
100% Done
is blocked by
relates to
Activity
Show:
Fixed
Details
Details
Assignee

Reporter

Fix versions
Labels
Priority
Created October 18, 2016 at 9:35 AM
Updated April 24, 2017 at 11:21 AM
Resolved December 5, 2016 at 9:00 PM
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
agent KeyboardDisplay
default-agent
power on
scan on
scan off
devices
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)