Hi Denis,

Thanks for the quick reply.

On Thu, Mar 28, 2013 at 09:54:42AM -0500, Denis Kenzior wrote:
> On 03/28/2013 09:22 AM, Forest Bond wrote:
> >From: Forest Bond<[email protected]>
> >
> >---
> >  plugins/huawei.c |    3 +++
> >  1 files changed, 3 insertions(+), 0 deletions(-)
> >
> >diff --git a/plugins/huawei.c b/plugins/huawei.c
> >index 5d8875a..0621d5b 100644
> >--- a/plugins/huawei.c
> >+++ b/plugins/huawei.c
> >@@ -377,6 +377,9 @@ static void cfun_offline(gboolean ok, GAtResult *result, 
> >gpointer user_data)
> >             return;
> >     }
> >
> >+    if (data->have_gsm == FALSE&&  data->have_cdma == TRUE)
> >+            ofono_modem_set_boolean(modem, "AlwaysOnline", TRUE);
> >+
> >     ofono_modem_set_powered(modem, TRUE);
> >  }
> >
> 
> Things don't seem to be this simple.  The Huawei driver sets the
> modem offline as part of the init procedure (grep for
> 'offline_command').  So once we enable the device, it is put into
> radio off mode.  With the changes you're proposing there will be no
> way to get it online ;)

Okay, I see that now.  I only have a Huawei GSM device and a Sierra Wireless
CDMA device to test with.

Thanks,
Forest
-- 
Forest Bond
http://www.alittletooquiet.net
http://www.rapidrollout.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to