summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbase_product/picoimx.mk1
-rw-r--r--sepolicy/file_contexts3
-rw-r--r--ueventd.freescale.rc3
3 files changed, 6 insertions, 1 deletions
diff --git a/base_product/picoimx.mk b/base_product/picoimx.mk
index e9f92b8..0428242 100755
--- a/base_product/picoimx.mk
+++ b/base_product/picoimx.mk
@@ -28,6 +28,7 @@ PRODUCT_DEVICE := picoimx
# Call vendor's peripheral mk.
include hardware/bsp/freescale/peripheral/wifi/bcm4339/peripheral.mk
+include hardware/bsp/freescale/peripheral/bluetooth/bcm4339/peripheral.mk
PRODUCT_PACKAGES += keystore.default
PRODUCT_PACKAGES += bootctrl.imx6ul
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 1c29f2e..f247685 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -8,3 +8,6 @@
/dev/block/mmcblk0p7 u:object_r:boot_block_device:s0
/dev/block/mmcblk0p5 u:object_r:system_block_device:s0
/dev/block/mmcblk0p8 u:object_r:system_block_device:s0
+/dev/ttymxc4 u:object_r:bluetoothtbd_device:s0
+/sys/devices/soc0/bt_rfkill.19/rfkill/rfkill0/state u:object_r:sysfs_bluetoothtbd_writable:s0
+/sys/devices/soc0/bt_rfkill.19/rfkill/rfkill0/type u:object_r:sysfs_bluetoothtbd_readable:s0
diff --git a/ueventd.freescale.rc b/ueventd.freescale.rc
index 967e40a..237d7bf 100644
--- a/ueventd.freescale.rc
+++ b/ueventd.freescale.rc
@@ -15,7 +15,8 @@
#
/dev/pmem_gpu 0660 system graphics
-/dev/ttymxc5 0660 bluetooth bluetooth
+/dev/ttymxc4 0660 bluetooth net_bt_stack
+/dev/rfkill 0660 bluetooth bluetooth
/dev/snd/* 0660 system audio
/dev/ttyUSB* 0640 radio radio
/dev/ttyACM* 0640 radio radio