From 321f656a64b7c9816be66c1ee8bd76946450ff17 Mon Sep 17 00:00:00 2001 From: Srinivasa Rao Uppala Date: Tue, 7 Aug 2012 18:51:34 +0530 Subject: [PATCH] init: qcom: Move the smd7 permission settings to ueventd.qcom.rc Observed a crash during boot with smd7 permission settings in the init.qcom.rc file. Move the permission settings to ueventd.qcom.rc file, as the permissions to all other ports are specified in uevetd.qcom.rc.Bluetooh DUN requires the access to smd7 Change-Id: If8d49953cdc3c4bf3747fe5ee468160505a2fc2e --- rootdir/etc/init.qcom.rc | 3 --- rootdir/etc/ueventd.qcom.rc | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index bf1a9294..7130e170 100755 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -89,9 +89,6 @@ on boot #Remove SUID bit for iproute2 ip tool chmod 0755 /system/bin/ip - #BT DUN port-bridge -# chmod 0660 /dev/smd7 -# chown bluetooth bluetooth /dev/smd7 chmod 0444 /sys/devices/platform/msm_hsusb/gadget/usb_state diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 8cb8644b..2d052b54 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -37,7 +37,8 @@ /dev/rtc0 0600 system system /dev/smd0 0660 system system /dev/smd4 0660 system system -/dev/smd7 0640 radio radio +/dev/smd7 0660 bluetooth bluetooth +/dev/rfcomm0 0660 bluetooth bluetooth /dev/smdcntl0 0640 radio radio /dev/smdcntl1 0640 radio radio /dev/smdcntl2 0640 radio radio @@ -87,7 +88,6 @@ /dev/msm_amrnb_in 0640 system audio /dev/smd3 0660 bluetooth bluetooth /dev/smd2 0660 bluetooth bluetooth -/dev/rfcomm0 0660 bluetooth bluetooth /dev/ttyHSL1 0660 system system /dev/mdm 0660 system system /sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio