Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
mn3monic2 has joined #maemo-leste
mn3monic has quit [Read error: Connection reset by peer]
mn3monic2 is now known as mn3monic
n9001 has quit [Ping timeout: 268 seconds]
n9001 has joined #maemo-leste
MinceR has quit [Ping timeout: 268 seconds]
MinceR has joined #maemo-leste
MinceR has joined #maemo-leste
MinceR has quit [Changing host]
Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
Wikiwide has quit [Read error: Connection reset by peer]
xmn has joined #maemo-leste
System_Error has quit [Remote host closed the connection]
System_Error has joined #maemo-leste
xmn has quit [Quit: ZZZzzz…]
fab_ has joined #maemo-leste
joerg has quit [Ping timeout: 264 seconds]
joerg has joined #maemo-leste
nmdv has joined #maemo-leste
nmdv has quit [Quit: Leaving]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Ping timeout: 268 seconds]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
fmg_d4 has joined #maemo-leste
Wikiwide has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
Livio has joined #maemo-leste
fmg_d4 has joined #maemo-leste
Livio has quit [Quit: leaving]
fmg_d4 has quit [Ping timeout: 268 seconds]
Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
<freemangordon> arno11: is it possible to set stream reate from ucm?
<freemangordon> *rate
fmg_d4 has joined #maemo-leste
ungeskriptet1 has joined #maemo-leste
ungeskriptet has quit [Ping timeout: 264 seconds]
ungeskriptet1 is now known as ungeskriptet
amunizp has joined #maemo-leste
akossh has joined #maemo-leste
Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
Livio has joined #maemo-leste
ungeskriptet0 has joined #maemo-leste
ungeskriptet has quit [Ping timeout: 256 seconds]
ungeskriptet0 is now known as ungeskriptet
Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
Wikiwide has quit [Remote host closed the connection]
Wikiwide has joined #maemo-leste
arno11 has joined #maemo-leste
<arno11> freemangordon: not possible imo
<freemangordon> arno11: ani idea why I cannot select device 1 from UCM?
<freemangordon> *any
<freemangordon> see https://pastebin.com/cbSu2Vcx
<arno11> ok let me check
<freemangordon> but when I set PlaybackPCM "hw:${CardId},1" in UCM, I get "[pulseaudio] (alsa-lib)conf.c: Unknown parameter 1"
<freemangordon> maybe I don;t understand what it is about
<freemangordon> when it is 0, it sets on cpcap-hifi-0
<freemangordon> but I want to set on cpcap-voice-1
<arno11> ok, need few min
<freemangordon> ok
<freemangordon> LMK if you need more info
<arno11> (it is so different from n900, i need to check mapphone ucm)
<arno11> ok
<freemangordon> ok
<freemangordon> I want VoiceCall.conf to refer to device 1, not device 0
<freemangordon> maybe not possible, as it sets controls, dunno
<freemangordon> but, something sets rate to 8000 during call
<freemangordon> I am not able to identify who
<arno11> so for voicecall.conf, indeed it uses card 0. must be PlaybackPCM "hw:${CardId},1" in each SectionDevice
<arno11> to use card1
<freemangordon> no, it uses card 1
<freemangordon> ,0 is device
<freemangordon> so, it uses card 1,0
<freemangordon> which is hifi
<freemangordon> but I want to use 1,1
<freemangordon> which is voice
<freemangordon> card 0 is HDMI
<arno11> ah yes i forgot that (Wizzup already told me...)
Wikiwide has quit [Read error: Connection reset by peer]
<arno11> so really don't know atm
<freemangordon> ok
<arno11> let me few min again
<arno11> looking @mappphone ucm again, you should try hw:${CardId},1 imo
<freemangordon> I did
<freemangordon> "but when I set PlaybackPCM "hw:${CardId},1" in UCM, I get "[pulseaudio] (alsa-lib)conf.c: Unknown parameter 1""
<arno11> ah yes sorry, ok
<arno11> (just need time to understand mapphone stuff :P)
leste has quit [Remote host closed the connection]
<arno11> btw the noise in earpeace is a static noise or ?
<freemangordon> no
<freemangordon> it changes when the other side speaks
<freemangordon> deffinitely a wrong freq
<arno11> ah ok
<arno11> yep
<freemangordon> but I can't get kernel to set it, as I can't get alsa/pa/ucm/whatever to do anything about t
<freemangordon> well...
<arno11> indeed
<freemangordon> cpcap_voice_hw_params() (in the diver is called)
<freemangordon> but I don;t want to hack code there, but want everything to come through DT
<freemangordon> not sure it is possible though
<freemangordon> tmlind: ping
<tmlind> freemangordon: pong
<freemangordon> tmlind: I was able to get calls working on d4 without motmdm hack (the one that sets dai tdm etc)
<freemangordon> by using audio-graph-card2 and codec2codec link
<freemangordon> so, voice dai gets properly powered up etc on call
<freemangordon> however, I am not able to make kernel set proper tdm/clocl/format
<freemangordon> so, shall I hack cpcap_voice_hw_params() to do that, by either calling asoc_simple_hw_params() or directly?
<freemangordon> or this is not a hack, but the proper way?
<freemangordon> tmlind: ^^^
Wikiwide has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
fmg_d4 has joined #maemo-leste
<arno11> freemangordon: codec2codec uses 48000 rate ?
<tmlind> freemangordon: cool that's great news
kiva has joined #maemo-leste
<freemangordon> arno11: no, but I have no idea what rate it uses
<freemangordon> arno11: but that's irrelevant anyways
<freemangordon> tmlind: with kernel 6.6 that is, 6.1 does not support c2c links
<tmlind> freemangordon: so with the set_tdm whatever calls you can configure the mcbsp time divsion multiplexing, not sure what clock needs to be set to
<freemangordon> yes, I know
<tmlind> i recall voice calls need to change the clock to a different value from hifi and voice codecs?
<freemangordon> yes, correct
<freemangordon> but the point is - shall I do that from cpcap_voice_hw_params() ?
<freemangordon> somehow set_tdm gets called for hifi
<tmlind> hmm not sure how that should be handled properly.. so if a voice call needs to change the mcbsp clock, what are hifi and voice going to do?
<freemangordon> but not for voice
pere has joined #maemo-leste
<tmlind> has voice registered the set_tdm callback?
<freemangordon> yes
<freemangordon> but it is not called
<tmlind> weird, maybe there's some bug that it only gets called to the first or last registered codec and not all of them?
<freemangordon> could be
<tmlind> so it might be able to write the voice call codec to just do qmi call with no serial n_gsm stuff.. that is if the settings are just modem nvram value changes
<tmlind> might be worth diffing the nvram before and after voice call volume change for example
<freemangordon> yeah, but I want it first working as it is, witjout the hack
<tmlind> rigth
<tmlind> it should not matter what the control bus is :)
<tmlind> no idea about the codec2codec link
<freemangordon> see v
<freemangordon> yeah c2c is something new
<freemangordon> more or less our use case - audio playback without CPU involved
<freemangordon> so I made it work in terms of DAPM
<tmlind> ok cool
<freemangordon> I can hear noise and the other side hears me more or less ok
<freemangordon> noise changes when the other side speaks
<tmlind> so the old hack you're trying to fix is the voice call codec just rudely reconfiguring registers?
<freemangordon> the hack I am trying to fix is motmdm calling set_tdm, set_ckl etc of cpcap
<freemangordon> when call is registered
<tmlind> ok
<freemangordon> so, without dt changes, nothing happens on call
<freemangordon> with then cpcap_voice_hw_params() gets called
<freemangordon> *with them
<tmlind> oh ok
<tmlind> are you seeing similar voice call modem status messages also over the ttyUSB4 or ttyUSB5 whatever the at port is?
<freemangordon> no idea
<freemangordon> I didn't check as I am focused on making it work as is (without the hack ofc)
<tmlind> ok
<freemangordon> I guess we'll be able to get rid of dlci alltogether
<freemangordon> but not now :_)
<freemangordon> :)
<freemangordon> shall we do the same?
<freemangordon> if asoc_simple_hw_params() is called, that would set TDM/clocks, whatever from DT
<freemangordon> but I don't know if this is the proper way
<freemangordon> thus my question :)
<tmlind> sure the more generic the easier to maintain, i just don't know enought about also to comment really
<tmlind> maybe there's some tdm configuration that would work for everything..
<freemangordon> ugh, asoc_simple_hw_params() was dropped in 6.7
<tmlind> heh ok
<freemangordon> well, it was replaced with simple_util_hw_params
<freemangordon> which I guess does the same
arno11 has left #maemo-leste [#maemo-leste]
<freemangordon> yeah, they just renamed it
<freemangordon> ok, I'll do that
<freemangordon> will ping you when I'm ready to see if you like it :)
<tmlind> ok yeah i'll check the irc every few days at least
arno11 has joined #maemo-leste
kiva has quit [Quit: Client closed]
<freemangordon> thanks!
<tmlind> thank you
fmg_d4 has quit [Read error: Connection reset by peer]
amunizp has quit [Ping timeout: 256 seconds]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
fmg_d4 has joined #maemo-leste
<arno11> Wizzup: i built drnoksnes a bit differently to avoid the buggy additional deps. it works fine from HAM :) (only for armhf and no gui atm)
<arno11> works ootb using '/usr/bin/drnoksnes -c /usr/games/drnoksnes.conf /game_path'
<arno11> fullscreen works (4:3)
fmg_d4 has quit [Read error: Connection reset by peer]
<arno11> Ctl+Shift+N for compo OFF and 'f' for fullscreen
Wikiwide has quit [Ping timeout: 268 seconds]
<Wizzup> great, back in a few ours
Wizzup has quit [Quit: back in a few gours]
fmg_d4 has joined #maemo-leste
arno11 has left #maemo-leste [#maemo-leste]
fmg_d4 has quit [Ping timeout: 256 seconds]
amunizp has joined #maemo-leste
fmg_d4 has joined #maemo-leste
amunizp has quit [Ping timeout: 256 seconds]
fmg_d4 has quit [Read error: No route to host]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Read error: Connection reset by peer]
fmg_d4 has joined #maemo-leste
fmg_d4 has quit [Client Quit]
amunizp has joined #maemo-leste
amunizp has quit [Quit: Not sure what quit means.]
xmn has joined #maemo-leste
Wizzup has joined #maemo-leste
<Wizzup> phoenix is back, leste is back, will fix build vm today
arno11 has joined #maemo-leste
Wizzup has quit [Remote host closed the connection]
Wizzup has joined #maemo-leste
System_Error has quit [Ping timeout: 260 seconds]
System_Error has joined #maemo-leste
fab_ has quit [Quit: fab_]
Livio has quit [Ping timeout: 268 seconds]
Livio has joined #maemo-leste
<freemangordon> Wizzup: not that great, as I still can't make it work properly, but yeah, some progress
<freemangordon> please, when you have some spare time, try to understand https://elixir.bootlin.com/linux/v6.10-rc6/source/sound/soc/generic/audio-graph-card2-custom-sample.dtsi#L113
Wikiwide has joined #maemo-leste
<Wizzup> ok, probably another day or two out :)
<Wizzup> at leas tmost infra is back
pere has quit [Ping timeout: 260 seconds]
fmg_d4 has joined #maemo-leste
akossh has quit [Quit: Leaving.]
fmg_d4 has quit [Quit: fmg_d4]
Livio has quit [Ping timeout: 272 seconds]
arno11 has left #maemo-leste [#maemo-leste]
pere has joined #maemo-leste