Discussion:
Huawei K3715 and E172 test results
Rolf Offermanns
2010-09-02 15:45:25 UTC
Permalink
Hi All,

I did some tests with the following setup:

- Meego Netbook 1.0.x
- ofono git (1.9.2010)
+ Patch "[PATCH 1/2] huawei: poll sim state" from Kalle
- connman git (31.8.2010)
+ Patchset "[ofono-refactor-v2 PATCH xx] oFono API breakage, take 2"
+ Patchset "[service-leak PATCH xxx] fix service leak"
- EeePC 1005HA
- Huawei K3715 (Vodafone Mobile Connect USB)
- Huawei E172 (Vodafone Mobile Connect USB)

Below is a summary of the results. I have separate logfiles for each
test run with "OFONO_AT_DEBUG=1 ofonod -n -d '*'" output. Shall I post
them here?

Please let me know what I can do to improve the Huawei support.

Thanks to Kalle and Pekka for helping out on IRC.

-Rolf


Test run 1: Huawei K3715 with unlocked SIM (no PIN required)
================================================================================
1. Start ofonod after modem has settled
-> Everything is fine
-> Modem shows up in connman
2. Unplug / plug
-> First sysinfo shows sim_state: 0
-> Later sysinfo calls return sim_state: 1 (checked in Minicom)
-> Modem not detected in connman
3. Unplug / plug
-> same as 2.
4. Unplug / plug
-> same as 2.
5. Unplug / plug
-> same as 2.

Summary: Modem only works if already settled before ofonod starts.


Test run 2: Huawei K3715 with locked SIM (PIN required)
Note: Whenever a "PIN required" showed up, I used the "tests/enter-pin"
script.
================================================================================
1. Start ofonod after modem has settled
-> Everything is fine
-> Modem shows up in connman
2. Unplug / plug
-> same as 1.
3. Unplug / plug
-> enter-pin throws "DBus.Error.NoReply" exception
-> Modem not detected in connman
4. Unplug / plug
-> same as 3.
5. Unplug / plug
-> same as 1.

Summary: Modem works if already settled before ofond starts and
sometimes when plugged in.


Test run 3: Huawei E172 with unlocked SIM (no PIN required)
================================================================================
1. Start ofonod after modem has settled
-> Everything is fine
-> Modem shows up in connman
2. Unplug / plug
-> First sysinfo shows sim_state: 255 (handled by Kalles patch)
-> Next SYSINFO shows sim_state: 1
-> Modem not detected in connman
3. Unplug / plug
-> First sysinfo shows sim_state: 255
-> Next SYSINFO shows sim_state: 0(!)
-> Then a SIMST reply comes in (not there in 2.)
-> Modem not detected in connman
4. Unplug / plug
-> First sysinfo shows sim_state: 255
-> Next SYSINFO shows sim_state: 0(!)
-> No SIMST reply
-> Modem not detected in connman
5. Unplug / plug
-> First sysinfo shows sim_state: 255
-> Next SYSINFO shows sim_state: 1
-> Modem shows up in connman

Summary: Modem works if already settled before ofond starts and seldom
when plugged in. Several different behaviours are observed.



Test run 4: Huawei E172 with locked SIM (PIN required)
Note: Whenever a "PIN required" showed up, I used the "tests/enter-pin"
script.
================================================================================
1. Start ofonod after modem has settled
-> Everything is fine
-> Modem shows up in connman
2. Unplug / plug
-> AT chat gets out of sync early (no "right" reply after ATE0)
-> Modem not detected in connman
3. Unplug / plug
-> same as 1.
4. Unplug / plug
-> same as 1.
5. Unplug / plug
-> First sysinfo shows sim_state: 255
-> Next SYSINFO gets no reply
-> This happened quite often in other tests. The modem is still
delivering replies to previous commands and the SYSINFO
request seems to get lost.
-> Modem not detected in connman

Summary: Modem works if already settled before ofond starts and seldom
when plugged in. Several different behaviours are observed.
Denis Kenzior
2010-09-03 19:09:41 UTC
Permalink
Hi Rolf,
Post by Rolf Offermanns
Hi All,
- Meego Netbook 1.0.x
- ofono git (1.9.2010)
+ Patch "[PATCH 1/2] huawei: poll sim state" from Kalle
- connman git (31.8.2010)
+ Patchset "[ofono-refactor-v2 PATCH xx] oFono API breakage, take 2"
+ Patchset "[service-leak PATCH xxx] fix service leak"
- EeePC 1005HA
- Huawei K3715 (Vodafone Mobile Connect USB)
- Huawei E172 (Vodafone Mobile Connect USB)
Below is a summary of the results. I have separate logfiles for each
test run with "OFONO_AT_DEBUG=1 ofonod -n -d '*'" output. Shall I post
them here?
I think having the log files for reference would be helpful. Right now
it seems everyone is busy with other tasks, but hopefully someone can
get Huawei support in better shape soon. Kalle was on the right track
with his patches, so hopefully a solution is not far off.
Post by Rolf Offermanns
Please let me know what I can do to improve the Huawei support.
Thanks to Kalle and Pekka for helping out on IRC.
-Rolf
Regards,
-Denis
Rolf Offermanns
2010-09-06 07:01:30 UTC
Permalink
Post by Denis Kenzior
Hi Rolf,
Post by Rolf Offermanns
Hi All,
- Meego Netbook 1.0.x
- ofono git (1.9.2010)
+ Patch "[PATCH 1/2] huawei: poll sim state" from Kalle
- connman git (31.8.2010)
+ Patchset "[ofono-refactor-v2 PATCH xx] oFono API breakage, take 2"
+ Patchset "[service-leak PATCH xxx] fix service leak"
- EeePC 1005HA
- Huawei K3715 (Vodafone Mobile Connect USB)
- Huawei E172 (Vodafone Mobile Connect USB)
Below is a summary of the results. I have separate logfiles for each
test run with "OFONO_AT_DEBUG=1 ofonod -n -d '*'" output. Shall I post
them here?
I think having the log files for reference would be helpful. Right now
it seems everyone is busy with other tasks, but hopefully someone can
get Huawei support in better shape soon. Kalle was on the right track
with his patches, so hopefully a solution is not far off.
Here they are. I will try to look into this myself if I find some time.

-Rolf
Kalle Valo
2010-09-08 19:08:27 UTC
Permalink
Hi Denis,
Post by Denis Kenzior
I think having the log files for reference would be helpful. Right now
it seems everyone is busy with other tasks, but hopefully someone can
get Huawei support in better shape soon. Kalle was on the right track
with his patches, so hopefully a solution is not far off.
The Ubuntu beta released last week kept me quite busy and I hasn't been
able to work on ofono at all. I'm travelling right now, but as I get
back home early next week I'll start looking huawei again.
--
Kalle Valo
Loading...