libera/#maemo-leste/ Tuesday, 2023-11-28

Wizzupsicelo: did they maybe change the dbus interface or something12:20
Wizzuphttps://kernel.googlesource.com/pub/scm/network/ofono/ofono/+/refs/tags/2.0/ChangeLog12:20
Wizzupdoesn't look like it12:20
Wizzuplooks like 2.1 has ussd fixes for quectel12:21
siceloyes dbus interface is unchanged12:21
WizzupI think we can probably rebase relatively easily then12:22
sicelothey recently changed the ofono atoms stuff. i have not been able to get the org.ofono.RadioSettings interface to appear since then12:22
siceloso no  way to select 3G or 2G anymore ... but it should be a small thing. just need to make time to look into it12:22
Wizzupwonder if that is a bug12:24
Wizzupseems like it is12:24
Wizzupuvos: so this is what the voicecall-manager pt plugin implements https://github.com/maemo-leste-upstream-forks/voicecall/blob/master/lib/src/abstractvoicecallhandler.h12:24
Wizzupand https://github.com/maemo-leste-upstream-forks/voicecall/blob/master/lib/src/abstractvoicecallmanagerplugin.h12:25
Wizzupthis is the interface I use atm from sphone https://github.com/maemo-leste-upstream-forks/voicecall/blob/master/lib/src/voicecallmanagerinterface.h but if we just load the plugin in sphone directly it won't be all that different I suppose12:26
Wizzupuvos: we'd have to pull in some additional code if we would just use their interface as-is12:29
Wizzupdoesn't seem too hard though, if you think that makes more sense12:29
Wizzupor we can hard-fork the code and just modify it to our needs and not care about their future fixes12:29
Wizzuphttps://github.com/maemo-leste-upstream-forks/voicecall/blob/master/src/voicecallmanager.cpp this seems to be what glues things together12:30
Wizzupuvos: but I am finding more than yeah we might not want to just install sfos vc-mgr12:34
Wizzupso we could write code for sphone to just load vc-mgr providers plugins directly, or copy the code to sphone, what do you think?12:34
Wizzupcopying directly would probably make more sense for us: easier to maintain / modify and such, and voicecall-mgr isn't normally packaged on debian anyway (I packaged it for us)12:36
Wizzupuvos: in any case let me know what you think before I proceed to do useless work ;)12:39
Wizzupfreemangordon: ^^12:39
freemangordonWizzup: maybe I am missing the details, but I think using upstream (and not forking) is more sane14:37
freemangordonI doubt they will make drastic changes to the interface with out need14:38
freemangordonpackaging should not be a stopper14:38
freemangordonnot to say if we have that as a package, another UI will be more easy to create14:39
Wizzupwhat do you mean with 'using upstream' specifically14:43
Wizzupto use the tp .so from voicecall-manager but not the binary?14:43
Wizzupas in, not run voicecall-manager, but use it's shared object directly14:44
Wizzupthe 'problem' with voicecall-manager is that it basically does what sphone does, and it actually also talks to mce and such (with wrong signatures sometimes), which we don't really want14:44
Wizzupalso I might have to make some changes to the tp plugin potentially14:44
Wizzupbut they (voicecall-manager) mostly abstracted the code quite well14:44
Wizzupso the way I see it we have a few options...14:45
Wizzup1. talk to voicecall-manager over dbus from sphone (what I implemented currently)14:45
Wizzup2. implement stub voicecall-manager interface in sphone and load voicecall-manager .deb's .so directly (this is as upstream as it gets)14:45
Wizzup3. copy code from voicecall-manager to sphone and modify it a bit to suit our needs14:46
Wizzupplease note that I am 100% confident we will have to make a bunch of changes to the tp code regardless, it doesn't support jabber at all atm (protocol hardfilter on 'sip' and 'tel')14:46
Wizzupthere's also the anonymous caller bit being set14:46
WizzupI think (1) will get us quickly to TP calls, and I might press ahead just to make this work for my devices today/now14:47
WizzupI think (3) will be the easiest for us going forward, (2) would be more tricky since for every change we'd have to recompile the pkg14:47
Wizzupfreemangordon: ^14:47
siceloWizzup: forgive the possibly silly question ... vcm is needed because it has tp integration/support already? or tp is still totally separate?15:01
Wizzupyes, I was looking at it for TP15:05
Wizzupbut we can also just use their TP code in sphone and modify it, rather than run VCM15:05
Wizzupand I have it working now with TP, but apart from a few minor small fixes there is an architectural thing where it replaces a lot of what sphone does for us15:06
Wizzupfreemangordon: do you know if tracker has logs?16:55
WizzupI am also seeing poor pm and now my database is gone again, and tracker-extract was using a lot of cpu16:56
freemangordonWizzup: I think logs are disabled by default18:45
freemangordonisn't ther anything in syslog?18:46
freemangordonWizzup: re vcm - seems I am missing the details, however, wouldn't we want some cooperation with SF guys?18:56
freemangordonlike, they will support debian packaging and in return we will implement jabber or somesuch18:57
Wizzupfreemangordon: that doesn't solve the problems I mentioned19:06
Wizzupalso I found the sfos people to very unresponsive19:06
Wizzupto be*19:07
freemangordonI see19:07
Wizzupfreemangordon: I tried to give the details :D19:07
freemangordonsure19:07
freemangordonok, I don;t understand what are the cons of option 119:09
Wizzupseparate daemon that does all kinds of things like talk to mce, turn screen on, etc19:10
Wizzupwhich sphone already does for us19:10
Wizzupand the same downsides from (2) apply - regarding fixing things19:11
freemangordonok, but if I want to implement tphone someday, I will be able to focus on the UI only, no?19:11
Wizzupwhat is tphone?19:11
freemangordons->t19:11
Wizzupwell, not if you want the actual integration19:11
Wizzuplike, what about mce19:12
freemangordonif vcm already talks mce, albeit some dialect, we shall fix/improve that19:12
Wizzupwhy?19:12
Wizzupwhat will do rtcom logging?19:13
freemangordonbecause it we are to use another dialer someday, not sphone, we'll have to reimplement all this from scratch19:13
Wizzupnot really, the code will still be there19:13
freemangordonwhere?19:13
freemangordonin sphone?19:13
Wizzupsure19:13
freemangordonthat does not make it reusable19:14
Wizzupunless you plan to not use sphone I don't think having another daemon that does the same makes sense imo19:14
Wizzupnevertheless, this is exactly what I did in pull request 419:15
Wizzuphttps://github.com/maemo-leste/sphone/pull/419:15
Wizzupand I run into stupid things like I can't control the privacy/anonymous bit through the interface they offer19:15
Wizzupalso, for any video calls you'll also need some level of control19:16
Wizzupas in, why would we try to 'fix' mce calls for sailfish (not maemo mce) when we have it working in sphone already, is what i mean19:17
Wizzupwe can still try to fix voicecall-manager but most of what it does, we do not need19:17
WizzupI'm pretty sure sfos just uses the ofono provider instead of the telepathy-ring one btw, but that is just a guess19:17
freemangordonyes, I plan to not use sphone, unless uvos decides to implement/accept proper abook integration at some point and give up on his plans to remove rtcom support (iirc)19:19
Wizzupwe can make a hildon gtk2 ui and load it19:19
Wizzupthe ui is already modular19:19
freemangordonit is not about the ui19:19
freemangordonhave to go to the store, brb19:20
freemangordonWizzup: also, I am not sure sphone has any concept of video calls19:31
Wizzupfreemangordon: I just want to get working calls with tp-ring and sip/jabber, what do you think is the best path forward, with not too much effort19:34
freemangordonsphone19:34
freemangordonbut at the same time we shall try to make future replacement as easy as possible. not that 'easy' is applicable here, but I think you get the point19:35
Wizzupsure19:38
Wizzupit's quite funny to me just how hard it is to figure out what params can be set for a tp account19:39
WizzupI am trying to see if anon calls are just enabled by default in tp ring or something and I just can't figure it out19:39
Wizzupfreemangordon: in any case I still don't know how to proceed19:40
WizzupI am just going to try to debug the one problem with anon calls and then I can use this on my device to develop conversations with dsc for sms and such19:40
Wizzup$ mdbus2  org.freedesktop.Telepathy.ConnectionManager.ring /org/freedesktop/Telepathy/Connection/ring/tel/ring org.freedesktop.DBus.Properties.GetAll org.freedesktop.Telepathy.Connection.Interface.Anonymity19:44
Wizzup({'AnonymityModes': <uint32 0>, 'SupportedAnonymityModes': <uint32 3>, 'AnonymityMandatory': <false>},)19:44
WizzupI suppose 0 is just do whatever is requested, or perhaps what the network wants19:45
Wizzupperhaps my provider does anon by default is not specified19:45
Wizzupwhat would explain why this is not a problem on my vm,but it is on my d419:46
Wizzupok, now it works!19:50
Wizzupmdbus2  org.freedesktop.Telepathy.ConnectionManager.ring /org/freedesktop/Telepathy/Connection/ring/tel/ring org.freedesktop.DBus.Properties.Set org.freedesktop.Telepathy.Connection.Interface.Anonymity AnonymityModes 219:50
Wizzupnow sphone doesn't hide my caller id19:50
Wizzupso voicecall-manager doesn't set this connection param19:56
Wizzupthat's a problem19:56
Wizzupin any case, freemangordon, shall I continue with (1) until we decide a better wy?19:56
WizzupI personally think (3) is best fwiw, but it would take a bit more time, but provide us with flexibility19:57
Wizzupwe can always contribute fixes back to them if they are interested19:57
freemangordonWizzup: whatever fits you best20:00
Wizzupthere is also a way to set anonymity per channel20:02
Wizzupfreemangordon: well I might start asking you for help at some point with sip/jabber20:02
freemangordonsure20:13
freemangordonI am a bit overloaded with my RL job, but during the weekend I will have spare time20:13
Wizzupsometimes trying to telepathy is quite frustrating :D20:14
freemangordonheh20:15
ac_laptopwas there a dual-sim version of the n900 ?20:24
freemangordonno20:25
ac_laptopI stumbled upon this20:26
ac_laptophttps://www.ebay.com/itm/186171242846?hash=item2b58abb95e:g:LxQAAOSwykVlWTNy&amdata=enc%3AAQAIAAAA4K7a4ZYdsYv90p5Us9OmAlsrgOpyb48dOYfkDI4peeAgOICveHQaczaPIWZfONDj0JCNaMapNrK0Bre2Y3MjnEELh%2F%2FXUBip4UgdyzH37EsScjojkY9w4p94e3t7OkpCE5hi%2FOplO%2BurHM1uoobpzi%2FGOqpOzlTbvYKUm8YJgCmNgQj2akoaLs7ylWJSdP5jBsvAKrPPLW1W79jvlEdzzzPXFTzxc0rl0F21Vmt1Lh8SSJanLOgF0oIyl2h7x8zW0utcopa3371OVkqNiBD6r8tWea%2BhiB20:26
ac_laptopH%2Bamudx8tHDRu6%7Ctkp%3ABk9SR6b-8fWCYw20:26
ac_laptopsorry for the long link, here's the short one : https://www.ebay.com/itm/18617124284620:28
ac_laptopanyway I guess it's modded hardware20:29
siceloac_laptop: there were lots of fakes too, fyi :-p20:29
siceloas you've been told already, no real N900 was dual sim20:29
sicelopoor people going to lose $5020:31
uvos__Wizzup: having a sphone module that can load vcm modules would be fine by me, as long as you dont have to "poision" sphone core, ie leak details of the vcm modue interface20:49
uvos__freemangordon: what is "rtcom support" the only original rtcom piece used by sphone is rtcom-el, im not planning on dropping that, but eventually i want to add a module that logs allows you to its own sql database, but that dosent affect us here at all20:51
uvos__i am planning on removeing the abook module20:52
uvos__but that is because it dosent do anything that is usefull at this point20:53
uvos__it opens a abook dialog to allow you to select a contact and phone number20:53
uvos__but you might as well use that button in sphone to open osso-addressbook, wich allows you to do the same thing now, while being simply better than the abook dialog20:54
uvos__Wizzup: if you want to do 3 thats fine to by me, but its more work, and in the end the qt code you then have inside of sphone will allways be pretty akward anyhow in a primary glib application20:56
uvos__then again i want to replace the current gtk ui with qt, so this is sphones future anyhow, and is why the inter-module interfaces are all plain c20:57
uvos__not "poision" sphone core ofc dosent mean not adding new functionality required, we just need to think of how to do generic interfaces that fit with all the other inter-module interfaces21:00
uvos__im happy to do this part21:01
uvos__that includes add video calls, atho i think this is really not a priority at all atm.21:01
uvos__and will be hard to do in a system where i expect the provider of the video call and the ui to not leak toolkit details to eatch other, while avoiding copying things around.21:03
Wizzupuvos__: thanks, I am not sold on the loading vcm modules directly21:49
Wizzupfeels very hacky21:49
Wizzupuvos__: to me (3) seems more future proof, we already have qt code in sphone now with telepathy qt and it works fine21:55
uvos__for 2 i was thinking having a shim.c file that we compile with the module sources to compile sphone native modules from vcm sources22:08
uvos__not loading the vcm modules as is22:08
uvos__but keeping the source files close enough to keep merging sfos patches in22:09
Wizzupso sfos rarely touches this, like less than twice a year or so22:09
uvos__Wizzup: sure @ qt code in sphone, its just akward as long as this is the only qt part, and the ui is still gtk, so mostly near-ish term22:09
uvos__Wizzup: ok22:10
Wizzupwell I already did this in the current pull request (mapping qt to gtk)22:10
WizzupI mean their code doesn't even let you set anon calls or not22:10
uvos__you mapped qt to sphones moudle interface22:10
uvos__wich is not gtk22:10
Wizzupso I bet they might not use it22:10
Wizzupyeah, ok, sry :)22:10
uvos__i mean we can evolve 2 into 3 slowly prety smoothly22:11
uvos__so maybe we should do that22:11
uvos__but whatever you like best22:11
WizzupI am not sure what the benefit of 2 would be if we don't plan to do it long term I think22:15
Wizzupargh, now the modem of my VM resets when it goes online :)22:17
Wizzuplife is just full of struggles22:17
Wizzup:D22:17

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