blob: 59a0f29b6648d0b1e616fa492e2ceef3f6cec66a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Originally device/intel/brightonpier/vm300/config/init.avc.rc
on init
# Property set by AudioHAL to expose the routing status of VTSV use case to VTSV HAL
setprop AudioComms.vtsv.routed false
# atomisp driver depends on these modules. So load these on init. atomisp
# driver is loaded from "on charger" trigger as well from init.common.rc
insmod /lib/modules/videobuf-core.ko
insmod /lib/modules/videobuf-vmalloc.ko
#audio setup delay - FW Init and first render time in ms
setprop lpa.audiosetup.time 80
# Temporary until ZSL works. Odd that Google specified this as a
# property and not HAL output...
setprop camera.disable_zsl_mode 1
on post-fs
# Give system access rights to vibrator
chown system system /sys/devices/pci0000:00/0000:00:17.0/vibrator
chown system system /sys/devices/pci0000:00/0000:00:17.0/pwm_baseunit
chown system system /sys/devices/pci0000:00/0000:00:17.0/pwm_ontime_div
# Insert camera modules
insmod /lib/modules/libmsrlisthelper.ko
insmod /lib/modules/imx1x5.ko
insmod /lib/modules/lm3559.ko
# Defer loading modules that may require firmware till fs is ready
insmod /lib/modules/atomisp-css2400b0_v21.ko dypool_enable=y repool_pgnr=36864 dypool_pgnr=18432
on property:ro.build.type=userdebug
# Audio NVM is writable for media process only
mkdir /factory/aud_nvm
chown media system /factory/aud_nvm
chmod 0700 /factory/aud_nvm
on property:ro.build.type=eng
# Audio NVM is writable for media process only
mkdir /factory/aud_nvm
chown media system /factory/aud_nvm
chmod 0700 /factory/aud_nvm
|