CynicalDebian | Hello, is it possible to mute the speaker and just use the audio jack on Leste on the N900? | 04:39 |
---|---|---|
sicelo | yes | 06:51 |
sicelo | i believe that if your system is up-to-date, you'll have ucm2 configured, which probably already does that | 06:52 |
sicelo | if you're using alsamixer or similar, you can just mute the 'Speaker' entry | 06:52 |
bencoh | sicelo: I'd expect pulseaaudio to unmute speaker whenever it feels like it (?) | 07:33 |
sicelo | i think it respects whatever ucm2 says ... but i admit i don't have a lot of experience either | 07:34 |
bencoh | I understood the question as "I never want the speaker to make sound", but maybe I'm wrong | 07:34 |
sicelo | ah, i thought they meant muting speakers when headphones connected | 07:38 |
sicelo | ootb, both speaker and headphone will output sound simultaneously | 07:39 |
bencoh | ah | 07:43 |
arno11 | Wizzup: 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 | *work | 09:59 |
sicelo | ok | 10:17 |
Wizzup | arno11: ok, will deploy | 12:29 |
Wizzup | building now | 12:33 |
arno11 | Wizzup: thank you | 12:51 |
Wizzup | sorry for the delay | 12:51 |
Wizzup | normally I just push it out without testing, but now I was waiting for the chat between you and sicelo to pan out :D | 12:52 |
arno11 | ok :) | 12:52 |
Wizzup | I'm hoping to get close to done with the news post today | 12:53 |
Wizzup | do you want to share some story or video regarding n900calls? | 12:54 |
Wizzup | in the post | 12:54 |
arno11 | thank you but i don't like social web stuff too much lol | 12:58 |
arno11 | i prefer spending time to write a clear documentation for the ML :) | 13:00 |
Wizzup | It's not really social, it's just updates for people who follow us | 13:03 |
Wizzup | but ok :) | 13:03 |
Wizzup | I mean like these - https://maemo-leste.github.io/maemo-leste-new-year-update-may-2022-january-2023.html | 13:04 |
arno11 | yeah i know the news post | 13:07 |
Wizzup | ok | 13:09 |
arno11 | Wizzup: btw i still get troubles with 2G calls. Seems to be link with recent changes in alsa but not sure. | 13:37 |
Wizzup | arno11: ok | 13:39 |
arno11 | it 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 |
Wizzup | right | 13:40 |
arno11 | i'll let you know and probably need help to understand WGO | 13:44 |
Wizzup | WGO? | 13:45 |
arno11 | what's going on | 13:45 |
Wizzup | ah | 13:46 |
arno11 | otherwise 3G-3.5G is ok | 13:46 |
Wizzup | great | 13:46 |
sicelo | Wizzup: which discussion with arno11? :-) | 13:50 |
sicelo | I would say let's build what we already have, and we'll refine as we go along | 13:51 |
Wizzup | did that already | 13:51 |
Wizzup | :) | 13:51 |
sicelo | sweet | 13:51 |
Wizzup | looking to move stuff from -devel to stable | 13:52 |
sicelo | arno11: regarding the earpiece, have a look at pavel's unicsy-demo. He had an asound.state that i believe worked | 13:53 |
sicelo | worked for earpiece, that is | 13:54 |
arno11 | oh cool | 13:54 |
arno11 | should be easy if this asound state works | 13:55 |
arno11 | i'll try to have a look this afternoon | 13:56 |
CynicalDebian | sicelo: 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 |
Wizzup | you need chimaera-devel | 17:09 |
CynicalDebian | Wizzup: I see, thank you ^_^! | 17:14 |
CynicalDebian | Wizzup: Is that these images? https://maedevu.maemo.org/images-devel/n900/ | 17:31 |
Wizzup | yes, but you can just apt upgrade to them | 17:33 |
Wizzup | no need to install a new image | 17:33 |
CynicalDebian | Oh ok, by just modifying the sources.list? | 17:34 |
Wizzup | CynicalDebian: yes, sorry, I got distracted with work stuff | 17:45 |
Wizzup | we must have an article about this on our wiki | 17:45 |
Wizzup | https://leste.maemo.org/Development#Developing_on_a_device | 17:45 |
Wizzup | do this, but replace beowulf with chimaera | 17:46 |
Wizzup | and ensure that it doesn't say droid4 but n900 | 17:46 |
CynicalDebian | Thanks, its updating right now. | 17:59 |
Wizzup | please let us know it helped | 18:15 |
CynicalDebian | Well, 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 |
CynicalDebian | I am able to boot in Fraementle just fine, so I should try with a new image (and upgrade over ssh this time >_>) | 18:17 |
CynicalDebian | Yeah it has been on a black screen for 5 minutes, I will try again later today. | 18:22 |
Wizzup | oops | 18:28 |
CynicalDebian | ¯\_(ツ)_/¯ | 18:44 |
arno11 | sicelo: 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 |
arno11 | when i say 'bad result' it wasn't so bad lol but not as good as expected. | 20:45 |
arno11 | Wizzup: i tried few things with 2G calls and still not working properly. | 20:47 |
arno11 | i think it's a resampling issue, so more related to alsa stuff than cmtspeech | 20:48 |
Wizzup | ok | 20:54 |
Wizzup | so could be related to latency we set? | 20:54 |
arno11 | i think latency is not the root cause | 20:57 |
arno11 | just a consequence | 20:57 |
Wizzup | hm, well 2g latency is not the same as 3g right? | 20:58 |
Wizzup | like in general | 20:59 |
arno11 | yeah very different | 20:59 |
arno11 | i mean it's easy to modify 3G latency, playing with cmtspeec code or resampling | 21:00 |
arno11 | not with 2G | 21:00 |
arno11 | few weeks ago i was able to use soxr resampling to improve 2G latency | 21:01 |
arno11 | it doesn't work anymore | 21:01 |
arno11 | now whatever i do, 2G latency stays locked at arround 20ms | 21:03 |
arno11 | and it's really too low for N900 cpu | 21:04 |
sicelo | arno11: ah ... did you try more of the 'b' alsamixer items? | 21:04 |
arno11 | sicelo: yes | 21:04 |
Wizzup | arno11: right, but in the past I was able to change this in PA, right? | 21:04 |
Wizzup | the latency | 21:04 |
arno11 | it was a bias | 21:04 |
Wizzup | arno11: btw do you know after what time we can load the nokia-modem module? | 21:05 |
arno11 | good question | 21:06 |
arno11 | i think just after hildon starts loading | 21:07 |
Wizzup | just after all the other modules are loaded? | 21:07 |
Wizzup | hm | 21:07 |
arno11 | yes | 21:07 |
arno11 | we can try before but definitely after all other modules | 21:08 |
Wizzup | modprobe.d has a softdep ar | 21:08 |
Wizzup | g | 21:08 |
Wizzup | I mean otherwise I can just make a script that runs on boot after hildon is ready | 21:08 |
Wizzup | but that's not ideal technically | 21:09 |
arno11 | yes indeed | 21:09 |
arno11 | but could be a good start to test the right moment | 21:09 |
arno11 | oh and iirc sphone must start after the modem to avoid ofono/sphone crash. | 21:17 |
arno11 | sicelo: i tried to use block b with my config with no result. | 21:20 |
arno11 | same with Pavel asound.state -block b left and right stuff are in use in his config- | 21:21 |
sicelo | i'll have a look some day. still fighting with some kernel problem | 21:25 |
arno11 | ah ok | 21:25 |
Wizzup | arno11: do you have more than one n900? | 21:26 |
Wizzup | or do you have fremantle on it still? | 21:26 |
Wizzup | maybe just to check that the earpeace does work on fremantle | 21:26 |
arno11 | just one but it works well with my fremantle | 21:27 |
arno11 | that's the first thing i tried | 21:27 |
Wizzup | ok | 21:29 |
arno11 | there are arround 230 mixers to set and monitor, maybe i missed something | 21:30 |
arno11 | *forgot | 21:31 |
sicelo | although 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 observe | 21:32 |
arno11 | oh ok | 21:32 |
sicelo | pavel had YT videos which showed off his n900 work | 21:33 |
arno11 | ok i didn't know that | 21:33 |
sicelo | let me check if he had earpiece working there ... of course you could also just ask him via the email he once replied on | 21:33 |
sicelo | if he did, we can maybe see what has changed in the driver since his time | 21:34 |
arno11 | right | 21:34 |
Wizzup | he usually replies really fast to emails | 21:36 |
sicelo | otherwise there's no additional module/driver needed. that tlv320 handles all the audio on N900 | 21:36 |
arno11 | ok | 21:36 |
arno11 | thx guys i'll send an email to Pavel tomorrow | 21:58 |
arno11 | gn | 21:59 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!