diff options
author | Haoran Wang <Haoran.Wang@freescale.com> | 2016-02-19 12:26:11 +0800 |
---|---|---|
committer | Leo Wang <leozwang@google.com> | 2016-02-25 17:26:27 +0000 |
commit | 815ae5815f64a5852b3d66b94ef151ae936aaf94 (patch) | |
tree | ec9251fe96afc42230c6ea9775646d5b799a5302 | |
parent | 0b2e23d18029f59db3e02341fe2e227512e0f69c (diff) | |
download | picoimx-815ae5815f64a5852b3d66b94ef151ae936aaf94.tar.gz |
Enable BCM4339 Bluetooth for Picoimx
Change the permission for Bluetooth UART and rfkill.
Change-Id: Ib4b527793812216a889836aea361cc0a3362291a
Signed-off-by: Haoran Wang <Haoran.Wang@freescale.com>
-rwxr-xr-x | base_product/picoimx.mk | 1 | ||||
-rw-r--r-- | sepolicy/file_contexts | 3 | ||||
-rw-r--r-- | ueventd.freescale.rc | 3 |
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 |