sm8550-common: init: Checkout to LA.VENDOR.13.2.0.r1-22400-KAILUA.QSSI14.0
Change-Id: I02932f3da7923dfc8b4fcdc04f98f89cbb610c69
This commit is contained in:
@@ -47,48 +47,64 @@ esac
|
|||||||
case "$baseband" in
|
case "$baseband" in
|
||||||
"msm" | "csfb" | "svlte2a" | "mdm" | "mdm2" | "sglte" | "sglte2" | "dsda2" | "unknown" | "dsda3" | "sdm" | "sdx" | "sm6")
|
"msm" | "csfb" | "svlte2a" | "mdm" | "mdm2" | "sglte" | "sglte2" | "dsda2" | "unknown" | "dsda3" | "sdm" | "sdx" | "sm6")
|
||||||
|
|
||||||
start vendor.qcrild
|
# start qcrild only for targets on which modem is present
|
||||||
|
# modemvalue 0x0 indicates Modem online
|
||||||
case "$baseband" in
|
# modemvalue 0x1 indicates Modem IP is not functional or disabled
|
||||||
"svlte2a" | "csfb")
|
# modemvalue 0x2 indicates Modem offline
|
||||||
start qmiproxy
|
modemvalue="0x0"
|
||||||
;;
|
if [ -f /sys/devices/soc0/modem ]; then
|
||||||
"sglte" | "sglte2" )
|
modemvalue=`cat /sys/devices/soc0/modem`
|
||||||
if [ "x$sgltecsfb" != "xtrue" ]; then
|
|
||||||
start qmiproxy
|
|
||||||
else
|
|
||||||
setprop persist.vendor.radio.voice.modem.index 0
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
multisim=`getprop persist.radio.multisim.config`
|
|
||||||
|
|
||||||
if [ "$multisim" = "dsds" ] || [ "$multisim" = "dsda" ]; then
|
|
||||||
start vendor.qcrild2
|
|
||||||
elif [ "$multisim" = "tsts" ]; then
|
|
||||||
start vendor.qcrild2
|
|
||||||
start vendor.qcrild3
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$datamode" in
|
if [ $modemvalue != "0x1" ] && [ $modemvalue != "0x2" ]; then
|
||||||
"tethered")
|
start vendor.qcrild
|
||||||
|
|
||||||
|
case "$baseband" in
|
||||||
|
"svlte2a" | "csfb")
|
||||||
|
start qmiproxy
|
||||||
|
;;
|
||||||
|
"sglte" | "sglte2" )
|
||||||
|
if [ "x$sgltecsfb" != "xtrue" ]; then
|
||||||
|
start qmiproxy
|
||||||
|
else
|
||||||
|
setprop persist.vendor.radio.voice.modem.index 0
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
multisim=`getprop persist.radio.multisim.config`
|
||||||
|
|
||||||
|
if [ "$multisim" = "dsds" ] || [ "$multisim" = "dsda" ]; then
|
||||||
|
start vendor.qcrild2
|
||||||
|
elif [ "$multisim" = "tsts" ]; then
|
||||||
|
start vendor.qcrild2
|
||||||
|
start vendor.qcrild3
|
||||||
|
fi
|
||||||
|
|
||||||
|
case "$datamode" in
|
||||||
|
"tethered")
|
||||||
# This daemon was also disabled in sm8450 as a qualcomm tethering interface.
|
# This daemon was also disabled in sm8450 as a qualcomm tethering interface.
|
||||||
# start vendor.dataqti
|
# start vendor.dataqti
|
||||||
if [ "$low_ram" != "true" ]; then
|
if [ "$low_ram" != "true" ]; then
|
||||||
start vendor.dataadpl
|
start vendor.dataadpl
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"concurrent")
|
"concurrent")
|
||||||
# This daemon was also disabled in sm8450 as a qualcomm tethering interface.
|
# This daemon was also disabled in sm8450 as a qualcomm tethering interface.
|
||||||
# start vendor.dataqti
|
# start vendor.dataqti
|
||||||
if [ "$low_ram" != "true" ]; then
|
if [ "$low_ram" != "true" ]; then
|
||||||
start vendor.dataadpl
|
start vendor.dataadpl
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
else
|
||||||
|
setprop ro.vendor.radio.noril yes
|
||||||
|
stop vendor.qcrild
|
||||||
|
stop vendor.qcrild2
|
||||||
|
stop vendor.qcrild3
|
||||||
|
fi
|
||||||
esac
|
esac
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@@ -856,6 +856,7 @@ function start_hbtp()
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
case "$target" in
|
case "$target" in
|
||||||
"kalama")
|
"kalama")
|
||||||
if [ -f /sys/devices/soc0/chip_family ]; then
|
if [ -f /sys/devices/soc0/chip_family ]; then
|
||||||
@@ -884,6 +885,34 @@ case "$target" in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
case "$target" in
|
||||||
|
"crow")
|
||||||
|
if [ -f /sys/devices/soc0/chip_family ]; then
|
||||||
|
chip_family_id=`cat /sys/devices/soc0/chip_family`
|
||||||
|
else
|
||||||
|
chip_family_id=-1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "adsprpc : chip_family_id : $chip_faily_id" > /dev/kmsg
|
||||||
|
|
||||||
|
case "$chip_family_id" in
|
||||||
|
"0x92")
|
||||||
|
if [ -f /sys/devices/platform/soc/soc:qcom,msm_fastrpc/fastrpc_cdsp_status ]; then
|
||||||
|
fastrpc_cdsp_status=`cat /sys/devices/platform/soc/soc:qcom,msm_fastrpc/fastrpc_cdsp_status`
|
||||||
|
else
|
||||||
|
fastrpc_cdsp_status=-1
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "adsprpc : fastrpc_cdsp_status : $fastrpc_cdsp_status" > /dev/kmsg
|
||||||
|
|
||||||
|
if [ $fastrpc_cdsp_status -eq 0 ]; then
|
||||||
|
setprop vendor.fastrpc.disable.cdsprpcd.daemon 1
|
||||||
|
echo "adsprpc : Disabled cdsp daemon" > /dev/kmsg
|
||||||
|
fi
|
||||||
|
esac
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case "$target" in
|
case "$target" in
|
||||||
"msm7201a_ffa" | "msm7201a_surf" | "msm7627_ffa" | "msm7627_6x" | "msm7627a" | "msm7627_surf" | \
|
"msm7201a_ffa" | "msm7201a_surf" | "msm7627_ffa" | "msm7627_6x" | "msm7627a" | "msm7627_surf" | \
|
||||||
"qsd8250_surf" | "qsd8250_ffa" | "msm7630_surf" | "msm7630_1x" | "msm7630_fusion" | "qsd8650a_st1x")
|
"qsd8250_surf" | "qsd8250_ffa" | "msm7630_surf" | "msm7630_1x" | "msm7630_fusion" | "qsd8650a_st1x")
|
||||||
|
@@ -254,6 +254,7 @@ subsystem mem_buf_vm
|
|||||||
/sys/devices/platform/soc/1c00000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan*/queues/rx-* rps_cpus 0660 system system
|
/sys/devices/platform/soc/1c00000.qcom,pcie/pci0000:00/0000:00:00.0/0000:01:00.0/net/wlan*/queues/rx-* rps_cpus 0660 system system
|
||||||
/dev/spidev0.0 0660 system audio
|
/dev/spidev0.0 0660 system audio
|
||||||
/dev/i2c-7 0660 system audio
|
/dev/i2c-7 0660 system audio
|
||||||
|
/dev/msm_lsm_cdev 0660 system audio
|
||||||
/dev/msm_camera/* 0660 system camera
|
/dev/msm_camera/* 0660 system camera
|
||||||
/dev/gemini/ 0660 system camera
|
/dev/gemini/ 0660 system camera
|
||||||
/dev/mercury0 0660 system camera
|
/dev/mercury0 0660 system camera
|
||||||
|
Reference in New Issue
Block a user