From 8f18d5ef8ba27750a8b9b8e6567cd64084f4e6dd Mon Sep 17 00:00:00 2001 From: Vachounet Date: Fri, 17 May 2019 11:31:03 +0200 Subject: [PATCH] sanders: sync some config files with stock * OPS28.85-17-6-2 Change-Id: I028e209d41bff3dffe05107f249b7578b9d9dd6c Signed-off-by: ronaxdevil --- audio/audio_ext_spkr.conf | 12 +++++++---- audio/mixer_paths.xml | 40 +++++++++++++++++++++++++++++++++++++ rootdir/etc/ueventd.qcom.rc | 2 ++ 3 files changed, 50 insertions(+), 4 deletions(-) diff --git a/audio/audio_ext_spkr.conf b/audio/audio_ext_spkr.conf index 85d0a04..ae53a98 100644 --- a/audio/audio_ext_spkr.conf +++ b/audio/audio_ext_spkr.conf @@ -1,26 +1,30 @@ global_config { name Sanders - sonification_pad 20 + sonification_pad 21 sonification_prox_timeout_sec 5 + force_ring_ramp true } ring { #dB to attenuate playback to meet safety level at each volume step #16 steps total, 15...0. In case of truncated list, last attenuation #given will be applied to all lower volume steps - #attenuation 28,28,25,25,22,22,20,20,20,20,20,20,20,20,20,20 + attenuation 35,33,30,28,26,23,21,19,16,14,11,9,7,3,0,0 + knee_step 16 } voice { #dB to attenuate playback to meet safety level at each volume step #16 steps total, 15...0. In case of truncated list, last attenuation #given will be applied to all lower volume steps - #attenuation 35,35,32,32,29,29,26,26,23,23,20,20,17,17,14,14 + attenuation 32,29,29,26,26,23,23,20,20,17,17,14,14,11,11,11 + knee_step 16 } media { #dB to attenuate playback to meet safety level at each volume step #16 steps total, 15...0. In case of truncated list, last attenuation #given will be applied to all lower volume steps - #attenuation 38,36,34,32,30,28,26,24,22,20,18,16,14,12,10,8 + attenuation 35,33,30,28,26,23,21,19,16,14,11,9,7,3,0,0 + knee_step 16 } diff --git a/audio/mixer_paths.xml b/audio/mixer_paths.xml index 1ff999c..e10c444 100644 --- a/audio/mixer_paths.xml +++ b/audio/mixer_paths.xml @@ -263,6 +263,16 @@ + + + + + + + + + + @@ -299,6 +309,16 @@ + + + + + + + + + + @@ -339,6 +359,16 @@ + + + + + + + + + + @@ -380,6 +410,16 @@ + + + + + + + + + + diff --git a/rootdir/etc/ueventd.qcom.rc b/rootdir/etc/ueventd.qcom.rc index 2c1befd..2c91966 100644 --- a/rootdir/etc/ueventd.qcom.rc +++ b/rootdir/etc/ueventd.qcom.rc @@ -165,6 +165,7 @@ firmware_directories /vendor/firmware_mnt/image/ /dev/msm_vidc_dec_sec 0660 system audio /dev/msm_vidc_enc 0660 system audio /dev/msm_rotator 0660 system system +/dev/hw_random 0600 root root /dev/sdsprpc-smd 0660 system system #permissions for audio @@ -295,6 +296,7 @@ firmware_directories /vendor/firmware_mnt/image/ # wigig /sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/fst_link_loss 0660 wifi wifi /sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/thermal_throttling 0660 system system +/sys/bus/pci/drivers/wil6210* 0000:01:00.0/wil6210/snr_thresh 0660 wifi wifi /sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/queues/rx-0/rps_cpus 0660 system system /sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system /sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system