ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Chrome OS Trogdor Devices - Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630 - Lenovo ThinkPad X13s - and various other snapdragon laptops) - https://oftc.irclog.whitequark.org/aarch64-laptops
<dgilmore> anyone with a t14s have working sound?
<dgilmore> I also have the alsa ucm profiles installed
<dgilmore> but also claims no cards are installed and I do not have any saved alsa states to clean up
<dgilmore> [ 29.220290] platform sound: deferred probe pending: snd-x1e80100: WCD Playback: codec dai not found
tobhe has joined #aarch64-laptops
tobhe_ has quit [Ping timeout: 480 seconds]
swfrd_ has joined #aarch64-laptops
hexdump0815 has joined #aarch64-laptops
hexdump02 has quit [Ping timeout: 480 seconds]
tobhe_ has joined #aarch64-laptops
<steev> dgilmore: i had it... but not now
<steev> i haven't looked into it at all though
tobhe has quit [Ping timeout: 480 seconds]
fantom has quit [Ping timeout: 480 seconds]
hexdump02 has joined #aarch64-laptops
<dgilmore> It's never worked for me. Just started digging in. I added patches to add the EC driver, which doesn't seem to work for me
<steev> i think i attempted to try the ec driver and got a bluescreen but i'll be honest, i kinda took a week to just, not touch anything so i haven't really looked into if i screwed something up
hexdump01 has quit [Ping timeout: 480 seconds]
<dgilmore> https://lkml.indiana.edu/2509.1/01857.html is the latest version. The first was posted on the 5th
<steev> if you're using the defconfig, i think its missing some codecs
<dgilmore> Its loaded. But keyboard backlight control doesn't work. Neither does the sound control buttons. Which is why I dug into sound
<dgilmore> I'm using fedora's config
fantom has joined #aarch64-laptops
<steev> the sound keys should work even without audio driver or ec
<steev> krzk: for the qcom-linux qcom_laptops.config could you also add SQUASHFS_XATTR=y ?
<JensGlathe[m]> <dgilmore> "anyone with a t14s have working..." <- Yes. When I‘m on EL1
swfrd_ has quit [Remote host closed the connection]
swfrd_ has joined #aarch64-laptops
<steev> i dunno what i broke but i have some message about either missing ucm profile or mixer based something
<steev> ah, i had a stale asound.state file
<apple-corps[m]> <JensGlathe[m]> "os-prober is borked (permission..." <- My experience as well
<apple-corps[m]> On the vivobook s15
fantom has quit [Ping timeout: 480 seconds]
fantom has joined #aarch64-laptops
krei-se- has quit [Ping timeout: 480 seconds]
ravikant_ has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
swfrd_ has quit []
laine_ has joined #aarch64-laptops
laine has quit [Read error: Connection reset by peer]
crabbedhaloablut has quit []
crabbedhaloablut has joined #aarch64-laptops
crabbedhaloablut has quit []
crabbedhaloablut has joined #aarch64-laptops
crabbedhaloablut has quit []
crabbedhaloablut has joined #aarch64-laptops
crabbedhaloablut has quit []
crabbedhaloablut has joined #aarch64-laptops
ravikant_ has quit [Ping timeout: 480 seconds]
xeliteCJF has joined #aarch64-laptops
<dgilmore> JensGlathe[m]: clearly it's me that's a problem. There must be something turned off in Fedora's config that's needed
<JensGlathe[m]> You could take a stab at it with [this wiki here](https://github.com/jglathe/linux_ms_dev_kit/wiki/Enabling-sound-on-the-HP-Omnibook-X14,-Lenovo-Thinkbook-16). Worked for my T14s, too.
<xeliteCJF> Today had a little chat with gpt about the 'no sound' on my ASUS S15. and walked to all the RX/INP/MUX by the end have a script what set whats needed. Still have no sound but can trigger an error from the qcom soundwire driver.
<JensGlathe[m]> a different error
<xeliteCJF> here is the script
<xeliteCJF> #!/bin/bash
<xeliteCJF> # WSA debug script for ASUS XElite S15
<xeliteCJF> # Checks SoundWire masters for errors
<xeliteCJF> CARD=0 # ALSA card
<xeliteCJF> # Applies routing, MUX/RX/INP, PA gain, COMP switches, plays a test tone
<xeliteCJF> PA_GAIN=15
<xeliteCJF> VOL=30
<xeliteCJF> TEST_WAV="test.wav"
<xeliteCJF> echo "=== Checking for WSA codec presence ==="
<xeliteCJF> if ! amixer -c $CARD controls | grep -q 'WSA'; then
<xeliteCJF> echo "No WSA controls found on card $CARD. Ensure the DSP is loaded."
<xeliteCJF> exit 1
<xeliteCJF> fi
<xeliteCJF> echo "=== Checking recent SoundWire CMD errors ==="
<xeliteCJF> CMD_ERRORS=$(dmesg | tail -n 100 | grep -i 'qcom-soundwire.*SWR CMD error')
<xeliteCJF> if [ -n "$CMD_ERRORS" ]; then
<xeliteCJF> echo "Warning: Detected recent SoundWire CMD errors:"
<xeliteCJF> echo "$CMD_ERRORS"
<xeliteCJF> echo "A reboot or module reload may be required to clear stuck FIFOs."
<xeliteCJF> else
<xeliteCJF> echo "No recent SoundWire CMD errors detected."
<xeliteCJF> fi
<xeliteCJF> echo "=== Listing SoundWire masters ==="
<xeliteCJF> for m in /sys/bus/soundwire/devices/sdw-master-*-0; do
<xeliteCJF> echo "Found SoundWire master: $m"
<xeliteCJF> done
<xeliteCJF> echo "=== Setting up WSA speaker amps ==="
<xeliteCJF> amixer -c $CARD cset name='SpkrLeft WSA MODE' 0
<xeliteCJF> amixer -c $CARD cset name='SpkrRight WSA MODE' 0
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_COMP1 Switch' 1
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_COMP2 Switch' 1
<xeliteCJF> amixer -c $CARD cset name='WSA EAR SPKR PA Gain' $PA_GAIN
<xeliteCJF> echo "=== Enabling RX inputs ==="
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_RX0 INP0' 1
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_RX0 INP1' 1
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_RX1 INP0' 1
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_RX1 INP1' 1
<xeliteCJF> echo "=== Unmuting RX MIX ==="
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_RX0_MIX Digital Mute' 0
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_RX1_MIX Digital Mute' 0
<xeliteCJF> echo "=== Setting RX MUXes ==="
<xeliteCJF> amixer -c $CARD cset name='WSA WSA RX0 MUX' 1
<xeliteCJF> amixer -c $CARD cset name='WSA WSA RX1 MUX' 1
<xeliteCJF> amixer -c $CARD cset name='WSA WSA RX_MIX0 MUX' 1
<xeliteCJF> amixer -c $CARD cset name='WSA WSA RX_MIX1 MUX' 1
<xeliteCJF> echo "=== Connecting MultiMedia stream to WSA amps ==="
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_AIF_VI Mixer WSA_SPKR_VI_1' 1
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_AIF_VI Mixer WSA_SPKR_VI_2' 1
<xeliteCJF> echo "=== Setting Digital Volume ==="
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_RX0 Digital Volume' $VOL
<xeliteCJF> amixer -c $CARD cset name='WSA WSA_RX1 Digital Volume' $VOL
<xeliteCJF> # Generate short test tone if missing
<xeliteCJF> if [ ! -f "$TEST_WAV" ]; then
<xeliteCJF> echo "=== Generating 1-second 440Hz test tone ==="
<xeliteCJF> sox -n -r 48000 -c 2 "$TEST_WAV" synth 1 sine 440
<xeliteCJF> fi
<xeliteCJF> echo "=== Playing test tone to trigger DSP ==="
<xeliteCJF> aplay -D plughw:$CARD,0 "$TEST_WAV"
<xeliteCJF> echo "=== WSA initialization complete ==="
<xeliteCJF> to trigger
<xeliteCJF> [ 252.468400] qcom-soundwire 6b10000.soundwire: qcom_swrm_irq_handler: SWR CMD error, fifo status 0x4e00c00f, flushing fifo
<xeliteCJF> [ 288.128245] qcom-soundwire 6b10000.soundwire: qcom_swrm_irq_handler: SWR CMD error, fifo status 0x4e00c705, flushing fifo
<xeliteCJF> i played aplay -D plughw:CARD=X1E80100ASUSViv,DEV=1 test.wav
<deathmist> xeliteCJF: for future reference please don't post long multi-line things, just look at https://oftc.catirclogs.org/aarch64-laptops to see what people on IRC see
<deathmist> surprised it didn't even get turned to the long links usually seen when matrix users do this
<deathmist> ah actually you're on IRC aren't you?
<travmurav[m]> given how on matrix it also was a bunch of single messages, they are xD
<deathmist> worst of both worlds :D
* travmurav[m] likes how those get sent one-by-one with a 300ms delay
<travmurav[m]> but more on topic, what was the setting that made speakers make beautiful smell of boiling plastic, again?
<JensGlathe[m]> pff
<xeliteCJF> sorry for this. I will keep that in mind.
ravikant_ has joined #aarch64-laptops
<xeliteCJF> Anyway is someone spot a problem with the script, let me know. I digging around with this no sound for a while now and use the headset all the time give me no fun
crabbedhaloablut has quit []
crabbedhaloablut has joined #aarch64-laptops
crabbedhaloablut has quit []
crabbedhaloablut has joined #aarch64-laptops
xeliteCJF has quit [Remote host closed the connection]
alexeymin has quit [Remote host closed the connection]
alexeymin has joined #aarch64-laptops
alexeymin is now known as Guest26569
Guest26569 is now known as alexeymin
<neobrain[m]> bamse: I got the kernel 6.16.6 update today, indeed the GPU errors are fixed there too :)
<bamse> neobrain[m]: thanks for confirming
NewWheat has joined #aarch64-laptops
NewWheat has quit [Remote host closed the connection]
ravikant_ has quit []
BrainWart has quit []
witcher01 has quit [Ping timeout: 480 seconds]
xeliteCJF has joined #aarch64-laptops
<steev> dgilmore: on my t14s, i had to clone the upstream alsa-ucm-conf project, rsync the ucm2 contents into /usr/share/alsa, stop the alsa-restore service, delete the bunk /var/lib/alsa/asound.state and then restart the system. i'm using https://gitlab.com/Linaro/arm64-laptops/linux/-/commits/qcom-laptops kernel (with v3 of ec driver reverted, and v4 applied though, it doesn't seem to automatically load the ec driver)
xeliteCJF has quit [Remote host closed the connection]
<steev> yeah i get that once i load it, but it doesn't load automagically here
<dgilmore> the ec driver seems to be loaded
<dgilmore> it was automatic here
crpalmer has joined #aarch64-laptops
<crpalmer> I'm trying to figure out audio on my Yoga Slim7x. I have a kernel that I built with a Frankenstein .config based on Ubuntu's / Fedora's / random changes I made to get other functonality working. In this kernel, audio is working. I tried making a clean .config using tuxmake (using Linaro's qcom-laptops version of defconfig / qcom_laptops.config). In my clean config, audio is not working. Has anyone else dealt
<crpalmer> with something similar or can point me at what I changed that happened to also make audio work?
<crpalmer> dgilmore: This is likely the same as what you're experiencing on the T14s as I've been told the Rawhide kernel doesn't have working audio for the Slim7x.
<anthony25> It should work by default as long as you have the audio firmware
<crpalmer> " and something similar is the only dmesg entry. It's definitely .config related as I built exactly the same kernel code with a different .config and it was working.
<crpalmer> Damn it.
<crpalmer> devices_deferred says "soundsnd-x1e80100: WSA Playback: codec dai not found
<crpalmer> " (I screwed up the previous line using / to start the path). That's what's also in the dmesg.
<anthony25> I thought fedora was including it in their qcom firmwares
<crpalmer> I used the Ubuntu tool to extract the firmware from my windows partition and it is functional with my current firmware. Just not the linaro generated .config.
<anthony25> Just regarding the audio, there's no volume protection, so you can break the speakers, and for some people, breaking the speakers has also created problems with other components of the laptop
<anthony25> crpalmer: ha so linaro branch with the Ubuntu config works, but not with defconfig?
<crpalmer> anthony: Not the Ubuntu config. I have been told it is broken. I have my own .config in which it works but I'm trying to clean up the mess I made making random changes to it while trying to get a booting system. Just not with the defconfig I am generating with tuxmake from the linaro branch.
<anthony25> Then I would check if you changed some WSA configs, like making sure that SND_SOC_WSA881X=m
jhovold has quit [Ping timeout: 480 seconds]
<crpalmer> I didn't have that set in my old .config, but I'll enable it and see what happens.
<anthony25> it should be in the defconfig
<anthony25> look also at the WCD configs
<crpalmer> You're right. I was in the wrong branch. I was checking the upstream 6.17 version instead. It is enabled in my linaro build.
crpalmer has quit [Remote host closed the connection]
crpalmer has joined #aarch64-laptops
crpalmer has quit [Ping timeout: 480 seconds]
enyalios has joined #aarch64-laptops
enyalios_ has quit [Ping timeout: 480 seconds]
crpalmer has joined #aarch64-laptops
_mike_ has joined #aarch64-laptops
<_mike_> Hi
crpalmer has quit [Remote host closed the connection]
<_mike_> What's the status of support on non elite snapdragon x's these days?
<_mike_> Like a Lenovo ideapad slim 5 for example