libera/#maemo-leste/ Friday, 2023-07-07

CynicalDebianHello, is it possible to mute the speaker and just use the audio jack on Leste on the N900?04:39
siceloyes06:51
siceloi believe that if your system is up-to-date, you'll have ucm2 configured, which probably already does that06:52
siceloif you're using alsamixer or similar, you can just mute the 'Speaker' entry06:52
bencohsicelo: I'd expect pulseaaudio to unmute speaker whenever it feels like it (?)07:33
siceloi think it respects whatever ucm2 says ... but i admit i don't have a lot of experience either07:34
bencohI understood the question as "I never want the speaker to make sound", but maybe I'm wrong07:34
siceloah, i thought they meant muting speakers when headphones connected07:38
siceloootb, both speaker and headphone will output sound simultaneously07:39
bencohah07:43
arno11Wizzup: sicelo: N900 UCM files on gh are buggy with last kernel update. The files from my email (07/02/23) works well.09:56
arno11*work09:59
sicelook10:17
Wizzuparno11: ok, will deploy12:29
Wizzupbuilding now12:33
arno11Wizzup: thank you12:51
Wizzupsorry for the delay12:51
Wizzupnormally I just push it out without testing, but now I was waiting for the chat between you and sicelo to pan out :D12:52
arno11ok :)12:52
WizzupI'm hoping to get close to done with the news post today12:53
Wizzupdo you want to share some story or video regarding n900calls?12:54
Wizzupin the post12:54
arno11thank you but i don't like social web stuff too much lol12:58
arno11i prefer spending time to write a clear documentation for the ML :)13:00
WizzupIt's not really social, it's just updates for people who follow us13:03
Wizzupbut ok :)13:03
WizzupI mean like these - https://maemo-leste.github.io/maemo-leste-new-year-update-may-2022-january-2023.html13:04
arno11yeah i know the news post13:07
Wizzupok13:09
arno11Wizzup: btw i still get troubles with 2G calls. Seems to be link with recent changes in alsa but not sure.13:37
Wizzuparno11: ok13:39
arno11it works but latency is really too low so sound is crappy. Need to find a way in the code or in PA conf to increase it.13:39
Wizzupright13:40
arno11i'll let you know and probably need help to understand WGO13:44
WizzupWGO?13:45
arno11what's going on13:45
Wizzupah13:46
arno11otherwise 3G-3.5G is ok13:46
Wizzupgreat13:46
siceloWizzup: which discussion with arno11? :-)13:50
siceloI would say let's build what we already have, and we'll refine as we go along13:51
Wizzupdid that already13:51
Wizzup:)13:51
sicelosweet13:51
Wizzuplooking to move stuff from -devel to stable13:52
siceloarno11: regarding the earpiece, have a look at pavel's unicsy-demo. He had an asound.state that i believe worked13:53
siceloworked for earpiece, that is13:54
arno11oh cool13:54
arno11should be easy if this asound state works13:55
arno11i'll try to have a look this afternoon13:56
CynicalDebiansicelo: Yes, I was talking about the headphone jack. I was using the image from June 18 2023, so this is something being fixed? Or can I accomplish it in Alsamixer?17:02
Wizzupyou need chimaera-devel17:09
CynicalDebianWizzup: I see, thank you ^_^!17:14
CynicalDebianWizzup: Is that these images? https://maedevu.maemo.org/images-devel/n900/17:31
Wizzupyes, but you can just apt upgrade to them17:33
Wizzupno need to install a new image17:33
CynicalDebianOh ok, by just modifying the sources.list?17:34
WizzupCynicalDebian: yes, sorry, I got distracted with work stuff17:45
Wizzupwe must have an article about this on our wiki17:45
Wizzuphttps://leste.maemo.org/Development#Developing_on_a_device17:45
Wizzupdo this, but replace beowulf with chimaera17:46
Wizzupand ensure that it doesn't say droid4 but n90017:46
CynicalDebianThanks, its updating right now.17:59
Wizzupplease let us know it helped18:15
CynicalDebianWell, now it is booting to a black screen :(. I think this was "user-error" on my part though (I may have accidentally turned it off while it was building the kernel).18:16
CynicalDebianI am able to boot in Fraementle just fine, so I should try with a new image (and upgrade over ssh this time >_>)18:17
CynicalDebianYeah it has been on a black screen for 5 minutes, I will try again later today.18:22
Wizzupoops18:28
CynicalDebian¯\_(ツ)_/¯18:44
arno11sicelo: i tried Pavel's asound.state and i got a bad result: lot of noise, earphone not working and appearing deactivated. Sounds like something else is blocking earphone. That's why i was asking about kernel modules previously.20:43
arno11when i say 'bad result' it wasn't so bad lol but not as good as expected.20:45
arno11Wizzup: i tried few things with 2G calls and still not working properly.20:47
arno11i think it's a resampling issue, so more related to alsa stuff than cmtspeech20:48
Wizzupok20:54
Wizzupso could be related to latency we set?20:54
arno11i think latency is not the root cause20:57
arno11just a consequence20:57
Wizzuphm, well 2g latency is not the same as 3g right?20:58
Wizzuplike in general20:59
arno11yeah very different20:59
arno11i mean it's easy to modify 3G latency, playing with cmtspeec code or resampling21:00
arno11not with 2G21:00
arno11few weeks ago i was able to use soxr resampling to improve 2G latency21:01
arno11it doesn't work anymore21:01
arno11now whatever i do, 2G latency stays locked at arround 20ms21:03
arno11and it's really too low for N900 cpu21:04
siceloarno11: ah ... did you try more of the 'b' alsamixer items?21:04
arno11sicelo: yes21:04
Wizzuparno11: right, but in the past I was able to change this in PA, right?21:04
Wizzupthe latency21:04
arno11it was a bias21:04
Wizzuparno11: btw do you know after what time we can load the nokia-modem module?21:05
arno11good question21:06
arno11i think just after hildon starts loading21:07
Wizzupjust after all the other modules are loaded?21:07
Wizzuphm21:07
arno11yes21:07
arno11we can try before but definitely after all other modules21:08
Wizzupmodprobe.d has a softdep ar21:08
Wizzupg21:08
WizzupI mean otherwise I can just make a script that runs on boot after hildon is ready21:08
Wizzupbut that's not ideal technically21:09
arno11yes indeed21:09
arno11but could be a good start to test the right moment21:09
arno11oh and iirc sphone must start after the modem to avoid ofono/sphone crash.21:17
arno11sicelo: i tried to use block b with my config with no result.21:20
arno11same with Pavel asound.state -block b left and right stuff are in use in his config-21:21
siceloi'll have a look some day. still fighting with some kernel problem21:25
arno11ah ok21:25
Wizzuparno11: do you have more than one n900?21:26
Wizzupor do you have fremantle on it still?21:26
Wizzupmaybe just to check that the earpeace does work on fremantle21:26
arno11just one but it works well with my fremantle21:27
arno11that's the first thing i tried21:27
Wizzupok21:29
arno11there are arround 230 mixers to set and monitor, maybe i missed something21:30
arno11*forgot21:31
siceloalthough i didn't look very closely at the driver, i didn't quickly see where/how it activates the B block ... so that could possibly explain the behavior you observe21:32
arno11oh ok21:32
sicelopavel had YT videos which showed off his n900 work21:33
arno11ok i didn't know that21:33
sicelolet me check if he had earpiece working there ... of course you could also just ask him via the email he once replied on21:33
siceloif he did, we can maybe see what has changed in the driver since his time21:34
arno11right21:34
Wizzuphe usually replies really fast to emails21:36
sicelootherwise there's no additional module/driver needed. that tlv320 handles all the audio on N90021:36
arno11ok21:36
arno11thx guys i'll send an email to Pavel tomorrow21:58
arno11gn21:59

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