**** BEGIN LOGGING AT Tue Jun 29 02:59:57 2010 Jun 29 03:09:43 denkenz: where in the Makefile.am you set gatchat as a lib? I can't find that to reproduce on bluetooth.c Jun 29 07:42:52 oh, this is _so_ nice. holtmann's disconnect hack works just great with huawei. no more unplugging the modem during test \o/ Jun 29 12:05:25 ofonod[13480]: App:< \r\n+STUD: 13,""\r\n Jun 29 12:05:26 ofonod[13480]: App:< \r\n_OSIGQ: 18,0\r\n Jun 29 12:05:27 ofonod[13480]: App:< \r\n+STC: 2\r\n Jun 29 12:05:27 ofonod[13480]: App:< \r\n_OSIGQ: 20,0\r\n Jun 29 12:06:00 denkenz: Saw that on my old Option card now. Any idea waht STUD or STC is? Jun 29 12:54:14 denkenz: ofono crashed in g_at_ppp_unref(). will send backtrace soon Jun 29 14:04:51 holtmann: sim toolkit stuff, stud 13 indicates satk sent sms ? Jun 29 14:08:03 pessi: That is on an HSO modem. We never enabled SIM Toolkit there. And why does it send an SMS. Jun 29 14:08:14 Do you happen to have the proper documentation for this. Jun 29 14:15:53 nope, sorry. I have docs for some chinese modem which supports +stud Jun 29 14:29:56 Hah. Jun 29 14:30:15 Seriously, we never enabled this with the HSO one, but in the end it is a Qualcomm modem. Jun 29 14:30:31 So maybe these things are on by default. Jun 29 14:52:11 kvalo: So I really want a fix for that crash. Otherwise I move the target date for the release to tomorrow. I am not getting to it today. Jun 29 15:03:27 holtmann: sorry, I don't have time to work on ofono this week at all. I need to finish another project before I leave for holidays on friday Jun 29 15:04:40 kvalo: I don't get how yu trigger your crash Jun 29 15:05:17 denkenz: I did connect "saunalahti", disconnect, connect, disconnect... Jun 29 15:05:34 kvalo: were you removing the dongle during activate / deactivate? Jun 29 15:06:07 denkenz: ofono crashed twice for me today, but I don't know if the second crash was similar as the one I reported Jun 29 15:06:30 denkenz: no dongle removals. I used the huawei hack patch I posted this morning. Jun 29 15:08:10 holtmann: We really need timing info Jun 29 15:10:40 kvalo: try this Jun 29 15:10:41 - if (gcd->state != STATE_IDLE) { Jun 29 15:10:43 + if (gcd->state != STATE_IDLE && gcd->ppp != NULL) { Jun 29 15:11:42 looks like you're connecting very close to a disconnect, so the modem sends a HUP Jun 29 15:12:21 Your GPRS context will get removed and the core will never return, but at least it won't crash Jun 29 15:15:53 So unfortunately holtmann's hack won't work too well in that case Jun 29 15:24:07 denkenz: I can send you my syslog, it has seconds Jun 29 15:27:32 ofonod[2365]: drivers/atmodem/gprs-context.c:ppp_disconnect() Jun 29 15:27:33 ofonod[2365]: Pcui:< \r\n^BOOT:38645652,0,0,0,87\r\n Jun 29 15:27:35 ofonod[2365]: Modem:> AT+CGDCONT=1,"IP","internet"\r Jun 29 15:27:36 ofonod[2365]: plugins/huawei.c:huawei_disconnect() Jun 29 15:27:38 ofonod[2365]: src/gprs.c:gprs_context_remove() atom: 0x6e4460 Jun 29 15:27:39 ofonod[2365]: drivers/atmodem/gprs-context.c:at_gprs_context_remove() Jun 29 15:27:51 If the difference between disconnect & remove is like < 1 second, then my hypothesis should be correct Jun 29 15:28:43 denkenz: I'll find the relevant part from syslog Jun 29 15:32:19 Jun 29 15:52:04 tukki ofonod[2365]: Pcui:< \r\n^RSSI:24\r\n Jun 29 15:32:19 Jun 29 15:52:07 tukki ofonod[2365]: Pcui:< \r\n^RSSI:24\r\n Jun 29 15:32:20 Jun 29 15:52:09 tukki ofonod[2365]: drivers/atmodem/gprs-context.c:at_gprs_deactivate_primary() Jun 29 15:32:23 Jun 29 15:52:09 tukki ofonod[2365]: drivers/atmodem/gprs-context.c:ppp_disconnect() Jun 29 15:32:26 Jun 29 15:52:09 tukki ofonod[2365]: Pcui:< \r\n^BOOT:38645652,0,0,0,87\r\n Jun 29 15:32:28 Jun 29 15:52:11 tukki ofonod[2365]: Modem:> AT+CGDCONT=1,"IP","internet"\r Jun 29 15:32:31 Jun 29 15:52:12 tukki ofonod[2365]: plugins/huawei.c:huawei_disconnect() Jun 29 15:32:33 Jun 29 15:52:12 tukki ofonod[2365]: src/gprs.c:gprs_context_remove() atom: 0x6e4460 Jun 29 15:32:36 Jun 29 15:52:12 tukki ofonod[2365]: drivers/atmodem/gprs-context.c:at_gprs_context_remove() Jun 29 15:32:39 Jun 29 15:56:42 tukki ofonod[2410]: oFono version 0.23 Jun 29 15:32:42 denkenz: ^ Jun 29 15:33:06 yeah, ok, so that's it Jun 29 15:33:35 the ppp driver needs some more work, it needs to wait for at least NO CARRIER Jun 29 16:43:39 Our PPP stack is too fast :( Jun 29 16:50:40 denkenz: how so? Jun 29 16:51:21 oh I'm just adding server-side extensions, and we need to run a DHCP query for the peer address Jun 29 16:51:39 I manage to exhaust the max-failure counter in about .2 seconds Jun 29 17:36:50 is supervisory tone generation out of ofono scope? Jun 29 17:37:30 what exactly is it? Jun 29 17:38:24 like, ringing tone when the remote end is alerting Jun 29 17:38:49 or call waiting tone Jun 29 17:39:29 or different error tones when called number is busy, there is congestion or a special error occurs Jun 29 17:39:40 22.001 annex F Jun 29 17:39:53 we have lot of code handling that in tp-ring Jun 29 17:40:32 I wonder if that should be ditched or moved to somewhere else Jun 29 17:41:32 and speaking of 22.001, is there something in 27.007 overriding annex E (aka Automatic calling repeat call attempt restrictions Jun 29 17:42:16 or Blacklisting) Jun 29 17:45:45 You mean CCBS? Jun 29 17:45:51 Nothing about CCBS in 27.007 Jun 29 17:46:03 And supervisory tones sound like a multimedia framework domain Jun 29 17:46:11 Since they're not covered by AT commands Jun 29 17:48:05 ;) Jun 29 17:54:25 that is the problem... I'd push control of supervisory tones to ui, but how ui can know which tone to play and when? and how multimedia fw knowns when the play supervisory tone and when to play audio from network and when to mix it Jun 29 17:55:07 on n900, we have an elegant solution that uses ruleset written in Prolog ;) Jun 29 18:07:30 how does oFono know when a supervisory tone needs to be played? Jun 29 18:08:06 On most hw I've encountered, the modem takes care of audio generation Jun 29 18:40:28 pessi: doesn't tonegend just listen to CSD and add the tones requested by the network from csd? Jun 29 18:40:45 like, does it actually use the beautiful prolog policy so much? Jun 29 19:15:50 pessi: moi. I tested n900 with a usb cable and I was able to get it work. but why did I have to manually set it to online mode? Jun 29 19:31:56 Robot101: the policy overrides the tones in some cases Jun 29 19:32:11 just to keep you guessing :) Jun 29 19:32:18 yep Jun 29 19:32:47 or frustrated, whne you have managed to get the tones to work, they get silenced because a because Jun 29 19:33:31 kvalo: I needed a victim for flight mode ;) Jun 29 19:33:39 mbm is next to go ;) Jun 29 19:38:04 pessi: sorry, I still don't understand Jun 29 19:38:19 flight mode or not, why can't it be just in online mode by default? Jun 29 19:42:08 pessi: or should connman always enable online mode? Jun 29 19:42:39 perhaps Jun 29 19:43:19 i'd rather default to offline, but there should be storage for online Jun 29 19:43:48 I could use n900 directly from connman if we can solve this online problem somehow Jun 29 19:51:24 kvalo: Please recompile your code with no CFLAGS before patch submissions ;) Jun 29 19:51:26 kvalo: you can always go to isimodem.c and comment out .set_online ? Jun 29 19:52:45 denkenz: I think I did that. what was wrong? Jun 29 19:52:57 3 unused vars Jun 29 19:53:20 denkenz: wow, sorry. I wonder why my compiler doesnt' warn anything Jun 29 19:54:15 unsetting the env is not enough, have to bootstrap, but I'm sure you know that Jun 29 19:54:34 V=1 shows "-Werror -Wextra" Jun 29 19:54:54 Then get a better compiler ;) Jun 29 19:55:28 Its the -O0 that turns off those kinds of warnings Jun 29 19:55:42 pessi: of course. but I would like to keep distro modifications to the minimum. Jun 29 19:56:18 pessi: and if this online is introduced to ofono, it should not prevent connman from using modems. Jun 29 19:56:25 pessi: You need to get holtmann and sameo to figure out how they want to support Online mode in connman Jun 29 19:56:48 The biggest problem is that Online mode is really what Powered used to be Jun 29 19:57:08 denkenz: I wonder how I got that -O0 Jun 29 19:57:13 And right now we're in lala-land where some drivers do one, others do the other one Jun 29 19:57:40 biggest problem is tot get me to figure out how to use Online Jun 29 19:57:59 You're the one that wrote it ;) Jun 29 19:58:11 tomorrow some emergency calls with mbm ;) Jun 29 19:58:19 pessi: if something is not clear yet, just default to online for now and change it later. don't make users suffer Jun 29 19:59:48 pessi: Might want to keep logs and share them with us Jun 29 19:59:58 pessi: particularly interesting sim/no sim emergency calls Jun 29 20:00:25 denkenz: sure Jun 29 20:00:48 and also CFUN=4 / CFUN=1 emerency calls **** ENDING LOGGING AT Wed Jun 30 02:59:57 2010