Re: [online-impl-v2 PATCH 00/10] implement Online property

2010-09-14 Thread Pekka Pessi
Hi,

2010/9/9 Marcel Holtmann mar...@holtmann.org:
 Here are 2nd stab at implementing Online property with various modem
 drivers.

 so I pushed most of them, but not all of them.

Ok. Cool.

 STE version needs testing by the STE guys, but I did run into some SIM
 not ready issues with MBM when switching online/offline a few times. So
 that needs to be looked into.

Please have a peek in your AT log and see if there are some spurious
+GCAP: lines? My Dell 5530 branded MBM apparently sends internal
AT+GCAP command. Command and its results gets echoed to the serial
port which obviously confuses the AT parser. Perhaps most MBMs would
benefit from registering dummy +GCAP:.

 The Huawei has more and more issues with SIM not ready now. This needs
 fixing anyway. I pushed the patch anymore to make these symptoms more
 clear to everybody.

I'll try to remember to fish out my Huawei from the junk box and see
what it has to offer now. ;)

-- 
Pekka.Pessi mail at nokia.com
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: [online-impl-v2 PATCH 00/10] implement Online property

2010-09-14 Thread Sjur Brændeland
[Marcel]
 STE version needs testing by the STE guys, but I did run into some SIM
 not ready issues with MBM when switching online/offline a few times. So
 that needs to be looked into.

OK, I'll put in on our list.
Perhaps you could send me thelogs if you still have them around?

Regards
Sjur
___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


Re: [online-impl-v2 PATCH 00/10] implement Online property

2010-09-14 Thread Marcel Holtmann
Hi Pekka,

  STE version needs testing by the STE guys, but I did run into some SIM
  not ready issues with MBM when switching online/offline a few times. So
  that needs to be looked into.
 
 Please have a peek in your AT log and see if there are some spurious
 +GCAP: lines? My Dell 5530 branded MBM apparently sends internal
 AT+GCAP command. Command and its results gets echoed to the serial
 port which obviously confuses the AT parser. Perhaps most MBMs would
 benefit from registering dummy +GCAP:.

that is clearly not with mine. I have the MBM original and the Lenovo
branded ones which are not branded at all actually. So these behave
properly and no +GCAP in between.

  The Huawei has more and more issues with SIM not ready now. This needs
  fixing anyway. I pushed the patch anymore to make these symptoms more
  clear to everybody.
 
 I'll try to remember to fish out my Huawei from the junk box and see
 what it has to offer now. ;)

I have like 5 different Huawei models now. I just didn't have the time
to dig into this to get it fixed. Basically the online mode support show
the same symptoms than plugging in the modem while ofonod is already
running. So the SIM ready support needs a bit of re-work I assume.

Regards

Marcel


___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono


[online-impl-v2 PATCH 00/10] implement Online property

2010-09-06 Thread Pekka . Pessi
Hi all,

Here are 2nd stab at implementing Online property with various modem
drivers.

Some more obvious errors (in using g_at_chat_send()) have been
fixed. Huawei has been updated after the comment from Marcel.

I've dropped support for the Nokia usb stick, according to the spec it
does not implement but AT+CFUN=0 and AT+CFUN=1. (Not that I have tested
what AT+CFUN=0 does.)

Again, I have not been able to test with most modems. All of them might
not make sense (if the modem does not support AT+CFUN=4, for
instance). There might be some common caveats.  E.g., if the modem does
to wake up with AT+CFUN=4, it might work with an initial cfun command
like AT+CFUN=1 ; +CFUN=4. At least Calypso requires such an
initialization command.

I'd appreciate if the people with access to various hardware could test
them with the patches here (using test/enable-modem, test/online-modem
and test/offline-modem, or, e.g., the connman with ofono-refactor-v2
and service-leak patches).

--Pekka

___
ofono mailing list
ofono@ofono.org
http://lists.ofono.org/listinfo/ofono