here's v4 of Huawei GPRS support. Lots of whitespace cleanup, a memory leak
fixed and a new function at_util_convert_signal_strength(). All based on
comments from Denis.
Kalle Valo (3):
huawei: add gprs context
Move report_signal_strength to atutil
huawei: detect possible secondary device
drivers/atmodem/atutil.h | 12 +++
drivers/atmodem/network-registration.c | 8 +-
plugins/huawei.c | 129 +++++++++++++++++++++++++++++---
plugins/udev.c | 61 +++++++++++++--
4 files changed, 186 insertions(+), 24 deletions(-)
I have been testing ofono with my Huawei E1552 usb stick, which is using
atmodem and PPP. I noticed that whenever I call test/deactivate-context
ofono either crashes or busyloops here in at_gprs_deactivate_primary():
if (g_at_chat_send(gcd->chat, buf, none_prefix,
at_cgact_down_cb, cbd, g_free) > 0)
Further investigation revealed that gcd->chat is already unreferenced in
So there's a conflict here. How to handle this properly? Calling
g_at_ppp_shutdown() is most likely not enough, because nobody is not
creating gcd->chat again which is needed during subsequent activate
while working on third version of my huawei gprs patches I noticed that
this commit breaks huawei:
Author: Zhenhua Zhang <zhenhua.zhang(a)intel.com>
Date: Tue May 11 09:04:28 2010 +0800
Fix Use hashtable to record udev path
Sometimes, Udev device 'remove' event could not report correct parent
node of current udev_device. Current code replies on the devpath
attached on the parent node to find modem and then remove it.
This fix is to change the way to store the devpath info into a
hashtable. So that we search hashtable to get devpath and remove the
I reverted the commit and huawei works again for me. More details later
On Thu, May 20, 2010 at 12:07:00PM +0200, Sankar wrote:
> Hi Daniel,
> I have a few queries on ofono telephony stack. Can you please help me.
> Thanks for your time.
> My question is:
> 1. I downloaded the ofono source code from the web, Tried compiling it, and building it.
> 2. The code got successfully compiled and ofonod was generated. But looks like no specific .so s got built for the drivers/plugins.
My usual steps are:
(read the output of configure and check if there are missing
libraries. if yes install the missing dependencies)
$ sudo make install
> I tried launching the ofono deamon, but could not launch it. Can you please provide some inputs.
You have make sure to install the ofono.conf (dbus daemon
configuration) into /etc/dbus.1/system.d/ and then trigger dbus daemon
to reread the configuration (e.g. killall -HUP dbus-daemon)
Enable phonesim in /etc/ofono/modem.conf
And then you should be able to start ofono
$ sudo src/ofonod -n
with '-n' the daemon doesn't spawn into background
> Also, can you please provide some inputs on how to use phonesim with this.
$ sudo make install
$ phonesim -gui default.xml
and then you have to enable the modem with
oFono project has been getting frequent requests for project status and
roadmap details recently. In an effort to add some visibility to these aspects
we decided to implement a new process.
The idea is quite simple: identify the gaps in oFono features and try to
estimate the relative complexity and priority of implementing these features.
The list can be used to quickly understand the relative status of oFono (what
works, what doesn't work.) In addition, people interested in contributing to
the oFono project can use this list for an idea which tasks/features they can
We have started this in the TODO file in ofono git repository. It is by no
means complete; we expect that this list will be refined and expanded over
If you identify any oFono feature gaps, please submit a patch to this mailing
list describing the feature. If you have completed a particular feature,
please submit a patch to remove the task from the TODO list and update
doc/overview.txt to mention that this feature is now available.
Let us know what you think!
I trying to find the modem source code in oFono source code. I am unable to
get it. Here in oFono code we got only interface to the ISI modem.
Where can I get the oFono ISI modem related information like source code or
any libraries. Is it open source ?
And also I am happy if provide the required information regarding plug-ins
and its licensing issues. Can we use proprietary plug-ins in oFono stack.