libera/#maemo-leste/ Wednesday, 2024-07-10

freemangordonWizzup: got it working without hacks, it even works properly when call is received while OMP plays music14:29
freemangordonbut, can we jump to newer than 6.6?14:29
freemangordonas otherwise I will not be able to send a patch upstream, as audio-card-graph2 has changes after 6.6 will will not allow the patch for 6.6 to be applied14:30
freemangordons/will will/which will/14:31
freemangordonBTW, I am going to push the chages, if you don't mind14:31
freemangordonuvos: ^^^ ?14:32
Wizzupplease do push, we *can* go for newer than 6.6, but I would like to aim for 6.6 firs14:32
freemangordonok, will do14:32
freemangordonand will think of upstreaming afterwards14:32
Wizzupso we can have a 6.6 branch for us and then work on a 6.newer branch?14:32
freemangordonyes14:32
Wizzupfreemangordon: do you test with sphone's ofono backend or the voicecallmanager one?14:32
freemangordonwhatever comes as default14:32
Wizzupalso you cannot comprehend how happy I am with this news, truly14:32
Wizzupin devel that is voicecallmanager14:33
freemangordonmhm14:33
freemangordonBTW, sphone  does not survive PA restart14:33
freemangordonok, lemme clean-up the patches and push14:33
Wizzup\o/ \o/14:35
freemangordonWizzup: https://github.com/maemo-leste/droid4-linux/commits/maemo-6.6.y/15:48
freemangordontmlind: please have a look if you have some spare time15:49
freemangordonI have no idea if that's the proper way to do it :)15:49
freemangordonalso, I think set_tdm shall be removed too15:49
freemangordonfrom cpcap that is15:49
freemangordonthough that might be needed for BT etc15:50
freemangordonWizzup: please, make new kernel release for experimental, so the others to be able to test15:52
freemangordonwe need uvos to merge messing patches though15:53
freemangordon*missing15:53
freemangordontmlind: I think https://github.com/maemo-leste/droid4-linux/commit/3e9ab86f6b6c90495a12e3bc92487b211bded86b shall be dropped, however, I was not able to find anything about https://github.com/maemo-leste/droid4-linux/commit/3e9ab86f6b6c90495a12e3bc92487b211bded86b#diff-3943bf3a33be67e51248be2256236bc49d57d158b6963870c0410b4853303cf7R139615:58
freemangordondo we have a knob for that? or, shall I create one?15:58
Wizzupfreemangordon: the charging patches?16:11
freemangordonWizzup: yes, see yesterday's backscroll16:13
freemangordon"(17,29,37) uvos: yeah i missed merging in the whole cpcap-charger feature branch"16:13
Wizzupyeah17:14
WizzupI don't know where this branch17:21
freemangordonlets wait for uvos maybe17:25
freemangordonhe said he'll merge them17:25
Wizzupimo we can just build one now and do it again later17:28
WizzupI'd like to toy with it17:28
Wizzupwhat branch did you push to?17:28
arno11Wizzup: btw for the n900 dts mess, i know what to do to avoid that, so if uvos have no time to check, i can make a PR if you want (and remove the 850 freq)17:29
freemangordonWizzup: 6.6.y17:32
Wizzupdo we need modified UCMs?17:32
freemangordonno17:32
Wizzupsweet17:32
freemangordonhowever, I am not really sure about this https://github.com/maemo-leste/droid4-linux/commit/d935fcb8b3fcb87947317073c88a7aa7816518c8#diff-ebae04ce1c30a63fd60be92eb12f924f07a3e95128805c3fdc9b2e94a0bc04f0R10717:33
freemangordonlike, it works, but I have NFC why :)17:33
freemangordonIOW - I don't know if we need ("Voice Call Capture", "Internal Mic") c2c route17:34
WizzupI'd have to read what the routing part in the soundcard does17:34
freemangordonplease do, I am having hard times understanding that17:35
freemangordonI am almost sure this route should not be there, however, all my tests were performed with that present17:39
freemangordonWizzup: another issue with sphone, besides crash on PA restarted - there is no ringing tone if OMP plays music when call comes. OMP properly pauses the music though17:41
freemangordonbbl17:42
uvosi dont think this is a issue with sphone18:18
uvosrather mafw dose something wierd or pa breaks. for the ringtone sphone dosent do anything with pa at all no switching of any kind no restoreing of volumes or anything like that18:19
uvosit simply delegates gst to play a file - thats it18:19
uvosi see no reason why omp would pause besides pa breaking and omp pausing because pa no longer accepts samples on its soccet18:20
uvos(due to it being in a bad state or it crashing)18:21
uvosor its the kernels fault, with the kernel changeing something due to the modem comeing in voicecall state early maybe18:23
uvosbut again here sphone dosent post a single call to pa's interfaces untill the call enters the active state18:23
uvosyou can double check this by not loading sphones pa module at all - the ringtone is played by its gst module which only communicates with gst so that will still work18:26
uvosyou will note that the behavior is exactly the same18:26
Wizzupuvos: can you link to the cpcap charger branch so I/you can merge it in?21:05
Wizzuparno11: then we can also get the n900 fix in21:05
arno11yep21:14
arno11Wizzup: so do you want a PR ?21:15
Wizzuparno11: that works for me21:18
arno11ok21:18
uvosdont bother21:40
uvosi have done this allready21:40
arno11argh i just opened a PR lol21:40
uvoswell i said id do it :P21:41
arno11ok thx :P21:41
uvosfreemangordon: uh can you not do this sort of thing https://github.com/maemo-leste/droid4-linux/commit/351358e32794e60ee39e895a01b1153c73e7492d21:42
uvosregarding moveing beyond 6.621:43
uvosi am against it21:43
uvossince we do tend to get stuck on kernel versions for this reason or that reason21:44
uvosand i really really want to be stuck on a lts21:44
uvossince that gives us plenty of time to figure out whats wrong with the new kernel21:44
uvoswe can upgrade again in nov/december when this years lts gets released21:45
uvosWizzup: freemangordon: is there something else missing here or shal i tag a release?21:45
Wizzupuvos: ok, where is the stuff pushed?21:50
Wizzupthere's n900 dts and charger stuff for cpcap21:50
uvos6.6.yh21:50
uvosbtw vcm has some code that seams to deal with audio routing21:53
uvospossibly that its breaking things by doing things we dont want21:53
arno11Wizzup: btw on n900 there is still the 6.6 headers error with iphb-dkms21:56
arno11but according to irc logs you already fixed a similar issue in march (with arm64)21:57
Wizzupuvos: thanks, I think we should do an experimental build22:21
Wizzuparno11: ok, thanks for doing the digging, I'll promise to take a look tomorrow (got up at 4am so I'm kind of wrecked now :))22:21
WizzupI wonder if dpkg -L shows anything obviously wrong between the header packages for 6.1.x an 6.6x22:22
arno11ok no probs man ;)22:26
freemangordonuvos: you are against what? the patch you linked basically implements the specs22:40
freemangordonand I will send similar patch for upstreaming22:40
uvosfreemangordon: i dislike the fact that its called just xxx, when i inevitably have to rebase this stuff for the next kernel i will be looking at this patch trying to figure out if we still need it22:42
uvosit being called just xxx wont help22:42
freemangordonoh, did I really do that?22:42
freemangordonsorry22:42
uvosnp22:42
freemangordonI just named it loke that to merge it to upstream tree and forgot to rename it afterwords22:43
uvosok, i see22:43
freemangordonmaybe rename it and rebase22:43
freemangordonor I can do that22:43
uvosi dont want to force push this atm22:43
uvosas Wizzup and arno are working on things i think22:43
freemangordonagain, sorry, that was just an overlook22:44
uvosno worrys22:45
uvosbtw i found the bug that causes sphone to fail on pa restart22:45
uvoswill fix22:45
freemangordonI was so happy that everything works properly that forgot to rename the patch22:45
freemangordonok, thanks22:45
freemangordonuvos: mafw/omp behave properly: OMP *pauses* playback on incoming call and *resumes* on hangup22:46
freemangordonthere is no bug there22:46
uvosit should pause when pa disconnects the stream22:47
freemangordonyou can see the playback/pause buttons change22:47
uvosbut this should only happen when sphone switches ucm profile22:47
freemangordonno, it pauses before that ;)22:47
freemangordonwhich is the correct behaviour22:47
uvosno one is telling it to do this22:47
uvosafaik22:47
uvosi would not know who22:47
uvossphone dosent do anything before the call is accepted22:48
freemangordonI have to check how it know, but, music should stop playing on call, no?22:48
uvossure but its not implemented22:48
freemangordonit is22:48
freemangordonin OMP at least22:48
freemangordonyou can check it by yourself22:48
uvossure22:48
uvosbut the other side is not implemented22:48
uvosor at least nothing in the stack i know of dose this22:49
uvosfor sure not sphone22:49
freemangordonyeah22:49
freemangordonmaybe if it use notifications (as you proposed back then) it will work properly22:49
uvoswell notifications dont do ringger22:49
uvosthat was just for sphone-sms which just i now use anyhow22:50
uvosregardless the ringer not working is very puzzeling as sphone only calls gstreamer22:50
freemangordonactually they do22:50
uvosas a totaly normal application and dose not do any profile switching until the call is accepted22:51
uvosbesides i can repo the problem with sphones pa module not even loaded22:51
freemangordonyes, I understand22:51
uvosso something is up somewhere else, but i dont know what22:51
freemangordonmhm22:51
siceloi assume OMP gets info via mce?22:51
freemangordonmaybe libplayback or dunno22:51
freemangordonyes, most probably22:52
sicelos/info/call info/22:52
uvosiirc mce recives call state22:52
uvosbut no interface for anyone to recive the call state from mce22:52
uvosnvm it dose22:53
freemangordonsig_call_state_ind22:53
uvosok maybe omp direcly asks mce for a the call state22:54
freemangordoncom.nokia.mce.signal22:54
freemangordonno, mce sends signal22:54
uvossure22:54
freemangordonhttps://github.com/maemo-leste-extras/openmediaplayer/blob/master/player/missioncontrol.cpp#L6222:54
uvosso yes ok maybe omp recives the state from mce22:54
uvossphone dose tell mce about the ringging state22:55
uvosbut that dosent explain why gst fails to play sphones audio, but only in the ringging state (and call ofc but thats expected)22:55
uvosit works fine if you trigger sphones ringger by hand22:55
uvosthe code in sphones gst plugin goes down the happy path with no errors too when this happens22:56
uvosso yeah not sure whats going on22:57
freemangordonwell, that's not a big issue22:58
freemangordonbut what I think is a biggher issue is the power usage22:59
freemangordonmy battery went fat for 3 hours or so22:59
freemangordonmaybe because of the missing patches, dunno22:59
freemangordonbut Wizzup said something about cpufreq22:59
freemangordonhmm, IIRC on 6.1 scaling governor was menu23:14
freemangordonnow it is ondemand23:14
WizzupI think we can make this a config change easily23:14
uvosthis makes essentally no difference for pm23:15
arno11it was already ondemand in 6.1 btw23:15
uvosif its dieing in 3h there is some other problem23:15
uvosbut the scaleing frequencies are almost irrelivant23:15
uvosbecause the cpu should spend all its time in ret anyhow23:15
freemangordonmaybe missing iphb is the reason23:25
freemangordonwill check again with a properly built kernel23:26

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