ChanServ changed the topic of #msm8937-mainline to: Boot Linux on your MSM8917/37/40 and QM215 mobile! | GitHub: https://github.com/msm89x7-mainline | Logs: https://oftc.irclog.whitequark.org/msm8937-mainline | Bridged to #msm8937-mainline:kde.org on Matrix
<Danct12[m]> evangelion fan spotted
<barni2000[m]> and clean your jack
ungeskriptet_ has joined #msm8937-mainline
ungeskriptet has quit [Ping timeout: 480 seconds]
ungeskriptet_ is now known as ungeskriptet
<NekoCWD[m]> HF switching on prada works fine for me
<NekoCWD[m]> s/HF/HP/
<NekoCWD[m]> Btw it also works on agassi
<barni2000[m]> the issue is that module is not loading even if it is in the default.pa
<barni2000[m]> * in the `default.pa, * default.pa`
<NekoCWD[m]> I think it is loaded during initialisation and than unloading somehow. There are no errors in logs
<NekoCWD[m]> s/loaded/loading/
<barni2000[m]> :(
<barni2000[m]> what is unloading it?
<NekoCWD[m]> can it be confilict with `module-switch-on-connect` or something?
<NekoCWD[m]> we have it in `/etc/pulse/default.pa.d/postmarketos.pa`
<NekoCWD[m]> NekoCWD[m]: Btw, i think we can just load it there as workaround
<NekoCWD[m]> No, we cant
<barni2000[m]> i have tried :D
<NekoCWD[m]> WTF? It is loaded if i manually trying to debug :D
<barni2000[m]> pulseaudio -k
<NekoCWD[m]> Phosh crashed 😈
<barni2000[m]> ofc you are messing with pulseaudio
<barni2000[m]> can we log out pulseaudio module loading while its restarting?
<barni2000[m]> s/log/print/
<barni2000[m]> it is just because i have left my changes in the configs
<barni2000[m]> but module loading is in the log -v is enough
<barni2000[m]> it is stop loading modules after switch-on-connect
<barni2000[m]> how can i pipe pulse audio output ?
<barni2000[m]> &2>1 not works
<NekoCWD[m]> `&>` works for me
<NekoCWD[m]> Also ```echo `extra-arguments = -v --log-target=newfile:/tmp/pulse.log --log-time=1` >> /etc/pulse/client.conf ```
<barni2000[m]> `&>/dev/stdout`
<barni2000[m]> bash have '&|'
<NekoCWD[m]> It is for piping iirc
<barni2000[m]> i wanted to pipe it
<NekoCWD[m]> It is unloaded by something
<barni2000[m]> phosh
<NekoCWD[m]> probably
<barni2000[m]> i have restarted it and it was unloading
<barni2000[m]> it is unloading null-sink when you plug jack in
<barni2000[m]> i should check the tinydm service
<barni2000[m]> why
<barni2000[m]> but we are using q6voiced
<NekoCWD[m]> callaudiod is a gnome calls depend. It (should) handle audio port switching, muting etc
<barni2000[m]> but i have similar issue on plamo
<NekoCWD[m]> barni2000[m]: Maybe kde calls app also depend on callaudiod
<NekoCWD[m]> I think port switching must be handled by pulseaudio, not callaudiod
<NekoCWD[m]> barni2000
<barni2000[m]> but callaudio needs to be able to switch the sources
<NekoCWD[m]> barni2000[m]: I think switch-on-port-available can be unloaded only during call and than loaded again after call end
<NekoCWD[m]> My callaudio rewrite in vala attempt: [MeowAudio](https://gitlab.postmarketos.org/NekoCWD/meowaudiod)
<NekoCWD[m]> It can be used instead of callaudio, but it's very wip and tested only on oneplus 6. But q6voiced analog [Q6MeowD](https://gitlab.postmarketos.org/NekoCWD/q6meowd) works fine and i think it will replace q6voiced somewhen. bcoz it uses alsalib, no modemmanager(dbus) dependency and it can automatically restart streams
<NekoCWD[m]> There was [earpiece<->speaker switching showcase] (https://mastodon.social/@NekoCWD/113397782349370930) in my fedi
<NekoCWD[m]> s/<->/ /, s///
<NekoCWD[m]> s/<->/ /
<NekoCWD[m]> Now i need to add device selection to libcallui and refactor meowaudiod, bcoz PA code is uggly
<barni2000[m]> PW?
<NekoCWD[m]> I'm using pulseaudio and it is async, but not vala-style async. There are a lot of bad practices in my code
<NekoCWD[m]> I mean v4l2 link
<barni2000[m]> i am testing it now 1 moment
<barni2000[m]> everything is freezing :D
<barni2000[m]> maybe i should set back the reserved memory
<NekoCWD[m]> Technically, It decoding Frozen just fine 🍿
<barni2000[m]> 8917 is working
<barni2000[m]> 8917 vcodec0 clocks are incorrect in gcc