steev changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Various Snapdragon laptops) - WIP kernel: https://gitlab.com/Linaro/arm64-laptops/linux/-/commits/qcom-laptops - Chat archives: https://oftc.irclog.whitequark.org/aarch64-laptops
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
enyalios has joined #aarch64-laptops
enyalios_ has quit [Ping timeout: 480 seconds]
blaztinn has quit [Ping timeout: 480 seconds]
blaztinn has joined #aarch64-laptops
blaztinn has quit [Remote host closed the connection]
blaztinn has joined #aarch64-laptops
<steev> i have no idea what that is supposed to mean
tobhe_ has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
Dextarian has joined #aarch64-laptops
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Ping timeout: 480 seconds]
<sibis928376> JensGlathe[m]: steev: FYI I managed to reproduce this on my devkit after making it secure, trying to get dumps on it. Will keep you posted.
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
icecream95 has joined #aarch64-laptops
<icecream95> deathmist: I can reproduce charging on vivobook working better on the top port under load... with all-core 3.4 GHz compile, I see up to 18W discharging with the closer port, but it hovers at about 1W charging with the top port
<icecream95> I almost wonder if it is temperature limiting to protect the infamous micro-SD port from damage...
<Polkorny[m]> [ 6.143831] hid-generic 0003:17EF:30B4.0001: hiddev0,hidraw0: USB HID v1.11 Device [Lenovo ThinkPad Thunderbolt 4 Dock MCU Controller2] on usb-xhci-hcd.2.auto-1.1/input0... (full message at <https://matrix.org/oftc/media/v1/media/download/AcX9x5QApmMVbEzV6Gm6iMatD3B_rmfi8nwVIMNWRiGSLfrBtltdys7vSQ0WNUGE-gWh3gOjMxZntyDz9xJMgSRCegf1YJYQAG1hdHJpeC5vcmcvbGhMYlFqSVBmZ2xiSGhpb3BNUmxWWnhN>)
Dextarian has quit [Ping timeout: 480 seconds]
jhovold has joined #aarch64-laptops
<JensGlathe[m]> I've seen these, too. There's a change in ucsi to warn about these (nothing else)
<steev> sibis928376: \o/ (only because you're able to reproduce it!)
jglathe_volterra has joined #aarch64-laptops
jglathe_volterra has quit []
<deathmist> icecream95: at least A14 won't have one so we'll see if they carried the incredible hw design forward..
<deathmist> thanks for confirming, good to know it's not just my unit or something
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
notHorseface has joined #aarch64-laptops
notHorseface has quit [Quit: Leaving]
jannau_ is now known as jannau
dc7800_ has joined #aarch64-laptops
baubaubaw has joined #aarch64-laptops
dc7800 has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
notHorseface has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
<notHorseface> who has the hp omnibook x14?
<notHorseface> do your usb-a interface and sound working?
<notHorseface> :-D
<JensGlathe[m]> I had one, and yes both was working.
<notHorseface> oh wow.
<notHorseface> I see...
<notHorseface> I don't have the firmware, or what is it?
<notHorseface> please help...
<notHorseface> could you please tell me which firmware files are present on your system beneath this path...
<notHorseface> ;
<notHorseface> [horseface@thegoddamnfuck ~]$ ls /usr/lib/firmware/qcom/x1e80100/hp/omnibook-x14/
<notHorseface> adsp_dtbs.elf adspr.jsn adsps.jsn adspua.jsn battmgr.jsn cdsp_dtbs.elf cdspr.jsn qcadsp8380.mbn qccdsp8380.mbn qcdxkmsuc8380.mbn qcvss8380.mbn X1E80100-HP-OMNIBOOK-X14-tplg.bin
<notHorseface> what does yours show, please.
<notHorseface> :pleading_face:
<notHorseface> :-D
<JensGlathe[m]> Add "dyndbg=file drivers/base/firmware_loader/main.c +p" to your kernel cmdline, then you can get the list of loaded firmwares easily
<notHorseface> okay sure!
<notHorseface> moment...
<notHorseface> :_D
<notHorseface> :-D
<notHorseface> brb rebootin' ...
notHorseface has quit [Quit: Leaving]
<JensGlathe[m]> with sudo dmesg|grep "Loaded FW"
<JensGlathe[m]> the tplg firmware must be present in /usr/lib/firmware/qcom/x1e80100/ (or the updates variant of this), symlink is enough.
<JensGlathe[m]> So, in /usr/lib/firmware/qcom/x1e80100/: ln -s hp/omnibook-x14/X1E80100-HP-OMNIBOOK-X14-tplg.bin X1E80100-HP-OMNIBOOK-X14-tplg.bin
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
notHorseface has joined #aarch64-laptops
<notHorseface> hi sorry, for whatever reason this takes a LONG time to connect to irc...
<notHorseface> it is weird...
<notHorseface> lol
<notHorseface> okay so I've added that, JensGlathe[m].
<notHorseface> how do I view the data..?
<JensGlathe[m]> As I wrote, with dmesg
<notHorseface> oh okay.
<notHorseface> is it modules linked in?
<JensGlathe[m]> sudo dmesg|grep "Loaded FW"
<notHorseface> okay sure...
<notHorseface> I found this, aha.
<notHorseface> Modules linked in: panel_edp(+) q6prm_clocks q6apm_lpass_dais snd_q6dsp_common q6apm_dai q6prm snd_q6apm apr bnep hci_uart btqca btrtl btbcm btintel bluetooth ecdh_generic hid_multitouch joydev ecc ucsi_glink fastrpc qrtr_smd rpmsg_ctrl qcom_pd_mapper qcom_battmgr typec_ucsi pmic_glink_altmode rfkill i2c_hid_of qcom_pon nvmem_qcom_spmi_sdam leds_qcom_lpg led_class_multicolor qcom_spmi_temp_alarm ps883x i2c_hid
<notHorseface> snd_soc_x1e80100 snd_soc_qcom_sdw pwrseq_qcom_wcn qcom_stats gpio_sbu_mux snd_soc_qcom_common qcom_tsens pinctrl_sm8550_lpass_lpi snd_soc_lpass_rx_macro snd_soc_lpass_tx_macro pinctrl_lpass_lpi soundwire_qcom snd_soc_lpass_va_macro slimbus pci_pwrctrl_pwrseq qrtr qcom_q6v5_pas snd_soc_lpass_wsa_macro qcom_pil_info qcom_q6v5 snd_soc_wcd938x pmic_glink qcom_sysmon qcom_edac qcom_common sbsa_gwdt pdr_interface
<notHorseface> snd_soc_lpass_macro_common socinfo snd_soc_wcd938x_sdw qcom_pdr_msg qcrypto regmap_sdw authenc libdes qmi_helpers icc_bwmon qcom_rng snd_soc_wcd_mbhc snd_soc_wcd_common snd_soc_wcd_classh
<notHorseface> whoops
<notHorseface> shit wrong paste uhh, it was supposed to be one line.
<notHorseface> lol
<notHorseface> :-|
<notHorseface> one momemt...
<notHorseface> I was supposed to put this, though.
<notHorseface> Kernel command line: initrd=\initramfs-linux.img root="LABEL=root" rootflags=subvol=@ rw systemd.tpm2_wait=0 dyndbg=file drivers/base/firmware_loader/main.c +p
<notHorseface> [ 0.000000] Unknown kernel command line parameters "+p", will be passed to user space.
<notHorseface> but okay...
<JensGlathe[m]> no you need the quotes around the parameter I posted
<notHorseface> that doesn't bring up any thing,btw...
<notHorseface> sudo dmesg|grep "Loaded FW"
<notHorseface> I will fix the kernel command line...
<notHorseface> moment.
<notHorseface> oh no there is not quotes around it.
<notHorseface> that is just showing that the section quoted isn't understood...
dc7800_ has quit [Remote host closed the connection]
dc7800 has joined #aarch64-laptops
<notHorseface> it works with a lowercase 'fw'...
<notHorseface> (I think)
<JensGlathe[m]> no
<notHorseface> oh I see...
<notHorseface> okay one moment.
<notHorseface> that doesn't show anything neither...
<JensGlathe[m]> you really need the quotes around the dyndbg statement in the kernel command line
<notHorseface> oh okay.
<notHorseface> so like this..
<notHorseface> options root="LABEL=root" rootflags=subvol=@ rw systemd.tpm2_wait=0 "dyndbg=file" drivers/base/firmware_loader/main.c +p ..?
<notHorseface> one moment, I will brb...
<JensGlathe[m]> "dyndbg=file" drivers/base/firmware_loader/main.c +p"
<JensGlathe[m]> s/"//, s/firmware_loader/firmware\_loader/
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
dc7800_ has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
Libre___ has quit [Ping timeout: 480 seconds]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
enyalios_ has joined #aarch64-laptops
enyalios has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
<notHorseface> llol huh?
<notHorseface> JensGlathe[m], I just reached back home.
<notHorseface> so I have this, '"dyndbg=file" drivers/base/firmware_loader/main.c +p'
<notHorseface> without the '' ...
<notHorseface> is that correct?
<JensGlathe[m]> naah ofc not. "dyndbg=file drivers/base/firmware_loader/main.c +p"
<notHorseface> oh I see...
<notHorseface> okay, thanks.
<notHorseface> sorry I didn't understand your s/ thing.
<notHorseface> lol
<JensGlathe[m]> That was the matrix bridge
<notHorseface> oh I see.
<notHorseface> okay, brb.
<notHorseface> :-)
<notHorseface> thanks for helping... btw.
<notHorseface> rbb
notHorseface has quit [Quit: Leaving]
Libre___ has joined #aarch64-laptops
<JensGlathe[m]> This is only to see what firmware files got loaded by the kernel.
notHorseface has joined #aarch64-laptops
<notHorseface> JensGlathe[m], https://bpa.st/VGDVQ ...
<notHorseface> it looks like that it is missing some which I have found elsewhere, I think...
<JensGlathe[m]> Okay so the topology file is loaded, good
<JensGlathe[m]> what does aplay -l say
<notHorseface> one moment...
<notHorseface> I have not got aplay...
<notHorseface> I will install it?
<notHorseface> is it this one?
<notHorseface> [horseface@thegoddamnfuck ~]$ pacman -Ss aplay
<notHorseface> extra/gmtk 1.0.9-8
<notHorseface> Common functions for gnome-mplayer and gecko-mediaplayer
Rob has quit [Quit: ZNC 1.10.1+deb1build3 - https://znc.in]
<JensGlathe[m]> I don't know, whatever is required for sound on arch
<notHorseface> oh okay... one moment.
<notHorseface> I suppose that it is using pipewire and all of that, and alsa in the kernel. I will work it out...
<notHorseface> wireplumber and etc.
<notHorseface> lol
Rob has joined #aarch64-laptops
dc7800 has quit [Quit: ZNC 1.10.1 - https://znc.in]
<notHorseface> JensGlathe[m], https://bpa.st/XCSK6
<notHorseface> it seems like that it knows that it is there.
dc7800 has joined #aarch64-laptops
<JensGlathe[m]> well it should play sound, then? Maybe dial the volume down to 1/3 to be on the non-blasting side?
<notHorseface> I got this one too...
<notHorseface> https://bpa.st/RJLXE
<notHorseface> it doesn't audio doesn't work. certainly.
<notHorseface> :-/
<JensGlathe[m]> good
<notHorseface> hmm
<JensGlathe[m]> No idea then
<notHorseface> :-(
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
dc7800_ has joined #aarch64-laptops
<JensGlathe[m]> I have sound up and running almost everywhere, even on the mini-x. But always on Ubuntu or Debian, so 🤷
dc7800 has quit [Ping timeout: 480 seconds]
notHorseface has quit [Quit: Leaving]
notHorseface has joined #aarch64-laptops
<deathmist> could it be the lack of https://github.com/alsa-project/alsa-ucm-conf/pull/772 (part of v1.2.16.1)? is this the part where "arch linux arm seems up-to-date" comes back to bite?
<deathmist> nvm I'm seeing things, version looks good there too
dc7800_ has quit [Ping timeout: 480 seconds]
dc7800 has joined #aarch64-laptops
<deathmist> notHorseface: maybe try stable kernel v7.1 instead of v7.2 which barely just released just in case. maybe even copy/extract the ubuntu one in with modules too manually and see if anything changes
<notHorseface> I saw this;
<notHorseface> [horseface@thegoddamnfuck ~]$ sudo systemctl enable pipewire.service
<notHorseface> Failed to enable unit: Unit pipewire.service does not exist
<deathmist> because it's not a system service but a --user one?
<notHorseface> oh
<notHorseface> so it is enabled when needed?
<notHorseface> or ..?
<JensGlathe[m]> systemctl --user restart wireplumber pipewire pipewire-pulse it would be on Ubuntu
<notHorseface> that works...
<notHorseface> uhh
<notHorseface> so say that I used the other one, deathmist, I cannot see where the root image is for it?
<notHorseface> or what...
<deathmist> you could boot the ubuntu stick and just yoink /boot/vmlinu* /lib/modules/*, plant them in arch and mkinitcpio, should be about it unless I forgot something
<notHorseface> no, the audio does not work in ubuntu either, although I had a look, lol.
<deathmist> because you had no firmware setup
<notHorseface> and the archlinux.page one has more packages...
<notHorseface> tbch
<notHorseface> so before I go any further, I should change to that one...
<notHorseface> lol
<notHorseface> yes
<deathmist> having an actually installed ubuntu partition just for comparison with a known-working environment would help in general
<notHorseface> :-/ but I don't know where the bootstrap stuff is...
sri has joined #aarch64-laptops
<notHorseface> brb
notHorseface has quit [Quit: Leaving]
<sri> poseidon lost his brain left side :((((( lol
sri has quit []
notHorseface has joined #aarch64-laptops
<notHorseface> do I use this?
<notHorseface> 'Bootstrap tarballs built with the packages in these repos are available here: https://arch-linux-repo.drzee.net/arch/tarballs/os/aarch64/'
<notHorseface> this one seems like a better idea, lol.
<deathmist> not sure it'd help
<notHorseface> but I want to do it any way...
<notHorseface> there are some things which I do not like about this.
<notHorseface> lol
<deathmist> as I said an actual Ubuntu install on another partition would be a better chance at success for now just to sanity check, or do it in smaller parts by going back to v7.1 kernel, then maybe trying the ubuntu one etc
<notHorseface> I'm quite sure...
<notHorseface> I don't want to...
<notHorseface> lol
<deathmist> good luck have fun in that case, hope it magically fixes itself I guess
<notHorseface> why has archlinuxarm has got 10K more packages than archlinux, btw?
<notHorseface> and the other has a little less than arch linux...
<notHorseface> there are some quirks which I'd noticed...
<notHorseface> is all... idk, man.
<notHorseface> but this is very new.
<notHorseface> and that causes me to be cautious.
<notHorseface> actually I will keep this one and try as you'd recommended...
<notHorseface> lol
<notHorseface> not to have an ubuntu install, but the other suggestion.
<deathmist> maybe overlay root can be setup on the live USB without too much hassle, could then easily see if audio works there just booting that after planting in the fw files
<notHorseface> overlay root?
<notHorseface> brb
notHorseface has quit [Quit: Leaving]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Ping timeout: 480 seconds]
notHorseface has joined #aarch64-laptops
notHorseface has quit []
notHorseface has joined #aarch64-laptops
<notHorseface> the audio doesn't work on ubuntu neither...
<notHorseface> lol
<notHorseface> either*
<deathmist> and so did you have any firmware at all loaded?
<deathmist> you know I've been trying to tell you the USB doesn't come with your machine-specific firmware? that's why they have a script that pulls them from a windows partition
<deathmist> wonder if putting them in place afterward (copied from arch or whatever) and rebooting adsp remoteprocs etc should yield working audio, maybe JensGlathe[m] can say
<deathmist> for ubuntu kernel you also have to boot it with snd_soc_x1e80100.i_accept_the_danger added to cmdline and definitely keep volume down
bionade24_ has quit []
bionade24 has joined #aarch64-laptops
<notHorseface> oh I see...
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
icecream95 has quit [Ping timeout: 480 seconds]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Remote host closed the connection]
<JensGlathe[m]> You need sorta current firmware. You can work without by not having these ( and the kernel keeps using the boot „light“ firmware), though. My kernels would do that as I‘ve seen on the installs I did in the last few weeks. Gives you sound if the setup for it is complete, too.
<JensGlathe[m]> But what I‘ve seen in @nonotHorseface fw list is that adsp firmware is loaded, so this is not missing and should just work ™️
<tobhe[m]> deathmist: no longer needed since we now have the upstream limit
<deathmist> also on latest official 26.04 ISO? that's what is currently on the USB. maybe extracting some other kernel pkg from gdrive for testing would be better idk
<tobhe[m]> the fix landed just in time for 26.04
notHorseface has quit [Quit: Leaving]
notHorseface has joined #aarch64-laptops
jglathe_volterra has joined #aarch64-laptops
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
jhovold has quit [Ping timeout: 480 seconds]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
ungeskriptet has quit [Remote host closed the connection]
ungeskriptet has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
dc7800_ has joined #aarch64-laptops
Gnappo has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
jglathe_volterra has quit [Remote host closed the connection]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Read error: Connection reset by peer]
sri has joined #aarch64-laptops
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
dc7800_ has quit [Ping timeout: 480 seconds]
dc7800 has quit [Read error: Connection reset by peer]
dc7800 has joined #aarch64-laptops
Gnappo has quit [Quit: Connection closed for inactivity]
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Ping timeout: 480 seconds]
notHorseface has quit [Quit: https://ineedsomeacidtocalmmedown.space/]
notHorseface has joined #aarch64-laptops
notHorseface has quit [Quit: Leaving]
dc7800_ has quit [Read error: Connection reset by peer]
sri has quit [Quit: Leaving]
dc7800 has joined #aarch64-laptops
dc7800_ has joined #aarch64-laptops
dc7800 has quit [Ping timeout: 480 seconds]