**** BEGIN LOGGING AT Thu Oct 21 02:59:58 2010 Oct 21 04:41:49 hi guys, how would I use ofono to enable a 3G module ? Oct 21 04:42:10 it always shows me "No services found" Oct 21 06:01:13 pessi: just use the ISI version to quirk the N95 support Oct 21 06:06:29 hi, how would I make sure my modem is enabled ? Oct 21 06:06:55 I am using MeeGo Oct 21 06:07:31 with ofono v0.20-1.2 Oct 21 06:08:02 or any tutorial to test the modem ? Oct 21 08:15:37 matt_chen: try downloading the source for that version and then running the test/list-modems script is the easiest way to read all the modem properties ofono knows about Oct 21 08:18:43 balrog-k1n : I've done that and also saw the modem info. Oct 21 08:19:04 balrog-k1n : next is how to dial a number and get an IP from ISP ? Oct 21 08:19:39 balrog-k1n : needs to set the username and password as well Oct 21 08:21:28 matt_chen: there should be another script in test/ to do that, but maybe someone else here knows the details Oct 21 08:22:00 balrog-k1n : yes, thanks ... Oct 21 08:22:21 there were many improvements in that area since ofono v20 though Oct 21 08:23:04 suggest updated ofono ? Oct 21 08:24:35 yes, but if you want to use it together with the other packages in meego, like connman and the GUIs (i don't really know which those are) you also need to update thoso to compatible versions Oct 21 08:24:47 not if you just want to test ofono Oct 21 08:25:32 hmm...I didn't figure it is that complicated though....no wonder see on UI in carrick. Oct 21 18:32:59 Oops. gatchat/gatchat.c:1317: error: ‘return’ with no value, in function returning non-void Oct 21 18:37:13 akiniemi: My bad. Oct 21 18:37:16 I fix it. Oct 21 18:38:16 Pushed. Oct 21 18:42:39 Thanks Oct 21 20:47:58 akiniemi: Do you have pending patches? Oct 21 21:07:41 holtmann: nope, nothing ready Oct 21 21:08:01 I am considering cutting another release. Oct 21 21:08:06 holtmann: but Pekka's set of SIM patches sure would be nice, as they include isimodem PIN support Oct 21 21:08:52 I think they are still in review. I wait for Denis when he is back online and see how far he is with the review. Oct 21 21:09:27 ok Oct 21 21:33:10 denkenz: So do we have pending patches? I am thinking of another release. Oct 21 21:36:05 holtmann: there are some things I was planning to integrate today Oct 21 21:36:16 But they're not particularly critical Oct 21 21:36:34 I can do tomorrow as well. Oct 21 21:36:40 Which ones do you wanna work on? Oct 21 21:36:55 I was going to merge the rest of Yang's patches and possibly Petteri's Oct 21 21:37:06 Okay. Then do that. Oct 21 21:37:13 Then we have a nice release. Oct 21 21:38:29 denkenz: Another thing is how do I enable multiple context setup? Oct 21 21:39:32 if (ctx->context.cid != Oct 21 21:39:32 idmap_get_min(ctx->gprs->cid_map)) { Oct 21 21:39:32 ofono_error("Multiple active contexts are" Oct 21 21:39:33 " not yet supported"); Oct 21 21:39:36 Take out that if Oct 21 21:40:08 I have. Breaks. Oct 21 21:40:24 Second call to active second context stalls. Oct 21 21:41:00 Do I have to add a second GPRS context driver to it as well? I have done that since we need another chat instance. Oct 21 21:41:32 yes you do Oct 21 21:41:45 I have done that. Doesn't work. Oct 21 21:42:45 Dunno then Oct 21 21:43:20 I'm pretty sure it is as simple as adding two contexts and taking out that if Oct 21 21:44:36 But then since I never had hw to test it in the first place, maybe not all the plumbing is completely there Oct 21 21:45:32 Maybe with ISI it is, but for me it seems we are using the wrong contexts. Oct 21 21:47:05 ofonod[29342]: GPRS2: > AT+CGDATA="M-RAW_IP",1\r Oct 21 21:47:05 ofonod[29342]: GPRS2: < \r\nCONNECT\r\n Oct 21 21:47:36 And then I get this: Oct 21 21:47:38 [root@localhost ~]# ./test/deactivate-context Oct 21 21:47:38 Error activating /ifx0/context1: org.ofono.Error.InProgress: Operation already in progress Oct 21 21:47:56 So first it uses the second GPRS context first. Oct 21 21:48:01 Then deactivating it fails. Oct 21 21:48:42 then probably the plumbing needs more work Oct 21 21:49:02 maybe we don't actually select between the context drivers Oct 21 21:50:04 And in case of ISI it just works because they do things differently. Oct 21 21:52:47 maybe Oct 21 21:52:58 I suspect we don't maintain the list of context drivers Oct 21 21:53:04 Can you have a look at that. Oct 21 21:53:06 and just use the last one Oct 21 21:53:31 sure, its in my queue Oct 21 21:54:24 It could be also that I did something wrong in the driver. Oct 21 21:54:44 But I don't see any AT commands coming on that second channel. So I assume not. Oct 21 21:54:46 doesn't look like it Oct 21 22:04:51 denkenz: So the code is all present. Just src/gprs.c needs to be fixed. Oct 21 22:05:04 And maybe ifxmodem/gprs-context.c a bit. Oct 21 22:14:31 struct ofono_gprs_context *context_driver; Oct 21 22:14:38 It is not a list, it is just one driver. Oct 21 22:14:53 So the second one overwrites the first one. Oct 21 22:18:12 denkenz, just fyi, that the latest ofono code doesnt compile due to warnings in maintainer mode. Oct 21 22:18:51 raji__: I know. Pushed a fix already. The MeeGo compiler flags for building 32-bit binaries disabled my sanity check. Oct 21 22:18:54 All blame on me. Oct 21 22:23:14 holtmann: Oct 21 22:23:17 gcd = g_new0(struct gprs_context_data, 1); Oct 21 22:23:17 + if (!gcd) Oct 21 22:23:17 + return -ENOMEM; Oct 21 22:23:18 + Oct 21 22:23:23 forgot to use g_try_new0 Oct 21 22:23:43 Crap. Second time today. Will fix. Oct 21 22:24:26 And I still don't like the set_slave bit Oct 21 22:25:22 I like it a lot actually. I played with all ideas left and right. This is simple and nice. Oct 21 22:26:04 I would have preferred group, slave feels like a hack Oct 21 22:27:24 As I said, I had the GAtChatPair first. Oct 21 22:27:48 Didn't like it. Oct 21 22:28:57 Then you might wanna add docs to it Oct 21 22:29:12 Personally it doesn't pass my 'its obvious from the function name' test Oct 21 22:29:29 Fair enough. I can do that. Oct 21 22:35:43 denkenz: Just send you a crash that I had. For some reason it doesn't make it to the mailing list :( Oct 21 22:37:21 that crash makes no sense Oct 21 22:37:26 I need the rest of the log Oct 21 22:38:06 Where should I get that one from :( Oct 21 22:38:46 CC gisi/client.o Oct 21 22:38:46 ../gisi/client.c:38:17: error: log.h: No such file or directory Oct 21 22:38:46 ../gisi/client.c: In function ‘build_subscribe_msg’: Oct 21 22:38:46 ../gisi/client.c:614: warning: implicit declaration of function ‘DBG’ Oct 21 22:39:01 akiniemi: Please always run also fakeroot make distcheck. Oct 21 22:39:53 your crash dump must be from a non-debug build Oct 21 22:40:09 Took it on the maschine. Oct 21 22:42:11 The only reason you should see dbus complain is if the mcc/mnc of the operator was screwed up Oct 21 22:42:20 akiniemi: I removed the DBG calls and the inclusion of log.h. That is not allowed in gisi/ Oct 21 22:42:31 If you want the debug, then you have to do that somehow else. Oct 21 22:42:36 see if you can duplicate it and give me the rest of the AT log Oct 21 22:42:52 Lets try. Just doing sanity build checks. Oct 21 22:46:13 ofonod[7788]: GPRS2: > AT+CGDATA="M-RAW_IP",1\r Oct 21 22:46:13 ofonod[7788]: GPRS2: < \r\nCONNECT\r\n Oct 21 22:46:13 ofonod[7788]: Net: < \r\n+XCIEV: 3,\r\n Oct 21 22:46:13 ofonod[7788]: Net: < \r\n+XCIEV: 2,\r\n Oct 21 22:46:15 ofonod[7788]: Net: < \r\n+XCIEV: 1,\r\n Oct 21 22:46:15 ofonod[7788]: Net: < \r\n+XCIEV: 0,\r\n Oct 21 22:46:17 ofonod[7788]: Net: < \r\n+CREG: 2,"560e","6e32",3\r\n Oct 21 22:46:17 ofonod[7788]: Net: > AT+CGATT=0\r Oct 21 22:46:19 ofonod[7788]: Net: < \r\n+CGREG: 2\r\n Oct 21 22:46:22 Now it is fine :( Oct 21 22:46:51 somehow the valid_path dbus check got triggered Oct 21 22:47:04 The only way that's feasible is if the mcc/mnc somehow had garbage in it Oct 21 22:48:41 Maybe I was in between a cell switch. Oct 21 22:49:03 ofonod[24512]: Net: > AT+COPS=?\r Oct 21 22:49:03 ofonod[24512]: Net: < \r\n+COPS: (2,"T-Mobile D","TMO D","26201",0,0),(3,"E-Plus Oct 21 22:49:03 ","E-Plus","26203",0,),(3,"Vodafone.de","Vodafone.de","26202",0,),(3,"o2 - de"," Oct 21 22:49:04 o2 - de","26207",0,)\r\n Oct 21 22:49:06 ofonod[24512]: Net: < \r\nOK\r\n Oct 21 22:49:08 Btw. What is wrong with this one? Oct 21 22:49:19 scan-for-operators does not work. Oct 21 22:50:25 If you have the original log with the crash, see what COPS? returned Oct 21 22:51:06 So this is funny. If it sees T-Mobile then the operator list fails: Oct 21 22:51:07 ofonod[7788]: Net: < \r\n+COPS: (2,"T-Mobile D","TMO D","26201",0,0),(3,"Vodafone.de","Vodafone.de","26202",0,),(3,"o2 - de","o2 - de","26207",0,),(3,"E-Plus","E-Plus","26203",0,)\r\n Oct 21 22:51:25 If not, then it is fine: Oct 21 22:51:26 ofonod[7788]: Net: < \r\n+COPS: (2,"E-Plus","E-Plus","26203",0,),(3,"o2 - de","o2 - de","26207",0,),(3,"Vodafone.de","Vodafone.de","26202",0,)\r\n Oct 21 22:52:14 T-mobile is reporting double 0 Oct 21 22:52:24 We only expect a single number after the mccmnc Oct 21 22:53:18 The others have the comma. What is the expected value there. And why do all have a comma. Oct 21 22:53:35 27.007 is fuzzy here, but in general each tech should be on a separate line Oct 21 22:53:50 +COPS: [list of supported (,long alphanumeric ,short alphanumeric ,numeric [,])s][,,(list of supported s),(list of supported s)] Oct 21 22:54:26 The 's after AcT is refering to operators, not AcTs Oct 21 22:54:42 seems IFX is interpreting the spec a bit differently Oct 21 22:55:00 Or at least that's the way I read it Oct 21 22:55:47 AT+COPS=? +COPS: [list of supported (,long alphanumeric Oct 21 22:55:47 ,short alphanumeric ,numeric [,< AcT>,)s] Oct 21 22:55:47 [,,(list of supported s),(list of supported s)] Oct 21 22:55:47 OK Oct 21 22:55:49 or Oct 21 22:55:49 +CME ERROR: Oct 21 22:55:54 They have some plmn_list here. Oct 21 22:56:13 T-Mobile is my home operator. Oct 21 22:56:27 then you need to quirk IFX for that one Oct 21 22:56:36 what's the meaning of plmn_list? Oct 21 22:56:52 Oct 21 22:56:53 is supporting only in R7 Protocol Stack. Oct 21 22:57:09 Oct 21 22:57:09 indicates whether the PLMN is present on the EHPLMN list, the User Controlled PLMN List or the Operator Oct 21 22:57:09 Controlled PLMN List. Oct 21 22:57:09 0 PLMN is present on the EHPLMN list Oct 21 22:57:10 1 PLMN is present on the User Controlled PLMN List Oct 21 22:57:10 2 PLMN is present on the Operator Controlled PLMN List Oct 21 22:57:47 so pointless and against the spec Oct 21 23:02:07 akiniemi: Thanks for fixing my booboo btw, no idea how the compiler allowed that Oct 21 23:03:38 denkenz: May a newer spec version? Oct 21 23:06:38 Well, considering plmn_list talks about Rel7 features and the newest spec is Rel10... Oct 21 23:06:42 But lets test your theory Oct 21 23:08:26 holtmann: nope Oct 21 23:08:28 Rel 10.1: Oct 21 23:08:29 +COPS: [list of supported (,long alphanumeric ,short alphanumeric ,numeric [,])s][,,(list of supported s),(list of supported s)] **** ENDING LOGGING AT Fri Oct 22 02:59:58 2010