From a72db27a3c4b01ec4084be8f3dab837c24d8fa16 Mon Sep 17 00:00:00 2001 From: "minjie.yu" Date: Fri, 14 Jul 2023 19:25:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E5=A4=8Drfkill=20state=E6=9D=83?= =?UTF-8?q?=E9=99=90=E9=97=AE=E9=A2=98=EF=BC=8C=E8=A7=A3=E5=86=B3=E8=93=9D?= =?UTF-8?q?=E7=89=99=E4=B8=8D=E8=83=BD=E6=AD=A3=E5=B8=B8=E5=BC=80=E5=90=AF?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cfg/rootfs/init.rk3588s.cfg | 9 +++++++-- ohos.build | 4 +++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/cfg/rootfs/init.rk3588s.cfg b/cfg/rootfs/init.rk3588s.cfg index 2290696..191042f 100755 --- a/cfg/rootfs/init.rk3588s.cfg +++ b/cfg/rootfs/init.rk3588s.cfg @@ -13,7 +13,7 @@ "write /proc/1/oom_score_adj -1000", "mount debugfs /sys/kernel/debug /sys/kernel/debug mode=755", "write /sys/kernel/debug/hisi_inno_phy/role peripheral", - "write /proc/sys/kernel/hung_task_timeout_secs 90", + "write /proc/sys/kernel/hung_task_timeout_secs 90", "write /sys/kernel/hungtask/enable on", "write /sys/kernel/hungtask/monitorlist whitelist,init,appspawn", "chown system system /sys/kernel/hungtask/userlist", @@ -49,7 +49,12 @@ "name" : "boot", "cmds" : [ "chmod 777 /dev/ttyAMA2", - "chmod 775 /sys/class/rfkill/rfkill0/state", + "chmod 0666 /dev/ttyS9", + "chmod 0666 /dev/rfkill", + "chmod 0666 /dev/video0", + "chmod 0666 /dev/video1", + "chmod 0666 /sys/class/rfkill/rfkill0/state", + "chown blue_host blue_host /sys/class/rfkill/rfkill0/state", "chmod 777 /dev/rtkbt_dev", "chmod 0440 /proc/interrupts", "chmod 0440 /proc/stat", diff --git a/ohos.build b/ohos.build index 9c1d627..b2f784b 100755 --- a/ohos.build +++ b/ohos.build @@ -3,7 +3,9 @@ "parts": { "rockchip_products": { "module_list": [ - "//device/board/opintelink/${product_name}:rk3588s_group" + "//device/board/opintelink/${product_name}:rk3588s_group", + "//vendor/opintelink/${product_name}/bluetooth:libbt_vendor", + "//vendor/opintelink/${product_name}/bluetooth:BCM4362A2.hcd" ] } } -- Gitee