From c2e1e46e2b7f841d9ce201efb22c5e6bf1612ab5 Mon Sep 17 00:00:00 2001 From: jonerlin Date: Wed, 12 May 2021 09:43:47 +0800 Subject: [PATCH] bthal: Bluetooth owns its logbuffer device nodes This changes the owner of specific logbuffer device node dev/logbuffer_btlpm and dev/logbuffer_tty16 to Bluetooth, so Bluetooth HAL is able to access them in userdebug rom Bug: 177794127 Test: Manually Test Change-Id: I17db3e3b8df521946d4358d191695c09ac2c2c3a --- conf/init.debug.rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/init.debug.rc b/conf/init.debug.rc index bfa54ace..49b19219 100644 --- a/conf/init.debug.rc +++ b/conf/init.debug.rc @@ -10,3 +10,7 @@ on property:power.battery_input.suspended=true on property:power.battery_input.suspended=false write /sys/kernel/debug/google_charger/input_suspend 0 +# Bluetooth +on post-fs-data + chown bluetooth system /dev/logbuffer_btlpm + chown bluetooth system /dev/logbuffer_tty16