Re: Fwd: [PATCH 1/1] quectel: fixing EC200T modem initialization
Hi Denis, I've resent 5 patches. The 6th patch is not relevant for upstream. I should have updated the patch series number from 6 to 5 but I didn't. Sorry about that. I hope it is not a problem. Yours sincerely, Sergei Golubtsov. On Fri, Sep 2, 2022 at 5:34 PM Denis Kenzior wrote: > Hi Sergei, > > On 9/2/22 02:14, Sergei Golubtsov wrote: > > EC200T doesn't indicate that the Phonebook initialization > > is completed (==4) if AT+CFUN=4 > > --- > > plugins/quectel.c | 7 ++- > > 1 file changed, 6 insertions(+), 1 deletion(-) > > > > I don't think this is going to work: > > denkenz@localhost ~/ofono-master $ git am ~/merge/Fwd\:\ \[PATCH\ 1_1\]\ > quectel\:\ fixing\ EC200T\ modem\ initialization\ -\ Sergei\ Golubtsov\ > \\ -\ 2022-09-02\ 0214.eml > warning: quoted CRLF detected > Applying: Fwd: [PATCH 1/1] quectel: fixing EC200T modem initialization > error: corrupt patch at line 10 > Patch failed at 0001 Fwd: [PATCH 1/1] quectel: fixing EC200T modem > initialization > hint: Use 'git am --show-current-patch=diff' to see the failed patch > When you have resolved this problem, run "git am --continue". > If you prefer to skip this patch, run "git am --skip" instead. > To restore the original branch and stop patching, run "git am --abort". > > Just use git-send email and resend. > > Regards, > -Denis > ___ ofono mailing list -- ofono@ofono.org To unsubscribe send an email to ofono-le...@ofono.org
Re: Fwd: [PATCH 1/1] quectel: fixing EC200T modem initialization
Hi Sergei, On 9/2/22 02:14, Sergei Golubtsov wrote: EC200T doesn't indicate that the Phonebook initialization is completed (==4) if AT+CFUN=4 --- plugins/quectel.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) I don't think this is going to work: denkenz@localhost ~/ofono-master $ git am ~/merge/Fwd\:\ \[PATCH\ 1_1\]\ quectel\:\ fixing\ EC200T\ modem\ initialization\ -\ Sergei\ Golubtsov\ \\ -\ 2022-09-02\ 0214.eml warning: quoted CRLF detected Applying: Fwd: [PATCH 1/1] quectel: fixing EC200T modem initialization error: corrupt patch at line 10 Patch failed at 0001 Fwd: [PATCH 1/1] quectel: fixing EC200T modem initialization hint: Use 'git am --show-current-patch=diff' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort". Just use git-send email and resend. Regards, -Denis ___ ofono mailing list -- ofono@ofono.org To unsubscribe send an email to ofono-le...@ofono.org
Fwd: [PATCH 1/1] quectel: fixing EC200T modem initialization
EC200T doesn't indicate that the Phonebook initialization is completed (==4) if AT+CFUN=4 --- plugins/quectel.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/plugins/quectel.c b/plugins/quectel.c index 79a137d8..f933723d 100644 --- a/plugins/quectel.c +++ b/plugins/quectel.c @@ -605,9 +605,12 @@ static void qinistat_cb(gboolean ok, GAtResult *result, gpointer user_data) case QUECTEL_EC200: /* * EC200T doesn't indicate that the Phonebook initialization -* is completed (==4) when AT+CFUN=4, that's why 1 + 2 = 3 +* of some SIM cards is completed (==4) when AT+CFUN=4, +* that's why 1 + 2 = 3 */ ready = 3; + if ((status & ready) == ready) + ready = status; break; case QUECTEL_M95: case QUECTEL_MC60: @@ -828,6 +831,8 @@ static void setup_aux(struct ofono_modem *modem) } else if (data->model == QUECTEL_EC200) { g_at_chat_send(data->aux, "ATE0; &C0; +CMEE=1", none_prefix, NULL, NULL, NULL); + g_at_chat_send(data->aux, "AT+QCFG=\"servicedomain\",2", none_prefix, + NULL, NULL, NULL); } else g_at_chat_send(data->aux, "ATE0; &C0; +CMEE=1; +QIURC=0", none_prefix, NULL, NULL, NULL); -- 2.30.2 ___ ofono mailing list -- ofono@ofono.org To unsubscribe send an email to ofono-le...@ofono.org