Skip to content

Commit

Permalink
RIL and modem IPC enablers.
Browse files Browse the repository at this point in the history
Change-Id: I0988685c7bf7a61c4c7755e8456fee57aca3847e
  • Loading branch information
Kazuhiro Ondo authored and colincross committed Jul 23, 2010
1 parent 2614538 commit aab375b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions init.stingray.rc
Expand Up @@ -20,6 +20,18 @@ on boot
export EXTERNAL_STORAGE /data/media
mkdir /data/media 0775 system sdcard_rw

# modem
chown radio radio /dev/ttyUSB0
chmod 0640 /dev/ttyUSB0
chown radio radio /dev/ttyUSB1
chmod 0640 /dev/ttyUSB1
chown radio radio /dev/ttyUSB2
chmod 0640 /dev/ttyUSB2
chown radio radio /dev/ttyUSB3
chmod 0640 /dev/ttyUSB3
chown radio radio /dev/ttyUSB4
chmod 0640 /dev/ttyUSB4

# bluetooth
# power up/down interface
chown bluetooth bluetooth /sys/class/rfkill/rfkill0/type
Expand Down
11 changes: 11 additions & 0 deletions system.prop
@@ -1,2 +1,13 @@
# This is a large screen device with more memory, so larger vm heaps for it.
dalvik.vm.heapsize=32m

# RIL and telephony related settings
rild.libargs=-d /dev/chnlat10
rild.libpath=/system/lib/libmoto_ril.so
persist.ril.mux.ttydevice=/dev/ttyUSB2
persist.ril.mux.noofchannels=8
persist.ril.modem.mode=1
ro.cdma.home.operator.numeric=31020
persist.ril.modem.ttydevice=/dev/ttyUSB4
ro.telephony.default_network=4

0 comments on commit aab375b

Please sign in to comment.