ChanServ changed the topic of #linux-msm to:
Daanct12 has joined #linux-msm
Daanct12 has quit [Remote host closed the connection]
Daanct12 has joined #linux-msm
Daanct12 has quit [Ping timeout: 480 seconds]
Daanct12 has joined #linux-msm
marvin24_ has joined #linux-msm
marvin24 has quit [Ping timeout: 480 seconds]
flto_ has quit []
flto has joined #linux-msm
svarbanov_ has joined #linux-msm
svarbanov has quit [Read error: Connection reset by peer]
jhovold has joined #linux-msm
mripard has joined #linux-msm
tmerciai has joined #linux-msm
pespin has joined #linux-msm
<aklimov> aka_[m]: nope, i can't print from wcd.c, tried to compile ds image yesterday -- no success yet
<aka_[m]> sad
<aka_[m]> i wonder whats exactly wrong
<aka_[m]> rx-macro or something inside wcd
<aka_[m]> from what i see we are mixing into INT2_1
<aka_[m]> which enable some main_path
<aka_[m]> without dumps from ds its kinda hard to navigate
<aklimov> aka_[m]: i observe soundwire slave alerts irqs and PDM watchdog irqs from wcd, that somehow suggests that wcd might not see incoming data
<aklimov> so could be an issue/routing from rx-macro side
<aka_[m]> i don't know exactly how to enable those irqs tbh
<aklimov> aka_[m]: what set of commands do you use to playback via EAR?
<aka_[m]> im now on windows so cannot exactly say
<aklimov> aka_[m]: I just added debug messages and also looking at /proc/interrupts
<aka_[m]> but i had one HP enabled(one from RX1) then EAR_MODE
<aka_[m]> AUX_HPF
<aka_[m]> EAR_RDAC/AUX_RDAC
<aka_[m]> on macro side INTs from speaker path
<aka_[m]> i don't also understand why wcd937x have different masks on WDT2 register writes
<aklimov> 0x2 instead of 0x5?
<aka_[m]> maybe
<aka_[m]> somethimes its 0x17 vs 0x7
<aka_[m]> back to linux
<aka_[m]> will pastebin ucm
<aka_[m]> wcd937x: wcd937x_codec_enable_aux_pa POST_PMD it 0x1,0x0 with downstream doing 0x05,0x0
<aka_[m]> wcd937x_codec_enable_aux_pa: PRE_PMU: downstream has 0x5, 0x5 and mainline 0x1, 0x1
<aka_[m]> tho im looking at random kernel repos
<aka_[m]> aklimov: here you go
<aka_[m]> on the ear_pa path
<aka_[m]> in case of my device i have no compander enabled
<aka_[m]> unlike default sequence says
Daanct12 has quit [Quit: WeeChat 4.4.1]
<aklimov> aka_[m]: thank you, checking ucm commands
<aka_[m]> even if i marked those as earpiece this should be earpiece+aux because its some kind of stereo mode on this device
<aka_[m]> its wondering why DS mixer_path have no controls for AUX_HPF but tinymix dump shows it as ON compared to headphones
<aka_[m]> INTERP path on rx macro which mux into AUX have two additional routes on CAF kernel
<aka_[m]> aklimov: am i blind but on ds i kinda cannot find referenced element in rx-macro
<aka_[m]> &rx_int2_mix2_inp_mux i don't get parsed references
<aka_[m]> ah it comes from macro which have rx_int2_mix2_inp passed to it
<aka_[m]> maybe we need to toggle that RX INT2_1 INTERP?
<aka_[m]> doesn't change anything
<aklimov> aka_[m]: yeah, the same behaviour here, INT2_1 INTERP doesn't change anything at all, idk
<aka_[m]> which sounds like some kind of issue if its specified
<aka_[m]> i guess noone really tested AUX when most of devices other works at are all premium stuff
<aka_[m]> its so annoying that pulse crashes when i toggle paths around in alsamixer
<aka_[m]> track just stop playing and cannot resume
<aka_[m]> not sure how it is but MACRO_RX0 ->WCD_RX1 MACRO_RX1->WCD_RX2 MACRO_RX2 ->WCD_RX3 ?
<aklimov> aka_[m]: https://pastebin.com/QMC17zPd this is set of commands that downstream image uses to playback something
<aka_[m]> tinymix set "RX_CDC_DMA_RX_1 Audio Mixer MultiMedia1" 1
<aka_[m]> i only mux RX0 into MM1
<aka_[m]> aklimov: muxing from alsa makes it pop like crazy
<aka_[m]> im bit scared
<aka_[m]> and it probably dies
<aka_[m]> not seems to be case for my device
<aka_[m]> https://pastebin.com/QGAew9Su dump from DS
<aka_[m]> tho volume seems crazy
<aka_[m]> 98INT1RX_RX2 Digital Volume 334
<aka_[m]> there is really not much compared to headphones, only DEM ones on headphones are both clashed whatever that means
<aka_[m]> from headphones to speakers RX1 just changes from RX INT1_1 MIX1 INP0 into RX INT2_1 MIX1 INP0
<aka_[m]> and ofc EAR/RDAC switches
<aka_[m]> so sad, i had some hope i would get speaker too
srinik has joined #linux-msm
<aka_[m]> aklimov: so i dumped some regs from RX_MACRO side
<aka_[m]> RX0 vs RX2
<aka_[m]> now to know what these means
<aka_[m]> still not sure ehhh i only mux rx1
<aka_[m]> hmm RX1 path gets changed after enabling playback
<aka_[m]> RX1_RX_PATH_CTL_ADDR 0x14 ->0x4 seems MUTE_PGA gets disabled
<aka_[m]> tho on RX0 it goes to 0x24
<aka_[m]> CDC_RX_PATH_CLK_EN_MASK is difference
<aka_[m]> there is no CLK enabled it seems
<aka_[m]> writing to register doesn't change much and it gets set back
<aka_[m]> guess i have no idea whats going on, time to get ready for job, seems i will be doing more 8976 and 8953 if it cannot be done by me atleast
<aka_[m]> still its better to have earpiece than not
Caterpillar has joined #linux-msm
mripard has quit [Quit: mripard]
mripard has joined #linux-msm
pneuhardt has joined #linux-msm
srinik has quit [Ping timeout: 480 seconds]
pespin has quit []
jhovold has quit [Ping timeout: 480 seconds]