libera/#maemo-leste/ Thursday, 2024-11-21

sicelofreemangordon: https://paste.debian.net/1336236/   :-)00:12
sicelonow hsm.log sees sim and its properties correctly. please commit that00:13
sicelohowever, _get_icons() in var/log still says sim status = 0 ...00:28
* sicelo heads to bed00:28
freemangordonsicelo: that does not make change, &s and s should be the same06:56
freemangordonbesides the memory allocation06:56
siceloit made a big difference in the result. also, isn't `{sv}` the dbus signature? i think that doesn't take `&` unless i'm mistaken07:05
freemangordonno, it is gvariant signature07:05
freemangordonand when provided, does not make a copy, IIUC07:05
freemangordonbut otherwise should be identical07:05
freemangordonBTW, it this was the issue, I would have seen the same here07:06
freemangordon*if it was07:06
freemangordonI think I know what happens, but need some time to fix it07:07
sicelosure07:10
siceloi'll share the hsm.log though07:10
freemangordonBTW, we don;t really care about SIM status in h-s-m07:15
freemangordonwe also don;'t care about flightmode07:15
freemangordonstatus item should display what is the current status07:15
freemangordonsicelo: ^^^07:16
freemangordondo you agree?07:16
siceloyes07:18
freemangordonok, I'll refactor the plugin07:18
sicelothe question is where it gets info from ... clearly _get_icons() is being supplied incorrect info at some point07:19
freemangordonyes07:19
freemangordonbut I suspect we have a race in connui_cell_modem_add_simmgr07:19
sicelohttps://paste.debian.net/1336263/07:20
freemangordonSIM PRESENT: 107:20
freemangordonis this with & or without?07:21
freemangordonplease, add g_debug() to   _sim_status_cb()07:21
freemangordonto trace what it is supplied with07:22
sicelothis wad without &07:24
freemangordoncheck with &07:25
freemangordonI guess you debug that from _parse_property()07:25
siceloyes, I added it there07:25
freemangordonplease revert back to &s07:26
freemangordonmaybe you are right, but I wonder why, so lets confirm it07:26
sicelowill do, but a little later07:27
freemangordonok07:27
freemangordonok, reproduced it on my d407:33
freemangordonhmm, actually no07:34
freemangordonscratch that07:34
freemangordonsicelo: you may use https://pastebin.com/kMTuW4Sq as well07:39
freemangordonoh, wait, despite SIM PRESENT: 1, we still have modem->sim_status: 0 ?07:41
freemangordonsicelo: ^^^?07:41
siceloyes07:53
sicelohaven't had time to look into why _get_icons is supplied wrong info07:55
freemangordonok, so no sense to make the '&' test07:55
freemangordonand, removing '&' does not make any difference07:56
freemangordoncorrect?07:56
sicelobuiilding now with & restored... will report back. I think it did make a difference though, since _parse_property never got to point of parsing the other Sim properties, as it does now07:58
freemangordonthis is no because &, that's for sure07:59
freemangordonwill hit the isue here if that was the case07:59
freemangordonitem code is buggy, refactoring07:59
freemangordonsicelo: please upgrade to see if the issue is fixed12:08
freemangordonhmm, seems modem does not detect SIM inserted here as well sometimes12:29
sicelofreemangordon: works, yay13:20

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