**** BEGIN LOGGING AT Thu May 20 03:00:01 2010 **** BEGIN LOGGING AT Thu May 20 03:51:34 2010 May 20 07:07:25 #2 0x000000000042f0b2 in creg_notify (result=0x7fff89efcec0, user_data=0x1a8bb20) May 20 07:07:26 at drivers/atmodem/network-registration.c:770 May 20 07:07:26 #3 0x0000003fe3a57a9c in IA__g_slist_foreach (list=, func= May 20 07:07:26 0x41e660 , user_data=0x7fff89efcec0) at gslist.c:743 May 20 07:07:26 #4 0x000000000041f831 in g_at_chat_match_notify (rbuf=, May 20 07:07:28 user_data=) at gatchat/gatchat.c:331 May 20 07:07:28 #5 have_line (rbuf=, user_data=) at gatchat/gatchat.c:508 May 20 07:07:30 #6 new_bytes (rbuf=, user_data=) at gatchat/gatchat.c:648 May 20 07:07:30 #7 0x00000000004215c8 in received_data (channel=0x1a89c20, cond=, data= May 20 07:07:33 0x1a8b130) at gatchat/gatio.c:119 May 20 07:07:34 #8 0x0000003fe3a3923e in g_main_dispatch (context=0x1a7e000) at gmain.c:1960 May 20 07:07:37 #9 IA__g_main_context_dispatch (context=0x1a7e000) at gmain.c:2513 May 20 07:13:48 holtmann: When does this happen? May 20 07:14:07 Driving in the city of Munich and me re-starting ofonod manually ;) May 20 07:14:47 There is also an issue with MBM, when it sort of crashes in between and tries to recover. May 20 07:14:58 I lost all atoms, but Powered=1. No idea on how to re-produce that easily. May 20 07:16:27 There's nothing in creg notify that should cause this unless the netreg atom has gone away May 20 07:18:48 what's in stack trace at #1 and #0? May 20 07:20:26 denkenz: so you want to have at_util_convert_signal_strength()? May 20 07:21:15 kvalo: might as well May 20 07:21:51 denkenz: or would you prefer _report_signal_strength() which would also call ofono_netreg_strength_notify()? May 20 07:27:00 nah, convert is probably better May 20 07:27:48 I was thinking the same May 20 08:25:03 kvalo: The preferred way of doing multi-port debugs is: May 20 08:25:17 g_at_chat_set_debug(data->event, huawei_event_debug, "FooChannel:"); May 20 08:25:40 s/huawei_event_debug/huawei_debug May 20 09:19:57 denkenz: ok, I'll use that May 20 09:29:09 hi May 20 09:56:06 denkenz: why are you still awake? May 20 11:41:02 kvalo: yep May 20 11:43:44 denkenz: you must be in europe :) May 20 11:44:40 yep May 20 11:45:51 denkenz: if I use g_at_chat_suspend() in setup_ppp(), I can't get pass phase 1 May 20 11:46:43 Well, first thing to test is whether this works with gsmdial May 20 11:47:17 oh, I assumed that gsmdial will work :( May 20 11:47:40 gsmdial works on all modems we have May 20 11:47:46 But no guarantee it works on yours May 20 11:47:48 good May 20 11:48:10 Also, gprs context uses +CGDATA May 20 11:48:20 it might be that Huawei actually needs ATD*99 May 20 11:48:26 I'm just guessing here May 20 11:48:51 huawei works for me with cgdata May 20 11:49:12 so something's wrong with ppp setup then May 20 11:49:14 and I can ping the dns server May 20 11:49:44 but if I try to fix the deactivate crash with g_at_chat_suspend(), ppp doesnt' work May 20 11:49:56 I'll try gsmdial now May 20 11:50:10 Are you doing everything that gsmdial does? May 20 11:50:20 e.g. using ppp_new_from_io? May 20 11:50:34 no May 20 11:50:39 I was actually wondering that May 20 11:51:15 yeah the ppp stuff is still a bit raw, to make it work with g_at_chat_suspend you need to pass around the GAtIO object May 20 11:51:35 ah, that explains. thanks a lot May 20 11:52:01 I did the atmodem gprs context in about 10 minutes and never tested it May 20 11:52:15 Its actually a miracle it works ;) May 20 11:52:25 hehe May 20 11:52:55 it works pretty good for me. I just want to deactivate it without crashing ofono :) May 20 11:53:41 g_at_ppp_shutdown would do it, unfortunately you wouldn't be able to activate it again May 20 11:53:54 yeah May 20 11:54:21 gsmdial works for me and it did send CFUN after a TERM signal May 20 11:54:36 no reply to CFUN, but I guess that's by design May 20 11:57:04 excellent, so your modem doesn't hup May 20 11:57:16 sounds like if you do all the steps from gsmdial it should just work May 20 12:00:49 yeah, I'll do that May 20 12:33:20 holtmann: Ok the crash in creg_notify should be fixed May 20 12:33:45 Thanks. I let you know once I re-tested it. May 20 12:43:39 denkenz: just like you said, g_at_ppp_new_from_io() works with chat_suspend() May 20 12:44:05 cool **** BEGIN LOGGING AT Thu May 20 16:18:43 2010 May 20 17:42:10 denkenz: how do I know if huawei hanged up the line after ppp disconnect? May 20 17:42:52 denkenz: I don't get any response for commands after resume :( May 20 18:37:58 hi, I have a question conserning IMSI, MCC and MNC. When the length of IMSI is more then 3 then MCC and MNC is appended. Is the length of MCC always constant, 3? And the MNC is between 0 and 3? May 20 18:39:56 hmm, I think I have to read up on IMSI, MCC and MNC May 20 18:40:34 oh, it's prepend May 21 01:27:44 denkenz: how will we use PPP server side extension? this part is not so clear to me May 21 01:28:55 Q May 21 01:28:58 oops May 21 01:29:37 he **** ENDING LOGGING AT Fri May 21 02:59:57 2010