include mic_level initscript
This commit is contained in:
parent
faedc5f62c
commit
0ec3a6e7f8
1
leo.mk
1
leo.mk
@ -101,6 +101,7 @@ PRODUCT_COPY_FILES += \
|
||||
# This file is used to install the enable RMNET and corresponding modules which dont get activated by normal module script, mount cache so that downloads work correctly
|
||||
PRODUCT_COPY_FILES += \
|
||||
device/htc/leo/prebuilt/init.d/01modules:system/etc/init.d/01modules \
|
||||
device/htc/leo/prebuilt/init.d/10mic_level:system/etc/init.d/10mic_level \
|
||||
device/htc/leo/prebuilt/init.d/97ppp:system/etc/init.d/97ppp
|
||||
|
||||
# Sensors
|
||||
|
17
prebuilt/init.d/10mic_level
Executable file
17
prebuilt/init.d/10mic_level
Executable file
@ -0,0 +1,17 @@
|
||||
#!/system/bin/sh
|
||||
#Usage: echo 'device_id level' > /proc/mic_level
|
||||
#Level range: 0-1000; -1 use level from acdb
|
||||
#Current levels (device_id):
|
||||
|
||||
echo '0 400' > /proc/mic_level
|
||||
echo '1 600' > /proc/mic_level
|
||||
echo '2 800' > /proc/mic_level
|
||||
echo '3 800' > /proc/mic_level
|
||||
echo '4 800' > /proc/mic_level
|
||||
|
||||
#Current levels (device_id):
|
||||
#HANDSET (0): 400
|
||||
#SPKR_PHONE (1): 600
|
||||
#HEADSET (2): 800
|
||||
#TTY_HEADSET (3): 800
|
||||
#BT_SCO (4): 800
|
Loading…
Reference in New Issue
Block a user