gts3l: adsprpcd: Try to import previous settings but it doesn't work
Keep it exists because it is not harmful Signed-off-by: Deokgyu Yang <secugyu@gmail.com> Change-Id: I919ea9ff8480d017e2958f53d82f3715420a7964
This commit is contained in:
parent
d34c631c9f
commit
296ac19157
5 changed files with 8 additions and 11 deletions
|
@ -63,6 +63,7 @@ on early-boot
|
||||||
# set RLIMIT_MEMLOCK to 64MB
|
# set RLIMIT_MEMLOCK to 64MB
|
||||||
setrlimit 8 67108864 67108864
|
setrlimit 8 67108864 67108864
|
||||||
# Allow subsystem (modem etc) debugging
|
# Allow subsystem (modem etc) debugging
|
||||||
|
chown root audio /sys/kernel/boot_adsp/boot
|
||||||
write /sys/kernel/boot_adsp/boot 1
|
write /sys/kernel/boot_adsp/boot 1
|
||||||
write /sys/kernel/boot_cdsp/boot 1
|
write /sys/kernel/boot_cdsp/boot 1
|
||||||
write /sys/kernel/boot_slpi/boot 1
|
write /sys/kernel/boot_slpi/boot 1
|
||||||
|
|
|
@ -319,21 +319,11 @@ service thermal-engine /vendor/bin/thermal-engine
|
||||||
# group media
|
# group media
|
||||||
#
|
#
|
||||||
|
|
||||||
service adsprpcd /vendor/bin/adsprpcd rootpd
|
service adsprpcd /vendor/bin/adsprpcd
|
||||||
class main
|
|
||||||
user system
|
|
||||||
group system
|
|
||||||
|
|
||||||
service adsprpcd_audiopd /vendor/bin/adsprpcd audiopd
|
|
||||||
class main
|
class main
|
||||||
user media
|
user media
|
||||||
group media
|
group media
|
||||||
|
|
||||||
service adsprpcd_sensorspd /vendor/bin/adsprpcd sensorspd
|
|
||||||
class core
|
|
||||||
user system
|
|
||||||
group system
|
|
||||||
|
|
||||||
#service audiod /system/vendor/bin/audiod
|
#service audiod /system/vendor/bin/audiod
|
||||||
# class late_start
|
# class late_start
|
||||||
# user system
|
# user system
|
||||||
|
|
|
@ -4,3 +4,7 @@ allow adsprpcd mnt_vendor_file:file create_file_perms;
|
||||||
allow adsprpcd sysfs_sensors:dir r_dir_perms;
|
allow adsprpcd sysfs_sensors:dir r_dir_perms;
|
||||||
allow adsprpcd sysfs_sensors:file r_file_perms;
|
allow adsprpcd sysfs_sensors:file r_file_perms;
|
||||||
allow adsprpcd sysfs_sensors:lnk_file r_file_perms;
|
allow adsprpcd sysfs_sensors:lnk_file r_file_perms;
|
||||||
|
|
||||||
|
allow adsprpcd dsp_file:dir r_dir_perms;
|
||||||
|
allow adsprpcd dsp_file:file r_file_perms;
|
||||||
|
allow adsprpcd unlabeled:file { getattr open read };
|
||||||
|
|
|
@ -52,3 +52,4 @@ type sysfs_lcd_writable, fs_type, sysfs_type;
|
||||||
type sysfs_mdnie_writable, fs_type, sysfs_type;
|
type sysfs_mdnie_writable, fs_type, sysfs_type;
|
||||||
type sysfs_tsp, fs_type, sysfs_type;
|
type sysfs_tsp, fs_type, sysfs_type;
|
||||||
type sysfs_wifi, fs_type, sysfs_type;
|
type sysfs_wifi, fs_type, sysfs_type;
|
||||||
|
type dsp_file, fs_type, contextmount_type;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
allow init efs_file:dir mounton;
|
allow init efs_file:dir mounton;
|
||||||
allow init omr_file:dir mounton;
|
allow init omr_file:dir mounton;
|
||||||
allow init vendor_firmware_file:file mounton;
|
allow init vendor_firmware_file:file mounton;
|
||||||
|
allow init dsp_file:dir mounton;
|
||||||
|
|
||||||
allow init socket_device:sock_file create;
|
allow init socket_device:sock_file create;
|
||||||
|
|
Loading…
Reference in a new issue