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)
Sally[m]123 has left #aarch64-laptops [#aarch64-laptops]
<gabertron> [ 14.563339] platform 3210000.soundwire-controller: deferred probe pending
<gabertron> for the 6.4.y steev kernel, is there a trick to getting the sound / soundwire stuff to probe on the x13s laptop?
<gabertron> [ 14.563341] platform 3250000.soundwire-controller: deferred probe pending
<gabertron> [ 14.563343] platform 3330000.soundwire-controller: deferred probe pending
<gabertron> [ 14.563345] platform sound: deferred probe pending
<steev> do you have pd-mapper running and the firmware?
<gabertron> which fw is the one for pd-mapper?
<steev> it's not for pd-mapper
<steev> but the tplg.bin file
<steev> SC8280XP-LENOVO-X13S-tplg.bin
<steev> should be in /usr/lib/firmware/qcom/sc8280xp (eventually it will move into the LENOVO/21BX directory in there when it's officially accepted upstream - so it might be in yours already, and the kernel doesn't have it patched in yet)
<gabertron> i have this file: /usr/lib/firmware/qcom/sc8280xp/SC8280XP-LENOVO-X13S-tplg.bin
<steev> okay, then check to see what is deferred
<gabertron> and pd-mapper service is enabled and running with active status
<steev> sudo cat /sys/kernel/debug/devices_deferred
<gabertron> 3220000.txmacroplatform: wait for supplier /soc@0/pinctrl@33c0000/tx-swr-default-state
<gabertron> 3240000.codecplatform: wait for supplier /soc@0/pinctrl@33c0000/wsa-swr-default-state
<gabertron> 3200000.rxmacroplatform: wait for supplier /soc@0/pinctrl@33c0000/rx-swr-default-state
<gabertron> 3370000.codecplatform: wait for supplier /soc@0/pinctrl@33c0000/dmic02-default-state
<gabertron> 33c0000.pinctrlqcom-sc8280xp-lpass-lpi-pinctrl: Failed to get clk 'core'
<gabertron> 3210000.soundwire-controllerplatform: supplier 3200000.rxmacro not ready
<gabertron> 3250000.soundwire-controllerplatform: supplier 3240000.codec not ready
<gabertron> 3330000.soundwire-controllerplatform: supplier 3220000.txmacro not ready
<gabertron> soundsnd-sc8280xp: WCD Playback: error getting cpu dai name
<steev> what kernel config did you use?
<gabertron> presently I modified it trying stuff, but originally I was using: laptop_defconfig (I can remove my changes to see if it gives different results above to avoid confusion)
<steev> what did you modify
<gabertron> tried making some of the sound related stuff built-in to the kernel to see if that changed behavior
<gabertron> i can undo that
<steev> the laptop_defconfig is what i'm using here, and audio definitely works
<gabertron> I switched back to the default defconfig and same behavior -- maybe I should have something in my cmdline? I have some stuff that might be not correct anymore -- "pd_ignore_unused clk_ignore_unused"
<gabertron> (my kernel cmdline I mean)
<gabertron> to get to where I'm at I essentially just did this:
<gabertron> then build steev 6.4.y kernel and install to device
<gabertron> I could try a different process as well, not really worried about blowing away what I have now
<steev> when you say default defconfig, do you mean defconfig or laptop_defconfig?
<steev> those are two very different things, and the "defconfig" does not have everything in it
<gabertron> sorry -- I switched back to the "laptop_defconfig"
<gabertron> without any of my changes
<steev> and it shows the same deferred devices?
<gabertron> yes
<steev> which version of alsa-ucm-conf do you have installed
<steev> how are you building your kernel, how are you copying the dtb?
<steev> i've never used mani's upgrade script at all
<steev> i install the kernel deb, and then use the install-dtbs python script that is in /usr/local/bin
<steev> if i had to guess though, you aren't copying the correct dtbs
<steev> and it's booting without the correct one
<gabertron> yea that sounds belieavable
<steev> sudo install-dtbs.py /usr/lib/linux-image-6.4.3 /boot/efi/dtb
<steev> is the command that i run after i install my newest deb, where 6.4.3 is whatever the newest kernel version i use is
<steev> you can also override it in the grub menu by adding an entry manually at boot time like "devicetree /usr/lib/linux-image-6.4.3/qcom/sc8280xp-lenovo-thinkpad-x13s.dtb"
<steev> i do that when i'm testing a new kernel version
<gabertron> I wonder -- any particular thing that you think would be a good indicator of badness in /proc/device-tree/sound maybe? i'm trying to see whats going on with the dtbs now (trying various methods to ensure it loads the right one)
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
<steev> well, if you have deferred devices, what is in /proc/device-tree/sound isn't gonna matter
matalama has joined #aarch64-laptops
hexdump01 has quit [Quit: WeeChat 1.9.1]
hexdump0815 has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
<exeat> BTW, it looks like the tplg file is in linux-firmware now (commits f9a35b3f and db39dff6, note the new name)
hightower2 has joined #aarch64-laptops
mjeanson has quit [Remote host closed the connection]
mjeanson has joined #aarch64-laptops
mjeanson has quit [Remote host closed the connection]
<matalama> Hey guys. I'm new here. I just got a Huawei matebook e go which is a qcom sc8280xp laptop. I tried to boot linux from acpi first but failed. So I'm trying to write a dts file for it but all I've got is the acpi tables. And I'm really confused about how to make it especially for those regulators.
mjeanson has joined #aarch64-laptops
<_`[m]> <jhovold> "https://github.com/jhovold/linux..."; <- this one good?
Segfault11 has joined #aarch64-laptops
Segfault11 has quit []
hightower2 has quit [Ping timeout: 480 seconds]
<gabertron> steev: update -- appears that when building on device things work with the 6.3.y kernel for my first test -- so likely something is not quite right with my crosscompile setup, so should be on the right track now -- thanks!
<steev> gabertron: interesting, i cross compile and native here without issue, good luck tracking it down!
<gabertron> oh thats helpful to know.. yea as typical the problem lies someplace between the keyboard and the chair someplace :-)
mjeanson has quit [Remote host closed the connection]
mjeanson has joined #aarch64-laptops
hightower2 has joined #aarch64-laptops
hexdump0815 has quit [Quit: WeeChat 1.9.1]
hexdump0815 has joined #aarch64-laptops
phire has quit [Remote host closed the connection]
<hexdump0815> travmurav[m]: btw. how are you dual boot your aspire? grub somewhere? some other boot selector?
phire has joined #aarch64-laptops
<travmurav[m]> I created an extra ESP (so windows doesn't break it) and added a grub on it to the efi boot order manually via the efi shell
<travmurav[m]> I suppose it would be interesting to look at the rpmb baked uefisec at some point...
<hexdump0815> travmurav[m]: how do you select that extra esp on powerup/boot?
<hexdump0815> i'm asking as i'm getting a bit tired of allways hitting f10 in the proper timing on the galaxy book go to boot linux from usb and was thinking if there is maybe an easier option :)
<travmurav[m]> hexdump0815: I have a boot record for esp2/bootaa64.efi (grub) on the top of my boot order, and if I ever need to boot into windows (which is more rare than booting into the efi shell at this point) I'm fine at pressing f12 a bit
<hexdump0815> travmurav[m]: ah ok - so f12 seems to be for you what f10 is for me ... how did you adjust boot order accordingly? from efi shell or from windows?
<travmurav[m]> Maybe you could also add the esp from your stick to the boot order to make it use that when the stick is in
<travmurav[m]> I've added the entry in the shell and the order could be changed in the efi config
<travmurav[m]> (but also can be in the shell iirc)
<hexdump0815> what do you mean with efi config?
<travmurav[m]> Like firmware setup, what some people call "in the bios"
<hexdump0815> ah - ok - got it ... i think i tried that and it did not work with usb (i can set it, but it does not boot from it then still)
<travmurav[m]> I guess depends on what Sammy has shipped
<travmurav[m]> Fwiw firmware on aspire1 likes to randomly start ignoring USB devices if you breathe at it wrong
<hexdump0815> same for galaxy book go
<travmurav[m]> Which only gets fixed by clearing borked boot records from the efivars
<hexdump0815> on galaxy book it sometimes helps to shut down, boot once to windows or remove/reinsert the usb device after shutdown - not sure yet which of those really made it working again
<travmurav[m]> Well I suppose the better solution is to bring ufs up and install there :P
<hexdump0815> still trying that - compiling a kernel with the .config, tree and dts from ungeskriptet in the hope to see ufs with that kernel as i did with the test kernel built by ungeskriptet to have a usable starting point
<_`[m]> is this the final release lenovo-x13s-linux-6.4.y
<clover[m]> Leo Shen: you still using your x13s these days or are you using the z13 more
<szclsya[m]> I now use the x13s as a home terminal for homeassistant, mpd, etc. z13 for the go as sleep works better there
<clover[m]> Is the z13 5G capable too? I forgot
<szclsya[m]> yeah but you need to configure it in factory. think mine doesn't come with the antenna installed so can't add one later trivially
<szclsya[m]> also one annoying thing with z13 is that hibernation breaks wifi due to ath11k bugs. thanks qualcomm...
<clover[m]> :( but s3 sleep works?
<Jasper[m]1> szclsya[m]: Don't worry, it also breaks on X13s without sleep :p
<szclsya[m]> no s3 anymore thanks to microsoft. but s2idle (so modern standby) works flawlessly and takes surprisingly little power
<szclsya[m]> Jasper[m]1: thanks qualcomm very cool
<clover[m]> S3 is becoming a thing of the past I guess
<szclsya[m]> yeah. a shame but thankfully linux doesn't have all the modern standby bugs like windows
<clover[m]> Leo Shen: if I buy a used x13s with a SIM port is it guaranteed to work with any major carrier?
<szclsya[m]> I think that will depend on which country it's bought in. some regions might not have 4g/5g bands your carrier have
<clover[m]> Where are you? Maybe you are willing to trade :P
<szclsya[m]> my x13s don't have a sim module too
<clover[m]> Oh ok :)
<szclsya[m]> yeah canadian carriers suck. if they offer a secondary sim that shares data with my main phone plan I'll absolutely get one with a modem. unfortunately they don't
<steev> _`[m]: it's based on linux-6.4.y stable tree, not sure what you mean by "final release"
shawnguo has joined #aarch64-laptops
<_`[m]> I guess the question was rather if it had the latest changes, but then I checked commit dates. there's the rc7-hot
<_`[m]> I've built now the 6.4.y but I'm failing to generate the initramfs, missing modules though I did modules_install