libera/#maemo-leste/ Tuesday, 2023-04-25

Guest96hello, does nokia n900 support basic phone calls?10:06
siceloas of lately, yes :-)10:22
sicelothanks to impressive work by arno1110:22
siceloanyway, it's doesn't work out of the box yet ... but it will hopefully be, soon10:22
Wizzupuvos__: how far did we get with razr? iirc you had it booting, but there was a display issue?16:48
uvos__i dident do anything with the razr, besides boot tmlinds work but yes the razor works, except we have no backlght controll and the display has a timeing issue and jumps out of hsync17:17
uvos__and the modem dosent work17:18
uvos__and ts-buttons dont work, as they are on a different controller17:18
uvos__otherwise it works17:18
Wizzupok17:21
arno11Wizzup: is it easy for you to port pulseaudio-module-cmtspeech-n9xx to chimaera ? i think this module should help me a lot. I already try to build it but can't find the right pulse-core dependency.19:08
Wizzuparno11: ok, I will try, it's a whole different thing though from the code you're trying19:09
WizzupIt will take me 1-2 days though19:10
arno11ok cool thx :)19:13
Wizzupit might also depend on other modules19:14
Wizzupand I don't know if the config is easy, you might have to look at old nemo images for it19:14
arno11yes but iirc other modules are ok19:14
arno11ah ok19:14
WizzupI have a lot of notes on it somewhere I hope19:14
WizzupI will try to find them once these build19:15
Wizzupwhat in particular do you hope to get out of it?19:15
Wizzupdocumenting the current status on the tool you tried so far is still very useful btw19:15
siceloarno11: i just remembered that microphone audio during was also a bit muted in Nemo19:15
arno11i'd like to try it because i hope it helps to switch between 4000 and 8000hz rate19:17
arno11sicelo: ok19:17
arno11Wizzup: yes i will send an email soon :) now i understand quiet well how cmtspeech works19:18
arno11Is someone already try SIP calls on n900 or droid ?19:20
arno11sicelo: Wizzup: i think it should be easy to have calls working OOTB with acceptable latency and good quality using 3G/HSDPA :) only 2G needs a bit of work ATM19:32
arno11And i asked for SIP calls because if it doesn't work, i'm 90% sure it is because of PA config19:33
Wizzuparno11: we can make sip calls on droid4 with twinkle and it works ok20:17
Wizzupwith telepathy-gabble not yet20:17
Wizzupthe calls work, but audio does not come through20:17
arno11Wizzup: ok20:29
arno11Wizzup: finally we probably don't need module-cmtspeech-n9xx :)22:08
Wizzuparno11: ah?22:29
arno11yep. 2g is supposed to work well only at 8000 hz and 1 channel but in fact work well at 4000 adding a bit of latency22:33
arno11everything is due to PA22:33
arno11leste PA version is really good but tricky to setup22:34
arno11so i think we don't need additional stuff22:36
arno11i think they are obsolete compared to what PA is able to do now in chimaera22:37
Wizzupthe additional stuff being?22:38
buZzarno11: soon, pipewire and we'll need to do all this again :D22:38
arno11yes lol22:38
arno11the additional stuff was module-cmtspeech-n9xx22:38
arno11buzz: apparently there is a specific pipewire pckg to stay full compatible with PA22:41
arno11(PA config i mean)22:41
buZzyeah there is22:42
buZzbut thats cheating!22:42
Wizzuparno11: so you got 2g to work ok too?22:42
buZzwhat i find most exciting about pipewire is that it can do pulseaudio-like routing for -video- streams too22:42
arno11buZz: oh nice22:43
arno11Wizzup: yes for 10 sec. lol after that PA cancel latency again22:44
arno11and upload get distored a bit22:45
Wizzuphm22:49
arno11Wizzup: that's normal. it was quiet similar with 3g22:51
arno11the trick is to modify the moment when cmtspeech starts to buffer22:52
Wizzuphm, can't we change how cmtspeech buffers?22:52
arno11yes we can but it's only a request from PA point of view22:53
Wizzupsure22:54
Wizzupbut I mean, cmtspeech writes to this /dev/ node right?22:54
Wizzupthere might be a way to control how that is buffered too22:54
Wizzup(not sure if we need to go down that path)22:54
arno11in fact it writes sound in a real file lol22:58
arno11i changed that to dev/null22:58
arno11and for buffering everything is dynamically changed and controlled by a monitoring process23:01
arno11that's not easy to explain using a small keyboard but the key file to understand is cmtspeech_ofono_test.c23:05
Wizzupok, but what I mean is that this can be tweaked to maybe solve this problem23:10
arno11oh yeah indeed23:11
arno11in 2g mode when the latency is > 100ms everything is fine.23:18
arno11and it's good news23:18
Wizzupgreat23:19
WizzupI think that makes sense23:19
arno11and it means it's not related to frequency23:19
Wizzupprobably makes sense, I am not sure if you can get better latency on 2g anyway23:21
arno11in 2g mode by default latency is less than 20ms !23:21
arno11but according to what i've tested 100-350ms is usually better in sound quality and stability23:26
arno11under 70ms sound quality decrease and call experience is not better imoo23:28
arno11i think if we can get arround 150ms (stable) in 2g 3g and hsdpa it should be ok23:30
Wizzuphonestly I think <200ms is great for gsm23:33
arno11yes definitely23:33

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