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
<NekoCWD[m]> <barni2000[m]> "I have reviewed the PR" <- How i need to order cdc_pdm lines in tlmm>
<NekoCWD[m]> s/>/?/
<barni2000[m]> alphabetcal
<barni2000[m]> cdc_pdm goes before cdc_pdm2
<NekoCWD[m]> barni2000[m]: cdc_pdm_lines_act -> cdc_pdm_lines_sus -> cdc_pdm_lines_2_act -> cdc_pdm_lines_2_sus ?
<barni2000[m]> yes
<barni2000[m]> maybe act should be default and sus sleep
<barni2000[m]> wait let me check the pinctrls again
<barni2000[m]> ok i have commented the names you should use -pins suffix when you are grouping pinctrls
<NekoCWD[m]> Like this>
<barni2000[m]> it works yes
<barni2000[m]> idk worth to grouping them but we will find out that later
<NekoCWD[m]> Will test it on prada
<NekoCWD[m]> it works
<barni2000[m]> still 142 pacakges are queued, systemd switch so slow
<NekoCWD[m]> Systemd will improve startup time.
<NekoCWD[m]> Lol, on openrc we need to wait 15sec before iio-sensor-proxy :D
<barni2000[m]> and almost 15 sec for sim card detection
<barni2000[m]> if there is no simcard it is waiting for a while
<barni2000[m]> can i merge it now?
<NekoCWD[m]> Yea, i've tested on prada and agassi now. Sound works fine on both
<barni2000[m]> maybe i will squash sound commits later with device commits
<barni2000[m]> btw worth to use the widgets?
<NekoCWD[m]> Idk how to do in in other way
<NekoCWD[m]> than it was only way for me
<NekoCWD[m]> :D
<barni2000[m]> i am using simple amp for xiaomi-tissot headphone amp but i don't use widget for it
<barni2000[m]> but i have made that more than a year
<NekoCWD[m]> How do you switch it on/off?
<barni2000[m]> It is using xiaomi-daisy's config
<barni2000[m]> only the headphone amp the difference
<barni2000[m]> gpio will enable it when you plugin the jack
<barni2000[m]> but maybe nicer with widgets, widgets can grouping stuff afaik
<barni2000[m]> 8916 tree uses it a lot
<NekoCWD[m]> I've copied it from some 8916 device. There were also HPH routing via amps/switch to headphones/speaker
<NekoCWD[m]> How can i switch it on? I see no ctl in alsa
<barni2000[m]> without widget?
<NekoCWD[m]> yes
<barni2000[m]> you have HPH and HPL
<NekoCWD[m]> Yes
<barni2000[m]> s/HPH/HPR/
<barni2000[m]> widget grouping them
<barni2000[m]> but you can pull them down
<barni2000[m]> nvm, left as it is 8916 stuff is upstreamed so ig that it how it should be
<barni2000[m]> s/it/is/
<barni2000[m]> i should learn more about the widgets my only issue was it makes more differences in the ucm configs
<barni2000[m]> 8953 uses 4 variants afaik
<barni2000[m]> s/afaik/iirc/
<barni2000[m]> daisy, mido, moto, vince but vince will be daisy after tas codec is working
<barni2000[m]> so 3 HiFi config is enough almost for everything
<barni2000[m]> vince config is for devices without speaker
<NekoCWD[m]> Ahhh, even with your explanation idk how to turn simple-amp on/off
<NekoCWD[m]> barni2000[m]: Yea, it's easy to maintain when all devices uses same configuration
<barni2000[m]> wait 1 of them is for the speaker it should be a widget
<NekoCWD[m]> Yea, configuration like
<NekoCWD[m]> HPHR->(Speaker via AMP / Headphones via Switch)
<NekoCWD[m]> HPHL -> Headphones via switch
<NekoCWD[m]> *
<NekoCWD[m]> *
<barni2000[m]> did you tested jack detection with evtest?
<NekoCWD[m]> No, in pavucontrol/phosh
<barni2000[m]> but you will not see if both value is change it can detect if you have headset with mic
<NekoCWD[m]> barni2000[m]: Oh, actually it shows mic as available/unavailable
<barni2000[m]> i will check it on my prada later
<barni2000[m]> there are 2 properties what controling the direction one of them is
<barni2000[m]> qcom,hphl-jack-type-normally-open;
<barni2000[m]> qcom,msm-mbhc-hphl-swh = <1>;
<barni2000[m]> qcom,msm-mbhc-gnd-swh = <0>;
<barni2000[m]> so open 1 closed 0
<NekoCWD[m]> Hmm, on agassi mic detection doesn't work
<barni2000[m]> or reverse i don't remember but in evtest it will be clear because the values will be inverted if it is wrong
<barni2000[m]> so if no jack is plugged and you have one this is wrong
<barni2000[m]> * so if no jack is plugged and you have 1 instead 0 this is wrong
<barni2000[m]> NekoCWD[m]: same issue like on 8953 it was worked fine with 6.5 but later it has been broken somehow
<NekoCWD[m]> barni2000[m]: On prada it works
<barni2000[m]> it seems prada and land will have same HiFi config
<NekoCWD[m]> On huawei:
<NekoCWD[m]> qcom,hphl-jack-type-normally-open;
<NekoCWD[m]> Seems that it was wrong to use swapped value in mbhc
<NekoCWD[m]> Sometimes it show like button 4 pressed and never released
<barni2000[m]> i have only using a stereo jack cable
<NekoCWD[m]> Strange, on my prada all works fine. Also sometimes mic detection works on agassi
<barni2000[m]> mic detection is not working
<barni2000[m]> headset but is working
<barni2000[m]> s/but/button/
<barni2000[m]> it is fine
<barni2000[m]> try to push in slowly
<barni2000[m]> s/push/plug/
<NekoCWD[m]> Sometimes it detects fine, but not always
<barni2000[m]> yes i think some other values should be adjusted
<barni2000[m]> maybe downstream code changes should be investigated more or schematics
<barni2000[m]> earpiece is working now on land