klte-common: Move change of ownership of ES705 UART later
* Samsung loads the firmware through the front door. Pie init runs faster than previously, so we need to wait to change the ownership until some point later, after the firmware has time to load, else the load gets blocked by a dac_override. Change-Id: I37be9e22b49735388ce1f5b922132dbfd20e2dc3
This commit is contained in:
parent
1075fc17bb
commit
06b36697e1
1 changed files with 8 additions and 8 deletions
|
@ -279,14 +279,6 @@ on boot
|
|||
chown radio system /efs/bluetooth
|
||||
chmod 0775 /efs/bluetooth
|
||||
|
||||
# Audience ES705 UART
|
||||
# Note: DO NOT move this to ueventd.qcom.rc. Samsung thoughtfully has
|
||||
# the kernel write directly to /dev/ttyHS3 (!) to load the audience
|
||||
# firmware. Setting ownership immediately with ueventd would require
|
||||
# allowing the kernel dac_override, which is an sepolicy neverallow.
|
||||
chmod 0660 /dev/ttyHS3
|
||||
chown media audio /dev/ttyHS3
|
||||
|
||||
#Create QMUX deamon socket area
|
||||
mkdir /dev/socket/qmux_radio 0770 radio radio
|
||||
chmod 2770 /dev/socket/qmux_radio
|
||||
|
@ -937,6 +929,14 @@ on property:wlan.driver.status=ok
|
|||
start macloader
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
# Audience ES705 UART
|
||||
# Note: DO NOT move this to ueventd.qcom.rc. Samsung thoughtfully has
|
||||
# the kernel write directly to /dev/ttyHS3 (!) to load the audience
|
||||
# firmware. Setting ownership immediately with ueventd would require
|
||||
# allowing the kernel dac_override, which is an sepolicy neverallow.
|
||||
chmod 0660 /dev/ttyHS3
|
||||
chown media audio /dev/ttyHS3
|
||||
|
||||
setprop sys.io.scheduler bfq
|
||||
|
||||
# Configure the hardware properly
|
||||
|
|
Loading…
Reference in a new issue