libera/#maemo-leste/ Wednesday, 2025-05-21

dsc_stuck for past few hours on this one https://plak.infrapuin.nl/selif/zdz4uezc.png :p00:00
Wizzupit should be the daedalus branch of image builder00:01
Wizzupwith submodules00:01
Wizzupand then00:01
Wizzupcd vm-sdk00:02
Wizzupzsh -f -c 'source sdk && load devuan maemo && build_vm_dist'00:02
dsc_yeah that's fine00:04
dsc_toor00:04
dsc_whoops00:04
dsc_setting apparmor=0 to grub cmdline does not work (as per debian wiki), which is something I observed earlier00:16
dsc_I am also purging apparmor in the `finalize_purge_packages` of our image-builder .config00:17
dsc_very strange00:17
Wizzupand here we are getting funding to bring apparmor support as first class citizen to our devices ;)00:19
dsc_thats fine, but not for my dev environment00:20
Wizzupsudo apt remove --assume-yes --purge apparmor00:20
Wizzup?00:20
dsc_i think perhaps apparmor is a dependecy of another pkg maybe00:20
dsc_yeah im purging etc.00:21
dsc_its strange00:21
dsc_https://plak.infrapuin.nl/selif/k6ikrrhr.png00:21
dsc_trying to remove+purge `libapparmor1` here00:21
dsc_anyway, I am in maintenance mode because of the bad mountpoint thing00:23
dsc_ok nice, /etc/fstab just had empty UUIDs01:01
freemangordon1sicelo: there is   OFONO_ATOM_TYPE_SMS which can be used to register watch in ofono on new sms arrival07:30
freemangordonI wonder if SF guys use that somehow07:38
freemangordonhmm, what about if we do ofono dbus activation?07:45
freemangordonthat way we can make sure tp-ring(or whoever wants sms-es) is the first to start ofono07:47
sicelocellulard would also activate it. maybe it's cellulard that should be dbus activated.07:53
freemangordonit does not expose any dbus interface08:07
Wizzuparno11: on swap, I think we just remove any swap entries from the image builder and fix it here yeah? https://git.maemo.org/leste/leste-config/src/branch/master/debian/leste-config-n900.postinst11:14
WizzupI think the main issue is that we want the image builder to write a rootfs line11:14
freemangordonanyone with SFOS phone here?11:33
sicelostill thinking about the sms issue?11:41
sicelomaybe one of us can join their irc chat room and ask11:41
siceloi guess piggz would know, and he generally is in there11:41
siceloi'll ask on telegram ... i think he's also there, and maybe others who know11:47
arno11Wizzup: yeah @swap12:29
arno11the last stuff that overrides fstab is arm-sdk/extra/n900/etc/fstab iirc12:31
arno11@rootfs, no clue about the proper way12:32
freemangordonsicelo: yes, still about sms issue12:37
freemangordonI really wonder how they solve it12:37
Wizzuparno11: yeah the rootfs is the mai issue12:45
Wizzupmain12:51
siceloWizzup: btw where are we taking one cpu offline on the d4? i checked in leste-config-* but doesn't seem to be there14:49
Smatkovihas anyone attempted cross-compilation on a pc for armv7?14:49
gnarfacei did it for armv8, the process shouldn't be much different14:51
gnarfaceit should basically work everywhere14:51
Wizzupsicelo: I think this is part of mce14:57
Wizzupand we do this to save power when the screen is off14:57
sicelowe may want to revisit it at some point :-)15:01
siceloif  compiling via ssh, then you may want the 2nd core ;-)15:01
Smatkovignarface.15:09
Smatkovisry. @gnarface how did you do it?15:09
WizzupSmatkovi: I am not sure what your goal if but usually it's enough to make the applications work on the amd64 VM15:13
Wizzupthe CI/CD will cross compile your program15:13
Wizzupunless you're running into architecture specific bugs?15:13
dsc_https://plak.infrapuin.nl/selif/qv8hy9aa.png <== top bar not quite right, perhaps missing a package, or anyone who knows how to get 'the extra things'15:18
Wizzupcheck that hildon-meta is installed15:20
gnarfaceSmatkovi: installed some packages, set one extra variable... it was easy in devuan15:20
gnarfaceso my limited understand of it is, you basically just install the right cross-compiler packages and then set the CROSS_COMPILE environment variable to the right value to use them15:28
Smatkovii see, thanks. i want to compile organicmaps from the source repo, but with all dependencies it's about 11GB in size15:32
Smatkoviso i thought i would compile it on the pc in virtualbox until i  found out those images are amd64 images15:33
gnarfacei've only really done it with kernels and u-boot, but 11GB sounds completely normal15:34
dsc_oh, topbar was fine, just no accounts active15:35
gnarfaceSmatkovi: alternately you could boot an armv7 VM in qemu and build it there, but it probably will still take up a lot of space15:35
Smatkovithat's a good idea gnarface15:36
WizzupSmatkovi: yes, organicmaps is hard to compile, even just on amd6415:39
Wizzupdid you manage to build a recent version? I have one from the start of 2024 or so, working on amd6415:39
Smatkoviokay maybe i'll try with amd64 first15:41
dsc_could you enable the 'release' feature for this repo so I can upload a 1.4gb .zip: sanderfoobar/vm-image-gui-dev16:51
dsc_Wizzup: ^16:51
dsc_Wizzup: disregard, forked repos cannot create releases17:03
dsc_iirc17:03
Wizzupdsc_: I think it would be better to serve large images from maedevu17:04
dsc_yeah, but this VM is kind of "my hacky thing".. not sure17:05
dsc_people may have other expectations when its hosted there ^^17:05
sicelowhat's different in this vm?17:09
dsc_sicelo: https://git.maemo.org/sanderfoobar/vm-image-gui-dev#features17:10
dsc_it just bootstraps with the things I need (no apparmor / more packages / more swap, cpu/mem)17:10
dsc_no password SSH login :P17:11
siceloah :-)17:11
dsc_and run all Telepathy related things in debug by default + logs17:13
Smatkovii used libstdc++-11 and removed the u flag from "set -eo pipefail" in tools/unix/version.sh and now it compiled in the vm without errors18:06
Smatkovii mean organicmaps18:06
Wizzupsmatkovi, that is great!18:12
Wizzupwhat version is this?18:12
Smatkovii don't know which version i just cloned the repo from the site you sent a few days ago18:15
WizzupSmatkovi: can you share which?18:22
uvosfreemangordon: dbus activateing ofono wont help you19:13
uvossince it could be sphone rather than ring that wakes ofono or celluard or so19:14
uvosso it still could start before converstations/tp is ready19:14
Smatkovii'm on 2g now, but is it enough that it is from the maemo-extras repo you shared?19:14
Smatkoviotherwise i can tell on friday the latest19:15
uvosalso if you dbus activate ofono from ring who onlines the modem and how dose it know when19:15
uvosfreemangordon: the only solution to use this i can se interface is how it worked before we had conversations and cellulard. In this case sphone did everything, it connected to ofono and then onlined it, ofc knowing that itself was ready to handle incomeing calls/sms on dbus19:17
uvosi would suspect that sfos works the same way19:17
uvosthis was still ofc sligtly broken, as nothing handles missed events while sphone was restarting after update or had crashed or whatever19:18
sicelosphone used to online the modem?19:19
uvosyes original pre maemo sphone onlined the modem19:19
uvosi removed that pretty early (while makeing ofono support a module) but it did19:19
siceloright. i just never remember that happening on Leste, but as you say, it didn't really do so here19:20
uvosanyhow the only way i can see to use this interface semi correctly is to have one process handle everything19:21
uvosbut then i have no idea why ofono bothers with the dbus interface intead of being a lib :P19:21
sicelothis issue would not be solved by being a lib though :-)19:24
uvossure it would then you would force there to be only one client and ofono would always start with its client19:24
uvossince only one process can open the modem kernel interfaces19:25
uvosonly one process gets to use the ofono lib to online the modem :P19:25
Smatkovibut i have to say i compiled the amd64 version, so i will have to try crosscompiling19:26
sicelommm, 3G data works for anyone (droid4)?19:28
uvosnot since it was shut of in germany19:28
uvosbut it did work before that19:28
siceloat least when i select it from the dialog, there's no activity on ofono's (d)bus19:29
uvosi dont think i ever set the tech preferance19:29
uvosit was just on auto by default and it did choose 3g while that was still available19:29
uvosso could be that the ui for that never worked19:30
sicelos/3g data/mobile data/19:30
uvosoh19:30
uvosyeah that worked too f19:30
uvosfor sure19:31
uvosbut i think while there still was 3g in ger we where still at the state of seting that up manually19:31
uvosso could be that that never worked via icd19:31
Smatkovihttps>//git.maemo.org/leste-extras/organicmaps was the repo i used19:32
siceloit has worked. let me try with raw dbus calls19:32
sicelommm, not working with direct calls to ofono either. freemangordon or Wizzup , does it work for you?19:38
Wizzup@smatkovi, yes, that repo does work for amd64, but it's 1-2 years out of date I think19:52
Wizzup19:13 < uvos> freemangordon: dbus activateing ofono wont help you19:53
Wizzup19:13 < uvos> since it could be sphone rather than ring that wakes ofono or celluard or so19:53
Wizzup19:14 < uvos> so it still could start before converstations/tp is ready19:53
Wizzupit's not about activating ofono, it's about setting the modem to online19:53
Wizzupit's pretty simple, don't online the modem in cellulard until we are ready19:53
uvosright, onlineing the modem after sphone and converstaions singal ready (somehow) would mostly hide the issue19:54
Wizzupwe get to decide what signal that is: tp-ring being on dbus, h-d ready signal, whatever19:54
Wizzupit wouldn't hide the issue, it would make things work as intended :p19:54
Wizzupyeah, right, ok, I didn't think about conversations and sphone as well19:54
Wizzupbut we control when we start those (in xsession)19:54
Wizzupso that's easier than tp-ring autostart19:54
Wizzupbut if we assume that conversations causes tp-ring to start, we're mostly there I guess19:55
uvosi say hide as i mean the fact that a call or sms can get permanently lost is not great19:55
uvosthe issue here is also that ofono acks the incoemeing signal from the operator19:56
uvoswith ensureing that something handled the event19:56
uvosif it dident the operator would try again later19:56
uvosthat includes even incomeing emergency messages19:56
uvosso a crash of ofonos client can cause lost messages19:57
uvoswhile in a well implemented stack that dosent need to be possible19:57
uvos*with out ensureing that something handled the event19:57
siceloyes, i think we're all in agreement that ofono is at fault for not implementing a cache (or similar) for messages until it is sure they have been processed20:00
WizzupI mean it seems like a design decision but yeah21:10
Wizzupofono is kind of real time I suppose: they want to react quickly21:10
arno11indeed, conversations seems to cause tp-ring to start. at least that's what i see on my n90022:00
arno11and it happens very late, like at the end of h-d loading22:01
siceloarno11: i believe 2G/3G is still working on your N900?22:07
arno11yes working fine22:07
sicelosorry, meant gprs22:07
arno11gprs is ok as well22:08
arno11at least the last time i tried22:08
siceloah, another SIM works ... so something's up with my first sim. will investigate on N90022:13
arno11(will check gprs now)22:15
arno11sicelo: yeah gprs ok, currently using it :P22:19
siceloyeah, it was on the Droid 4 where i wasn't sure, but have found that a different SIM does work22:19
arno11ah ok22:20
arno11currently testing telegram in 2g22:21
arno11*gprs22:22
arno11works fine22:24
arno11funny that a so old network is usable with modern messaging22:34
WizzupI did a call test on the pinephone daedalus and it works23:22
Wizzupcool23:22
arno11nice23:42

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