libera/#maemo-leste/ Saturday, 2022-08-27

freemangordonWizzup: so, do we have more pending issues in ofono? or it is too early to say? :)08:56
WizzupI will check but pretty sure we have some more08:56
Wizzupdid you check the abort/segfault that I mentioned, or is that related?08:57
Wizzupwill also need to try SMSes some more08:58
Wizzupfreemangordon: I need to debug more whether context active works out of the box or not through dbus09:00
Wizzupthere are some timeout issues, but that could be dbus side09:01
Wizzupbut what would often happen to me before is that it would block in dbus trying to activate until I send myself a text09:01
Wizzupto I need to test that some more, which would kind of suggest some issues kicking still with kicking qmimodem, so need to test if you fixed that09:01
Wizzupthen there's just making a lot of sms/calls09:01
WizzupI don't believe switching operator works currently either, but that could be QMI limitation as well09:02
Wizzuphmmm I think that just happened09:04
WizzupI don't know what exactly ~+CIEV=5,2... does, but it seems that after that (and kernel printing motmdm_voice_get_state) the context should be active, but ofono doesn't realise until I send out a sms09:05
WizzupI did not see any CREG this time09:05
Wizzuplooks like the CREG came minutes later, doesn't make sense to me09:08
Wizzup[Sat Aug 27 09:02:10 2022] gsd_receive_buf: 00000000: f9 07 ef 25 55 30 30 38 37 7e 2b 43 49 45 56 3d  ...%U0087~+CIEV=09:08
Wizzuparound here I activate context09:08
WizzupCREG comes here09:09
Wizzup[Sat Aug 27 09:05:50 2022] gsd_receive_buf: 00000000: f9 07 ef 57 55 30 31 33 36 7e 2b 43 52 45 47 3d  ...WU0136~+CREG=09:09
freemangordoncould you have SCRN=1 and re-test09:09
WizzupI had SCRN=1 I think09:09
WizzupI was looking at the display all the time09:09
freemangordonah, ok09:09
WizzupI guess CREG technically is not something ofono should wait for09:09
Wizzuplooking at this: https://m2msupport.net/m2msupport/atcreg-network-registration/09:09
freemangordonhmm, cannot open that site09:10
Wizzupso what surprises me is that ~+CIEV= is matched only in motorolamodem/voicecall.c09:10
freemangordonah, it opened :)09:10
Wizzupeven though it seems to very clearly be used for internet contexts09:10
Wizzupso I worry perhaps the wrong thing is being kicked09:10
Wizzupor worse, no kicks at all09:10
Wizzupat least looking at ciev_notify in motorolamodem/voicecall.c09:11
Wizzupfwiw I use this: mdbus2 -s org.ofono /motmdm_0/context1 org.ofono.ConnectionContext.SetProperty Active true09:11
Wizzupso I think this is another ofono issue09:11
freemangordonwhat is this site?09:12
Wizzuphm?09:13
freemangordonhttps://m2msupport.net/m2msupport/atcreg-network-registration/09:13
WizzupNo idea, just first hit on google for 'at creg'09:13
freemangordonah :)09:14
WizzupI cannot exactly find what CIEV is, but in any case just matching for it in voicecall is likely the root cause here09:18
freemangordonseems this is some unsol event, and parameters to it describe what has happened09:19
Wizzupwell it happens in response to the context activation09:21
Wizzupbut it's not a direct result it seems yes09:21
Wizzuphttps://www.coniugo.de/tl_files/dateien/downloads/at/AT_Commands_G24.pdf09:22
Wizzupmaybe it is just the roaming indicator in this case? not sure09:22
Wizzupor gprs coverage, it's usually 5,2 something though09:22
Wizzupbtw, I don't think the sms got sent either, but trying to send the sms with sphone did trigger the context being active09:24
Wizzupthe message is still pending in ofono:09:24
Wizzup/motmdm_0/message_CC09967A6C013B436C54A7742FE20E838DEACDB809:24
Wizzup# mdbus2 -s org.ofono /motmdm_0/message_CC09967A6C013B436C54A7742FE20E838DEACDB8 org.ofono.Message.GetProperties09:25
Wizzup({'State': <'pending'>},)09:25
Wizzuplet's send the d4 a text and see if that flushes things out09:27
freemangordonseems we have some general issue with events from the modem09:27
Wizzupright09:28
WizzupI don't think I ever saw the command come in to actually send the sms (in kernel log)09:29
Wizzup(this is with scrn:0)09:29
freemangordonhmm, yesterday I sent a couple of SMSes here09:30
freemangordonno issue09:30
tmlindwe use usb qmimodem for sending and motorolamodem for receiving fyi09:31
tmlindrunning ofono with logging enabled should show why an outgoing sms is pending09:31
Wizzupfreemangordon: yeah it only works sometimes09:33
tmlindthe CIEV shows the line status for voice and data i think09:33
freemangordonWizzup: I have to leave (will be MIA till tomorrow evening), please, gather some issues and the way to repro them. I will have a look09:33
Wizzuptmlind: yes but we don't handle it for data :)09:33
tmlindoh ok09:34
Wizzupfreemangordon: most of these are "works sometimes"09:34
freemangordonhmm09:34
freemangordonok, enable ofono logs09:34
WizzupI have ofono debug enables I tihnk09:34
Wizzuproot      2841  0.0  0.3   4876  3440 ?        Ss   Aug26   0:08 /usr/sbin/ofonod -d *,*/*,*/*/*09:34
freemangordonok09:34
freemangordonand also export  OFONO_AT_DEBUG=109:35
freemangordonsomewhere in the startup script09:35
Wizzupok09:36
freemangordonthat way we'll have messages logged in ofono log as well09:36
WizzupI also will take a break today09:36
freemangordon:)09:36
Wizzupbut I will add it in09:36
Wizzupideally we would document all these 'how to debug modem issues and provide logs' steps somewhere on the wiki09:36
freemangordonyeah, enable that so we'll have the logs when something wrong happens09:36
freemangordonbbl09:36
Wizzupfreemangordon: maybe this is ok:09:36
Wizzup# cat /etc/default/ofono09:37
WizzupOFONO_AT_DEBUG=109:37
Wizzupexport OFONO_AT_DEBUG=109:37
WizzupDAEMON_OPTS="-d "*,*/*,*/*/*""09:37
Wizzupcc buZz ^^ :p09:37
freemangordondon;t know, just reboot and see if you have AT commands logged in ofonod.log09:38
buZzgee >  hildon-meta-droid4 : Depends: linux-image-omap but it is not installable13:05
buZz@ https://phoenix.maemo.org/view/Images/job/leste-image-droid4/lastFailedBuild/console13:05
uvosyeah that issue was alleardy reported13:19
uvosWizzup assigned it to himself13:19
buZzalrighty, was just browing , noticed most images havent been building13:49
uvosthanks for checking ;)14:47
buZzWizzup: i stored that blurb to start a 'help to debug X' wikipage15:00
Wizzupyeah, the image builder vms are finnicky16:34
Wizzupafter a whole java consumes all cores and it loses the ssh key16:34
WizzupbuZz: :)16:46
Wizzupfreemangordon: well one of those entries in /etc/default/ofono did it16:53

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!