ubuntu-phone team mailing list archive
-
ubuntu-phone team
-
Mailing list archive
-
Message #05174
Re: [DEVELOPMENT][XT907] GSM Enabling?
On 11/17/2013 08:09 PM, Eamon Cusic, Jr wrote:
Hello all,
I'm trying to get GSM/Mobile data to work for this port as its a crucial
feature. I have no idea where to start. I have the source code for the
port available and I have an XT907 to test with, of course. In case this
isn't exactly what I need to do, my goal is to get SMS/Calling working.
All help is greatly appreciated.
Eamon -
Is your port using the new container model ( ie. Android bits running in
lxc container )?
The first thing you need to do with respect to getting telephony working
is determine whether or not ofono can communicate with rild.
So, you should first verify that rild is running on your device. Next
you want to verify that ofono is running and that it can communicate
with rild.
On a device where ofono *can* talk to rild, you should see the following
log message right after ofono starts up:
Nov 19 01:18:05 ubuntu-phablet ofonod[24194]: [UNSOL]< UNSOL_RIL_CONNECTED
Note, it's also useful when trying to debug ofono/rild problems, to run
ofono in the foreground as opposed to in normal daemon mode. Stop ofono
by runnnig:
# stop ofono
...and then run ofono in the foreground as follows:
# ofonod -n -d -p ril,rilmodem
"-n" tells ofono to run in the foreground.
"-d" tells ofono to use debug logging ( warning this generates a *lot*
of output )
"-p" tells ofono to load the specificed plugins
Once you've verified that ofono can talk to rild, the ofono-scripts are
your next resource, especially 'list-modems'. These can be found in the
direcory /usr/share/ofono/scripts.
Hope this helps!
Regards,
/tony
Follow ups
References