libera/#maemo-leste/ Thursday, 2024-06-13

kivaosso-xterm is the best terminal for Pinephone Keyboard, but to plain Pinephone it is almost unusable...is there any skill full enough compile fingerterm that is originally to N9 and Jolla terminal to Leste: https://github.com/reMarkable/fingerterm13:11
kivaI tested it with Jolla Phone (it is default terminal in developer mode) and have to say it clever in many ways.13:19
kivaalthough that github page says that is ugly hack to make work those devices, I think it is quite mature and does not have issues.13:27
kivaThis should merge to Leste for Pinephone Keyboard: https://talk.maemo.org/showpost.php?p=1575761&postcount=4613:42
uvos__not sure how hard that would be, depends on how mutch it depends on jolla specifics like the jollavkb14:26
uvos__mainly i think it makes more sense to improve/replace hildon input method14:27
uvos__since the vkb bein terrible is a problem in lots of places on ts only devices not just the terminal14:27
Wizzupuvos__: so I'm thinking it might make the most sense if we (maemo) fork sphone and change it to fit our needs and then figure out how we can merge some of the features back, because I feel like I keep running into problems where what I want to do and build doesn't match what it is that you want to do. I want to make a maemo-native call client with nice tp and rtcom integration and your view is14:31
Wizzupdiametrically opposed where you want a generic thing that run everywhere14:32
Wizzupwe could put sphone in the extras repo and make it possible for people to install it and replace whatever fork I might come up with so that users can decide what they want to install14:32
Wizzupbut I'm finding it very demotivating to work on this and I don't want to continue working on it this way14:32
Wizzupno hard feelings, I'm just noticing that it's actually having a pretty negative impact on my general willingness to work on this14:34
sicelomight be mistaken, but i seem to think there was a Fremantle port of fingerterm14:50
uvos__Wizzup: your welcome to do whatever you like, but that patch is simply fundamentally broken15:05
uvos__you cant change how sphone logs events without also changeing how it interprets those events when reads them, this breaks literally everything that touches events15:05
uvos__you cant force all plugins names to change thair display names to apease the logging plugin15:06
uvos__and yes i know since the backend id is for that instance of sphone only that that atm sphone dosent give you a uid for the pluin to use besides the display name15:07
uvos__but the way to solve that is to extend sphone to add a concept of a backend uid15:07
uvos__not to simply force every display name into some scheme15:07
uvos__you also have failed to explain where exacly there is a requirement for sphone to log as ring/ in other code used in leste15:08
uvos__since this is wrong after all its not ring/ that is loging its sphone15:09
uvos__ultimatly sphone needs some way to know for an event in the db that 1. it loged it itself and 2. some specific backend is associated with this event15:09
uvos__this may need the database format to change somewhat15:09
uvos__maybe by adding a agend field for sphone to put sphone/ofono or something like that15:10
WizzupI don't think sphone needs to know that it logged it itself15:11
WizzupIt just needs to know that it was a phone call that it can show15:11
WizzupSaying that it can't be "ring" is fundamentally misunderstanding how it works15:11
Wizzupring never logs to the db, conversations does, sphone does, and on fremantle, rtcom-call-ui and rtcom-messaging-ui does15:11
Wizzupring is just the connection manager15:11
Wizzupif conversations would log as "conversations/ring/tel/account0" that would be very wrong and sphone shouldn't do it either15:12
Wizzupfor the record I changed my db with a single update query and I haven't seen the recent calls break at all15:12
uvos__there is no "wrong" i want a way to detemine who logged an event15:13
uvos__Wizzup: yes you did15:13
Wizzupthat is fine, rtcom doesn't let you use local_uid for this15:13
Wizzupso don't use it for this purpose15:13
uvos__sphone cant detemine the backend anymore for the events you changed15:13
uvos__or it would log post pathc15:13
uvos__so it cant call those events back in recents15:13
uvos__it will try the default backend15:13
uvos__but that can be wrong ofc15:14
uvos__same with sms15:14
uvos__the patch as is is simply unworkable for this reason and the missuse of backend->name15:15
uvos__regardless of how the db shall look15:15
WizzupI saw that and suggested that you can add some other field so that the name can be something sensible15:15
uvos__yes thats fine adding a concept of a uid for the backends is a good idea15:16
uvos__altho i would prefer this to be a uint64 or so15:16
uvos__but that dosent change that this patch is nak as is15:16
WizzupI already closed it because I don't feel like workng on it15:16
uvos__that that was also pointless15:16
Wizzupa uint64 would be very limiting and I don't think it makes sense15:17
uvos__since the bugfixes for vcm are fine ofcourse15:17
Wizzupno, they're pointless without rtcom logging the way it's supposed to be on maemo15:18
Wizzupthe local_uid literally is the backend identifier and the associated account, it belongs in local_uid in that way and without it it's pointless15:19
uvos__thats totally unrelated to vcm not performing hangup correctly15:19
uvos__and sure we can find a way to do this, but your patch is not the way15:20
uvos__form sphones perspective it being ring/ is btw not ideal because this leaks an abstraction detail sphone uses vcm and vcm happens to use tp/ring and ring happens to use ofono15:21
uvos__and this leaks a implementaton detail from 2 layers below sphone into sphone so its not ideal from that perspective too15:21
uvos__so i think it makes sense to understand where exaclty it is nessecary for it to be ring/ exactly and nothing else15:23
Wizzupthe local_uid is the (tp) account name15:23
Wizzupand since this is used by not just sphone but other places too, it has to match15:23
Wizzupso if the sim card is used to send sms or call, the local_uid needs to be the same15:23
uvos__ok and what happens if at some point its not tp15:23
Wizzupparsing the local_uid to extract bits is not how it's meant to be used15:23
Wizzupthen it'll just be some other opaque string15:24
Wizzuplibpurple/whatever/somename15:24
Wizzupor just 'ofono' if you want15:24
Wizzup(which wouldn't work with multi sim)15:24
Wizzupnote that conversations does do some local_uid parsing to allow one to filter by all messages from a specific protocol, but it doesn't try to match a part of it to some backend, the string as a whole is used for that15:25
uvos__ok and why is it nessecary to assoicate something with a tp account? anyone wanting to deal with this event to call back the assoicated contact or so15:26
uvos__should be asking sphone to do so15:26
uvos__this is also why i want there to be some way to id who logged the event15:26
uvos__to know who to ask about it for eg. a call back15:26
Wizzupnot a tp account, it's a opaque identifier for finding the associated way to talk to it15:26
Wizzupyou don't need to id who logged the event, you just see if you have a backend that says it owns local_uid15:26
uvos__right so whats wrong with sphone/vcm/account0 vs ring/tel/acount015:27
Wizzupit doesn't match anything on the system15:27
Wizzupand it'll make the sms and calls seem to come from different accounts/simcards15:27
uvos__this gives you who to ask (sphoen) it gives sphone who to use (vcm) and the account15:27
Wizzupand it won't group well15:27
Wizzupvcm is irrelevant here, ring is the one doing all the work15:27
uvos__its relevant to sphone, sphone must what backend to use for the event15:28
uvos__and thats vcm15:28
uvos__vcm using ring is something sphone dose not know about15:28
Wizzupno, sphone just checks with it backends if any of them is ring/tel/account015:28
Wizzupand then it knows15:28
uvos__and ideally it should not know about this since its an implementation detail15:28
Wizzupit doesn't have to parse local_uid at all15:28
Wizzupit just matches it15:28
uvos__still not ideal since now you rely on vcm using ring and not grand_new_connection_manager15:30
uvos__anyhow this is small fry15:30
uvos__compared to the 2 main problems with the patch15:30
WizzupI think for me to address these we need to decide how to change the logging style15:32
uvos__not really, just add a uid string to the backend struct and the assocated code that matches based on it in backends, calls and messages15:34
uvos__then the loging code can use that uid or local_uid15:34
uvos__and what we have the backends set this strng we can fight over15:34
uvos__*then the loging code can use that uid for local_uid15:35
WizzupI think that is what I suggested on the pr15:36
WizzupI'll see if I can find some energy to do it today15:36
uvos__yes i did not reject that15:36
uvos__i reject the patch as is15:36
Wizzupbtw, at this point I'm 99% sure the call issues are kernel related and not vcm15:36
uvos__please also reopen the pr without the offending patch15:36
uvos__btw i added dtmf support15:38
uvos__not that it works since no backend supports it15:38
uvos__but the ui and sphone-core now dose support dtmf15:38
Wizzupok, it is pretty simple to add this to vcm, but of course with our ofono this still won't work15:41
Wizzup(but a temporary amixer hack would make it work on mapphones)15:41
uvos__dtmf can be implemented by any plugin15:41
uvos__so we could have a dtmf-alsa pluging just for mapphones15:41
uvos__untill we make it work via ofono15:42
WizzupI think the ofono 2.x has support for it now in the qmimodem, but we don't know how that fares on mapphones15:44
uvos__yeah, no idea ofc15:44
uvos__btw sphoen will also now throw an error as a message box when the sms ui is opened but no plugin is servcing sms's15:46
uvos__this is not as good as some solution that removes the related desktop files15:46
uvos__but at least no longer simply nothing happens15:47
Wizzupideally the desktop files would be split into some additional pkg15:47
Wizzupthen this can be controlled by installing sphone-ofono or sphone-vcm or something15:47
uvos__more like sphone sphone-call and sphone-sms and the packages have the related plugins and a config file to activate the feature15:48
uvos__and the related desktop files ofc15:48
uvos__anyhow im not great with debian packaging15:49
uvos__so i need expirament with how to make this work15:49
WizzupI think you can make debian/sphone-ofono.install and have the .desktop files be listed there15:50
WizzupI can do it if you know how you want it15:51
uvos__not yet15:51
uvos__also i think i need to rething how Modules= works in sphone.ini (also for mce) because this will be a mess15:52
uvos__with multiple packages with config files all overrideing Modules= turns into insanity15:52
Wizzupwith leste-config it might not be necessary to worry too much about it15:54
uvos__nah it will15:54
uvos__we also want a speical mapphone only module15:54
uvos__that would also override modules=15:54
uvos__just dosent work with so manny cobinations15:54
Wizzupok16:01
WizzupI got an email from nlnet than we have just under three months to claim the various ports and other funding goals16:02
Wizzupapart from xt1602 most things are working to a degree at least16:02
uvos__may xt1602 got stolen :(16:02
uvos__*my16:02
uvos__i think we can write that one off16:02
uvos__it also worked to a degree16:03
uvos__i did boot to hildon on it16:03
Wizzupdo you have the image around? I have one here16:03
uvos__good question16:04
Wizzupbut yes, I was also considering writing it off for the funding16:04
uvos__will look later16:04
Wizzupthx16:04
uvos__https://uvos.xyz/maserati/screenshots/IMG_20230418_231231.jpg16:05
uvos__here is an image of it16:05
uvos__har har16:05
Wizzuplol16:05
Wizzupbtw the latest vcm stuff also at least makes it possible to hang up xmpp and sip calls without issues16:27
uvos__audio still dosent work or dose it now/16:28
uvos__?16:28
inkyfolks, can u suggest to what to do, i have 2 problems16:31
inkyfirst, when i click on a received audio in dino16:32
inkyit opens maemo media player, and it doesnt play anything16:33
inkysecond is more important. on my droid audio is played with very low volume16:34
inkybut volume is up, and alsamixer shows everythin maximally up16:34
dsc_uvos__: stolen? :P16:35
dsc_some thief is running maemo-leste right now16:35
inkyOmg16:37
inkyMy droid was playing audio ideally16:38
inkyShould i install pavucontrol or pulse is not used anymore? Now we have pipewire? What is the mixer to use?16:40
Wizzupuvos__: no, no audio yet, I don't know why yet16:40
Wizzupbut tp-rakia and sofiasip still works on fremantle so we'll get it to work16:40
uvos__dsc_: yeah i was using it for navigation on my vespa poped into a place for 10 minutes, forgot about that it was attached to the bike and poof gohne on my return16:47
uvos__Wizzup: ok16:47
uvos__Wizzup: not so usefull yet for sphone but progress16:47
uvos__dsc_: the xt1602 running android at the time (dual boot)16:49
uvos__so no thief runing leste16:49
uvos__except16:49
dsc_uvos__: I left my phone in a bar yesterday and after 10min it was still there (thankfuly)16:49
uvos__i also got a d4 stolen at a convetion center in boston16:49
uvos__that one dident have android on it at all16:50
uvos__so this thief is def running leste16:50
uvos__:P16:50
dsc_lol16:50
uvos__inky: check pavucontrol-qt16:52
uvos__inky: this has all the volumes your should require16:52
inkyuvos__: tryint, ty16:56
Wizzupuvos__: right, the issues with audio for sip aren't in sphone but rather vcm or farstream or tp-rakia/sofiasip16:58
Wizzupuvos__: so something needs to act on a dtmf pipe?17:02
uvos__Wizzup: yeah you get a DtmfRequest dwon that pipe17:10
uvos__sphone_dtmf_t in the request is SPHONE_DTMF_* or SPHONE_DTMF_STOP start and stop a dtmf tone17:10
uvos__struct contains a CallProperties struct17:10
Wizzupok, I suppose having something that calls amixer a few times to send a tone would be useful for now17:10
uvos__you are expected to check this to see if you are responsable for dtmf for this call17:11
uvos__the related backend needs BACKEND_FLAG_DTMF17:11
uvos__the gui checks this to see if it needs to present the option for dtmf17:11
uvos__right now only commtest sets BACKEND_FLAG_DTMF17:12
uvos__you can use that to test the code17:12
Wizzupuvos__: btw in case you didn't see, I made a new pr21:07
Wizzupah you saw it21:07

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