Re: [PATCH 0/1] isimodem: fix network registration for older modems
Hi mika, Il 30/03/2011 11.29, mika.liljeb...@nokia.com ha scritto: Hi Claudio, I posted a few patches yesterday, which should improve things. Great, thank you very much for patch. It's works fine now. My advice is to use whatever works for you. Currently, oFono recognizes Nokia phones only via the isiusb plugin, so that is pretty much the only option. However, most Nokia phones also support AT commands over USB ACM and should be relatively easy to get working with oFono, if you're willing to write a new plugin or modify the current nokia plugin for Nokia USB modems to include support for Nokia phones. Patches are welcome. Thanks for the update! regs Claudio ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
RE: [PATCH 0/1] isimodem: fix network registration for older modems
Hi Claudio, Thank you so much for your support and help, please let us know once you have the patch. I posted a few patches yesterday, which should improve things. is it possible to know the list of supported mobile phone as 3g modem ? We don't have a list of supported phones as such as we're not systematically tesing oFono against old Nokia phones. The isiusb plugin is primarily a development aid, allowing us to test isimodem drivers on a PC instead of on-target. There are some limitations in using the isimodem driver over USB this way. All functionality may not be available with all phones. Mostly it works fine, though. I see. Since each phone can potentially use a different way to talk to the pc (Android: rndis, Nokia: AT commands / PPP interface over USB if I understand it correctly), we are trying to understand which of these methods (hence which phone family) is preferable to be used/supported with connman / oFono. Do you have any suggestion for us? My advice is to use whatever works for you. Currently, oFono recognizes Nokia phones only via the isiusb plugin, so that is pretty much the only option. However, most Nokia phones also support AT commands over USB ACM and should be relatively easy to get working with oFono, if you're willing to write a new plugin or modify the current nokia plugin for Nokia USB modems to include support for Nokia phones. Patches are welcome. Br, MikaL ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
RE: [PATCH 0/1] isimodem: fix network registration for older modems
Hi Claudio, I have tested the path of isi modem on nokia n95 and nokia 6760, and I report the result of my test 1) Using nokia N95 and ofono * I have attached the phone to my computer * I have used the ./online-modem * I have set apn/username/password and activate the context It works (log onlineUsingOfonoTest file attached to mail) Cool. 2) Using nokia N95 and ofono/connma * I have attached the phone to my computer * Start connman and I have checked it set OnLine the modem correctly * I have set apn/username/password and activate the context * Using connect of connman, but i receive the message org.ofono.Error.NotAttached GPRS is not attached I reports the log onlineUsingConnmanTest, can be a problem of connman ? I was able to reproduce this with N95 without using connman. There seems to be a conflict with the way atom watches are registered and the way isiusb creates and probes two variations of the network registration driver in parallel. The problem is timing dependent, which is probably why we haven't seen it here before. 1) Using nokia 6760 and ofono * I have attached the phone to my computer * I have used the ./online-modem * I have set apn/username/password and activate the context It not works, (log in nokia6760 file attached to mail) Any suggestion ? I believe the same problem also happens with 6760 and could potentially happen with any ISI modem. Now that I know what it is, I'll try to provide patches. is it possible to know the list of supported mobile phone as 3g modem ? We don't have a list of supported phones as such as we're not systematically tesing oFono against old Nokia phones. The isiusb plugin is primarily a development aid, allowing us to test isimodem drivers on a PC instead of on-target. There are some limitations in using the isimodem driver over USB this way. All functionality may not be available with all phones. Mostly it works fine, though. Regards, MikaL ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
RE: [PATCH 0/1] isimodem: fix network registration for older modems
Hi Mika, On Tue, 2011-03-29 at 07:07 +, mika.liljeb...@nokia.com wrote: Hi Claudio, I have tested the path of isi modem on nokia n95 and nokia 6760, and I report the result of my test 1) Using nokia N95 and ofono * I have attached the phone to my computer * I have used the ./online-modem * I have set apn/username/password and activate the context It works (log onlineUsingOfonoTest file attached to mail) Cool. 2) Using nokia N95 and ofono/connma * I have attached the phone to my computer * Start connman and I have checked it set OnLine the modem correctly * I have set apn/username/password and activate the context * Using connect of connman, but i receive the message org.ofono.Error.NotAttached GPRS is not attached I reports the log onlineUsingConnmanTest, can be a problem of connman ? I was able to reproduce this with N95 without using connman. There seems to be a conflict with the way atom watches are registered and the way isiusb creates and probes two variations of the network registration driver in parallel. The problem is timing dependent, which is probably why we haven't seen it here before. 1) Using nokia 6760 and ofono * I have attached the phone to my computer * I have used the ./online-modem * I have set apn/username/password and activate the context It not works, (log in nokia6760 file attached to mail) Any suggestion ? I believe the same problem also happens with 6760 and could potentially happen with any ISI modem. Now that I know what it is, I'll try to provide patches. Thank you so much for your support and help, please let us know once you have the patch. is it possible to know the list of supported mobile phone as 3g modem ? We don't have a list of supported phones as such as we're not systematically tesing oFono against old Nokia phones. The isiusb plugin is primarily a development aid, allowing us to test isimodem drivers on a PC instead of on-target. There are some limitations in using the isimodem driver over USB this way. All functionality may not be available with all phones. Mostly it works fine, though. I see. Since each phone can potentially use a different way to talk to the pc (Android: rndis, Nokia: AT commands / PPP interface over USB if I understand it correctly), we are trying to understand which of these methods (hence which phone family) is preferable to be used/supported with connman / oFono. Do you have any suggestion for us? Regards, MikaL regs Claudio ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono
Re: [PATCH 0/1] isimodem: fix network registration for older modems
On Thu, 2011-03-24 at 14:14 +0200, Mika Liljeberg wrote: Hi, Here's a patch to fix network registration with older ISI modems. Verified with N95. Claudio, could you give this a spin and let me know if this fixes the problem for your 6760? Hi Mika, Thanks very much for the patch : I have tested the path of isi modem on nokia n95 and nokia 6760, and I report the result of my test 1) Using nokia N95 and ofono * I have attached the phone to my computer * I have used the ./online-modem * I have set apn/username/password and activate the context It works (log onlineUsingOfonoTest file attached to mail) 2) Using nokia N95 and ofono/connma * I have attached the phone to my computer * Start connman and I have checked it set OnLine the modem correctly * I have set apn/username/password and activate the context * Using connect of connman, but i receive the message org.ofono.Error.NotAttached GPRS is not attached I reports the log onlineUsingConnmanTest, can be a problem of connman ? 1) Using nokia 6760 and ofono * I have attached the phone to my computer * I have used the ./online-modem * I have set apn/username/password and activate the context It not works, (log in nokia6760 file attached to mail) Any suggestion ? is it possible to know the list of supported mobile phone as 3g modem ? regs Br, MikaL [PATCH 1/1] isimodem: fix network registration for older modems drivers/isimodem/network-registration.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) ofonod[8881]: plugins/isiusb.c:isiusb_online() (0x9129fa8) with usbpn0 ofonod[8881]: PN_MTC (0x15): MTC_STATE_REQ [id=0x01 utid=0x03 len=4]: ofonod[8881]: * 03 01 01 00 : . ofonod[8881]: PN_MTC (0x15): MTC_STATE_RESP [id=0x64 utid=0x03 len=4]: ofonod[8881]: * 03 64 06 00 : ..d.. ofonod[8881]: gisi: Success RESP to 0x9118ae0 [res=0x15, id=0x64, utid=0x03] ofonod[8881]: plugins/isiusb.c:mtc_state_cb() MTC cause: MTC_ALREADY_ACTIVE (0x06) ofonod[8881]: src/modem.c:modem_change_state() old state: 2, new state: 3 ofonod[8881]: plugins/isiusb.c:isiusb_post_online() (0x9129fa8) with usbpn0 ofonod[8881]: gisi: Ping sent COMMON (0x910edb0) [res=0x0A] ofonod[8881]: gisi: Ping sent COMMON (0x9118168) [res=0xC8] ofonod[8881]: gisi: Ping sent COMMON (0x9127870) [res=0x02] ofonod[8881]: PN_SMS (0x02): SMS_GSM_CB_ROUTING_REQ [id=0x0B utid=0x02 len=11]: ofonod[8881]: * 02 0B 01 0B 01 00 00 00 00 00 00: ofonod[8881]: gisi: Ping sent COMMON (0x9127e88) [res=0x31] ofonod[8881]: gisi: Success COMMON to 0x9127ab0 [res=0x06, id=0x00, utid=0x00] ofonod[8881]: drivers/isimodem/ussd.c:ussd_reachable_cb() QSO: PN_SS [0x06] v009.000 ofonod[8881]: gisi: Subscribed for IND (0x9118ae0) [res=0x06, id=0x06] ofonod[8881]: gisi: Success COMMON to 0x9127bb8 [res=0x06, id=0x00, utid=0x00] ofonod[8881]: drivers/isimodem/call-settings.c:reachable_cb() QSO: PN_SS [0x06] v009.000 ofonod[8881]: gisi: Success COMMON to 0x9127cd0 [res=0x06, id=0x00, utid=0x00] ofonod[8881]: drivers/isimodem/call-barring.c:reachable_cb() QSO: PN_SS [0x06] v009.000 ofonod[8881]: drivers/isimodem/sim.c:isi_read_file_info() Fileid 6FCA not implemented ofonod[8881]: Unable to read waiting messages numbers from SIM ofonod[8881]: PN_NETWORK (0x0A): NET_COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]: ofonod[8881]: * 01 F0 13 09 04 00 00 00 : . ofonod[8881]: gisi: Success COMMON to 0x910edb0 [res=0x0A, id=0xF0, utid=0x01] ofonod[8881]: drivers/isimodem/network-registration.c:reachable_cb() QSO: PN_NETWORK [0x0A] v009.004 ofonod[8881]: gisi: Subscribed for IND (0x9127cd0) [res=0x0A, id=0x1E] ofonod[8881]: gisi: Subscribed for IND (0x9127cf8) [res=0x0A, id=0x43] ofonod[8881]: gisi: Subscribed for IND (0x9127d20) [res=0x0A, id=0x35] ofonod[8881]: gisi: Subscribed for IND (0x91281d0) [res=0x0A, id=0x27] ofonod[8881]: gisi: Subscribed for IND (0x91281f8) [res=0x0A, id=0x02] ofonod[8881]: gisi: Subscribed for IND (0x9128220) [res=0x0A, id=0xE2] ofonod[8881]: PN_NETWORK (0x0A): NET_RAT_REQ [id=0x36 utid=0x02 len=3]: ofonod[8881]: * 02 36 00: ..6. ofonod[8881]: PN_SMS (0x02): SMS_COMMON_MESSAGE [id=0xF0 utid=0x01 len=8]: ofonod[8881]: * 01 F0 13 04 00 00 00 00 : . ofonod[8881]: gisi: Success COMMON to 0x9127870 [res=0x02, id=0xF0, utid=0x01] ofonod[8881]: drivers/isimodem/sms.c:sms_reachable_cb() QSO: PN_SMS [0x02] v004.000 ofonod[8881]: PN_GPDS (0x31): GPSD_UNKNOWN [id=0xF0 utid=0x01 len=8]: ofonod[8881]: * 01 F0 13 11 04 55 55 55 : ..UUU ofonod[8881]: gisi: Success COMMON to 0x9127e88 [res=0x31, id=0xF0, utid=0x01] ofonod[8881]: drivers/isimodem/gprs.c:gpds_reachable_cb() QSO: PN_GPDS [0x31] v017.004 ofonod[8881]: gisi: Subscribed for IND (0x9128bd8) [res=0x31, id=0x18] ofonod[8881]:
[PATCH 0/1] isimodem: fix network registration for older modems
Hi, Here's a patch to fix network registration with older ISI modems. Verified with N95. Claudio, could you give this a spin and let me know if this fixes the problem for your 6760? Br, MikaL [PATCH 1/1] isimodem: fix network registration for older modems drivers/isimodem/network-registration.c | 10 -- 1 files changed, 8 insertions(+), 2 deletions(-) ___ ofono mailing list ofono@ofono.org http://lists.ofono.org/listinfo/ofono