Merge "bt: set rfkill device nodes permission setting on early_boot stage" into udc-dev am: c82d19ff5b
Original change: https://googleplex-android-review.googlesource.com/c/device/google/zuma/+/22503964 Change-Id: I51dc057a3cd153f6cac9e86e02809f3f85031623 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
260f4ee680
1 changed files with 3 additions and 1 deletions
|
@ -894,10 +894,12 @@ on property:ro.build.fingerprint=*
|
||||||
write /sys/module/debug_kinfo/parameters/build_info ${ro.build.fingerprint}
|
write /sys/module/debug_kinfo/parameters/build_info ${ro.build.fingerprint}
|
||||||
|
|
||||||
# Bluetooth
|
# Bluetooth
|
||||||
on post-fs-data
|
on early-boot
|
||||||
chown bluetooth system /sys/devices/platform/175b0000.serial/serial0/serial0-0/bluetooth/hci0/rfkill0/state
|
chown bluetooth system /sys/devices/platform/175b0000.serial/serial0/serial0-0/bluetooth/hci0/rfkill0/state
|
||||||
chown bluetooth system /sys/devices/platform/odm/odm:btbcm/rfkill/rfkill0/state
|
chown bluetooth system /sys/devices/platform/odm/odm:btbcm/rfkill/rfkill0/state
|
||||||
chown bluetooth system /sys/devices/platform/odm/odm:btbcm/rfkill/rfkill2/state
|
chown bluetooth system /sys/devices/platform/odm/odm:btbcm/rfkill/rfkill2/state
|
||||||
|
|
||||||
|
on post-fs-data
|
||||||
chown bluetooth system /proc/bluetooth/sleep/btwake
|
chown bluetooth system /proc/bluetooth/sleep/btwake
|
||||||
chown bluetooth system /proc/bluetooth/sleep/lpm
|
chown bluetooth system /proc/bluetooth/sleep/lpm
|
||||||
chown bluetooth system /proc/bluetooth/sleep/btwrite
|
chown bluetooth system /proc/bluetooth/sleep/btwrite
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue