blob: 6196c826a7e5a68e1f25af2cdbac5b8f37fbd39f (
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
|
service dbus /system/bin/dbus-daemon --system --nofork
class main
# radio:audio owner so that ofono, com.android.phone, and mediaserver (via libcsd-client.so) can all use it
# TODO lock down dbus.conf so that mediaserver can only touch the CSD parts
socket dbus stream 0660 radio audio
user radio
group radio
# TODO OFONO_QMI_DEBUG and maybe --debug shouldn't be on in production
# started after mdm9k-boot
service ofonod /system/bin/ofonod --nodetach --debug
disabled
user radio
group radio
setenv OFONO_GOBI_DEVICE /dev/cdc-wdm2
setenv OFONO_GOBI_IFACE wwan2
setenv OFONO_GOBI_SET_RAWIP _
setenv OFONO_QMI_DEBUG 1
# started after mdm9k-boot
service mdm9k-efsd /system/bin/logwrapper /system/bin/mdm9k-efsd
disabled
class core
user system
group radio
# TODO what if the modem needs to be booted again?
# TODO sleep is hacky. without a delay, ofonod comes up in "pre sim" mode. could be a bug on that side exacerbated by racy init.
service mdm9k-boot /system/bin/sh -c "logwrapper /system/bin/mdm9k-boot && start mdm9k-efsd && sleep 40 && start ofonod"
oneshot
class core
user system
group radio
|