libera/#maemo-leste/ Wednesday, 2024-11-20

freemangordonsicelo: do you use ofono from repos?17:13
freemangordonsicelo: added more logging, please upgrade, clear the logs and reboot18:16
freemangordonalso, please include the result of list-modems script (before going offline->online)18:17
sicelofreemangordon: yes, i use Leste's ofono on the D4. will upgrade in a bit and share19:25
freemangordonsicelo: a general UX question - shall we keep roaming settings per IMSI, per IMEI or per device21:03
freemangordonmy gut feeling tells me this shall be per IMSI21:03
freemangordonnot sure what fremantle does21:03
siceloofono does it per modem21:08
freemangordonyes, I know21:08
siceloi guess per IMSI is better, yes, at the possible cost of some complexity21:09
freemangordonmhm21:09
freemangordonhmm, lemme check how it is stored actually21:09
freemangordonit is per SIM21:10
freemangordoncheck in /var/lib/ofono21:11
siceloah, great then21:16
siceloi upgraded, and situation unchanged. will share logs in a moment21:17
freemangordonyeah, the behaviour is the same, just one more thing is logged (RAT)21:17
sicelopm'ing you list-modems21:23
freemangordonok21:24
freemangordonyou can remove IMSI/IMEI etc, I don't need them21:24
freemangordonI don't think in the other data there is anything important21:24
sicelohsm log, https://paste.debian.net/1336216/21:28
freemangordonsim status 021:31
freemangordonthis is 'no sim'21:31
sicelolist-modems, https://paste.debian.net/1336217/21:32
freemangordonok, some bug in connui-cell, somehow it is missing SIM Present=1 property21:32
freemangordonthat does not make sense21:33
siceloyeah, that' why i was thinking perhaps there's some race in early boot? the hsm thinks there's no sim, simply because it appeared late...21:34
freemangordonno, once you register callback, it gets called immediately with the current state21:37
freemangordonhmm...21:38
sicelothe icon is correct after cycling between offline and online. where is the callback registered?21:39
freemangordonin status menu init code21:39
* sicelo tries to check21:40
freemangordonno, status-menu is ok21:40
freemangordonit is the lib that somehow manages to miss the properties21:40
freemangordonproperty changes21:41
freemangordonhmm, wait, I think I know what it could be21:41
freemangordonsicelo: can you repro by removing/reinserting the card?22:07
sicelolet me see22:08
siceloofono is able to update itself that card has been removed. unfortunately reinserting does not make card visible22:11
freemangordonwhich is good22:11
sicelowhich is also strange ... regression? i'm quite sure this worked In the past22:11
freemangordonthat way we can start h-s-m from console22:11
freemangordonwith all the logs enabled and see what exactly happens22:12
freemangordonI think I know, but better confirm it22:12
freemangordonso:22:12
freemangordon/usr/sbin/dsmetool -k /usr/bin/hildon-status-menu22:14
freemangordonexport DISPLAY=:022:14
freemangordonG_MESSAGES_DEBUG=all DEBUG_OUTPUT=1 maemo-summoner /usr/bin/hildon-status-menu.launch22:16
freemangordonsicelo: ^^^22:16
sicelosure.22:17
freemangordonand then remove/insert the card22:17
siceloi already did without remove/reinsert ... no sim icon still showing, so i guess it's valid test?22:19
sicelohttps://paste.debian.net/1336222/22:19
freemangordonyeah, perhaps22:19
sicelothis is up to no-sim icon. let me know if you want me to toggle offline-online so icon updates22:19
freemangordonhmm, wait22:20
freemangordonit looks like SIM is not present22:20
freemangordonsee Adding ofono sim manager for /motmdm_022:20
freemangordonand then SIM /motmdm_0 parsing property Present, type b22:21
freemangordonthat's the only property22:21
siceloah yes, as said before, sim is no Longer visible22:21
freemangordonofono does not see it?22:21
siceloso now only way is offline-online, but i guess this will invalidate the test22:22
siceloyes @ofono not seeing it anymore22:22
freemangordonno, something is not ok on your device22:22
sicelouser@devuan-droid4:~$ busctl call org.ofono /motmdm_0 org.ofono.SimManager GetProperties22:22
siceloa{sv} 1 "Present" b false22:22
freemangordonhere if I reinsert the card ofono finds it again22:22
freemangordonyeah22:22
siceloweird then22:22
sicelowithout doing anything?22:22
freemangordonyeah22:22
siceloi wonder what could be up with mine then22:23
freemangordoncellulard is running?22:23
siceloyes, pidof returns its pid22:24
freemangordonweird22:25
freemangordoncould you stop h-s-m , offline/online and start h-s-m again22:26
freemangordonto see if it will behave22:26
freemangordonor:22:28
freemangordon#!/bin/sh22:28
freemangordonDEBUG_OUTPUT=1 G_MESSAGES_DEBUG=all /usr/sbin/dsmetool -t '/usr/bin/hildon-status-menu >> /home/user/hsm.log'22:28
freemangordonchange /etc/X11/Xsession.post/15hildon-status-menu to be ^^^22:28
freemangordonand reboot22:28
freemangordonso we can capture boot logs22:28
siceloi monitored ofono on dbus ... i'm definitely not getting sim to be seen again, unless i poweroff and poweron modem again22:30
sicelowill make that change now22:30
freemangordonok22:30
freemangordonso, are you absolutely, 100% sure you did not change ofono?22:31
siceloyeah :-)22:31
freemangordonls -al /usr/sbin/ofonod22:31
siceloi only mess with ofono on the L5 and N90022:31
freemangordon:)22:31
sicelouser@devuan-droid4:~$ ls -al /usr/sbin/ofonod22:32
sicelo-rwxr-xr-x 1 root root 1302936 Dec 25  2023 /usr/sbin/ofonod22:32
freemangordonright, the same22:32
freemangordonok, please make the change to see what it will provide22:32
sicelorebooting ...22:34
sicelounless the rubber thing next to sim slot is useful for something? i don't think so however ... anyway i no longer have that on my d422:34
freemangordonit is just a cover22:35
freemangordonmine just fell off :)22:35
sicelohsm Log from boot, https://paste.debian.net/1336226/22:39
freemangordonhmm, looks ok22:41
freemangordonand what is in var/log?22:41
sicelohttps://paste.debian.net/1336228/22:43
freemangordonsim status 0?!? what the?22:43
freemangordonok, tomorrow will put way more traces to see what happens22:44
sicelosure22:44
freemangordonthanks!22:44

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