ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
hightower2 has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
rfs613_alt has joined #aarch64-laptops
rfs613 has quit [Ping timeout: 480 seconds]
hightower2 has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
wwilly has quit [Quit: Leaving]
hightower2 has quit [Ping timeout: 480 seconds]
rfs613_alt has quit []
rfs613 has joined #aarch64-laptops
macc242 has joined #aarch64-laptops
macc242 has quit [Ping timeout: 480 seconds]
<steev> heh
<steev> one of the suggested things to do from pipewire devs was "upgrade alsa-firmware" so... that's a bust
<bamse> steev: have you tried rebooting? ;)
<steev> heh
<bamse> at least in Europe we could try switching polarity of the ac cable...
<bamse> well, in Sweden...several European countries that doesn't support flipping polarity of the power cable
<steev> they also said try playing with the volume in alsamixer, but tbh, i really don't wanna re-find all that
<steev> i don't understand why there are like 300 options exposed in there
<bamse> steev: that's a question i've asked myself many times...
<bamse> vkoul probably knows
<steev> i remember something about rx7
<steev> i'm too lazy to scroll back
<steev> but again, scrolling through the 100+ options to find them.... zzzzzzzz
<bamse> guess how i found that ;P
<steev> you asked vkoul :P
<bamse> i neighbors must have been happy as i sat there on my patio trying to lower the volume of my music
<steev> lol
<bamse> haha, no i couldn't wait for vkoul
<bamse> had to find the knob :)
<bamse> but is your pulsewire issue only related to the volume control?
<steev> well
<steev> it also pops when using aplay?
<bamse> constantly?
<steev> no
<steev> it's just 2 pops at the very beginning, silence, and then *sometimes* 2 pops at the end
<bamse> hmm okay
<steev> if i do
<steev> with aplay -D hw:0
<steev> but i went back to a kernel that i *know* had working audio, and it too just does the 2 pops
<bamse> wasn't that 5.9 or something?
<steev> audio has worked (mostly) fine since 5.12
<steev> the occasional 3 reboots to get it working
<steev> but that's easy to tell because dmesg is getting spammed by soundwire shit
<bamse> okay, i've not had audio since i rebased from my 5.9 tree...probably because i waited too long and then didn't get the ucm story sorted out
<steev> okay so
<steev> this is where it gets super weird
<steev> i'm just using linaro's alsa-ucm-conf package, which doesn't seem to have https://github.com/alsa-project/alsa-ucm-conf/pull/88 integrated at all
<bamse> ahh, so that predates the new shuffling stuff?
<steev> OMG
<steev> yeah
<steev> so
<steev> if i do aplay -D hw:0,1 /usr/share..... it plays just fine
<steev> that ,1 is what is important
<bamse> obviously...
<steev> obviously... to someone who looked in the ucm conf and saw the ${CardID},1
<steev> it would be kinda nice if, i could actually like, search through the alsamixer crap
<bamse> but why is volume only bound to RX2 there?
* steev takes off his srini suit
<steev> idunno
<steev> woo
<steev> found it
<steev> RX7 Digital
<steev> but the volume is... very odd?
<steev> at 22 it's very... speakers are gonna pop?
<steev> also thanks for mentioning music - since i had to aplay, i found https://www.ee.columbia.edu/~dpwe/sounds/music/ and grabbed Africa to play via aplay to find it
<steev> at 4 it's silent, at 22 it's far too loud
<steev> wooo
<steev> https://bpa.st/OZUQ i managed to break it pretty good
<bamse> obviously you shouldn't have kfree'ed that buffer...
<steev> i did "while true; do aplay -D hw:0,1 africa-toto.wav; done" and then in another terminal... i started futzing around with all the different alsamixer settings
<steev> i want to say it was slimbus_0_*something* that it was unhappy that i muted
<bamse> sounds like a bug in itself
iivanov has quit [Remote host closed the connection]
<steev> https://bpa.st/QRTQ and another one but... i think i should stop fucking around with this because now i get absolutely nothing
<bamse> steev: looks like it would be useful to put a fuzzer to work on the audio interface :)
<bamse> steev: but for the sake of getting audio working, it doesn't look like you're moving in the right direction
<steev> well, no
<steev> so what i did was
<steev> rm /var/lib/alsa
<steev> reboot
<steev> make sure var/lib/alsa was empty
<steev> reboot again
<steev> get blue screen, so reboot again
<steev> this time, when it booted, i got the double pop, so audio is "back" and i can aplay the song
<steev> i noticed something though
<steev> i changed the ucm config to point to rx7 and.... that isn't completely right either
<steev> because increasing and lowering the volume causes the mono audio to become stereo?
<bamse> isn't that just one of the channels?
<steev> well, yes, but i don't know how to say use 2 channels
<steev> and i'm scared of alsamixer at this point
<bamse> because that was the part that i think srini ran into, that they required him to somehow describe both channels
<bamse> but that was a bleeding edge feature and didn't work for him
<steev> i just think it's kinda cool that i can make mono stereo?
<bamse> i wish i knew how to read those knobs
<bamse> will have to bother vkoul or srini about it some more, maybe they can teach us
<steev> hm
<steev> yeah it's a bit more involved than just being rx7
<bamse> i'm fine with it being rx7...but i would like to know what that actually is
<steev> well what i mean is
<steev> i have the volume all the way down... and it's still playing
<bamse> not because one of the other rx is non-zero?
<bamse> iirc rx7 was just one of the speakers
<steev> i honestly have no idea... like i said i'm scared to go into alsamixer :P
<steev> i gotta go find it
<steev> which is the other annoying thing
<bamse> which makes me wonder why this things worked prior to the refactoring...when i think we just did volume on rx2
<steev> i really wish i could just / and RX7 and it would bring up all the rx7
<bamse> i guess that's not very useful when you have the typical 2 bars in alsamixer ;)
<steev> hm
<steev> i can't find the second rx7 now?
<steev> there is a "SpkrLeft PA" and "SpkrRight PA" and those seem to do the speaker volumes for... well, obviously, left and right
<steev> i recall my x1c looked a lot like this when you went into the actual audio card
<steev> it's definitely not arm specific anymore :(
<bamse> there's two wsa8815 (iirc) that are dedicated amplifiers for the two speakers...but i don't know if they are just providing a constant amplification and that it's the input to those that are volume controlled
<bamse> they should be in the list as well though...as least for muting purpose
<bamse> or perhaps they are just powered on/off when needed