robclark 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
derzahl has joined #aarch64-laptops
martiert_ has joined #aarch64-laptops
martiert has quit [Ping timeout: 480 seconds]
<enyalios>
would someone be able to help me get audio working on my thinkpad x13s
<enyalios>
anyone else have audio working on a thinkpad x13s?
<steev>
you should definitely not have gone through and cranked everything up in alsa mixer if you did
<enyalios>
oh no?
<enyalios>
i was worried that audio was working but the volume was on 0 or something
<steev>
did you happen to keep the windows install around?
<enyalios>
i did not
<enyalios>
i did make a usb system restore drive
<enyalios>
but i did not test it and would really prefer to not blow away the linux install
<steev>
No, I was gonna suggest booting windows and seeing if the speakers still worked or not, not suggesting to install it
<steev>
I’ve never seen that message before you showed it, so I’m not entirely sure what it means, maybe srinik or broonie might
<enyalios>
if i blow away the asound.state and reboot it should reset things to defaults, shouldnt it?
<steev>
it should, yeah
<steev>
what i did though was blow it away, and then press the power button
<enyalios>
do you also have 290 sound controls, because that seems excessive
<steev>
about that, yeah
<steev>
welcome to modern codecs
<enyalios>
lol, wtf
<steev>
There are lots of knobs (that end users really shouldn’t be turning)
<steev>
I don’t think it’s still possible, but I’m reminded of the melting his speakers on his daisy_snow Chromebook when they first came out because of cranking a volume too high
<enyalios>
it seems like things should be working, but they are not
<agl7>
push_: Yes
xroumegue has quit [Ping timeout: 480 seconds]
<agl7>
push_: I also tried to get the speakers into the selection box somehow, but couldn't get it to work either.
<agl7>
push_: Under original Debian sound works.
<agl7>
(with steev's kernel)
<push_>
but then a bunch of other stuff doesnt work
<push_>
on firmware 1.57 it has never worked
xroumegue has joined #aarch64-laptops
<steev>
you need the latest linux-firmware for 6.5+ (i mentioned these changes being needed in the armbian discord but have no idea if they propogated)
<steev>
you also need the mentioned pull request
<steev>
debian testing just got 1.2.10 of alsa-ucm-conf; i installed that, applied 335.patch with cd /usr/share/alsa; sudo patch -p1 --no-backup-if-mismatch ~/335.patch rebooted and i still have audio
<steev>
well, with proper patch syntax, but still
<steev>
i use pipewire though, because gnome uses that. and typically test with canberra-gtk-play (and also have gnome play a sound on login so i know if audio is broken typically), but aplay also works for me here
<enyalios>
steev: which firmware file is needed for audio?
<enyalios>
i see a bunch of syslog error with 'Direct firmware load for qcom/sc8280xp/LENOVO/21BX/qcvss8280.mbn failed with error -2' for a whole bunch of different firmware files
<enyalios>
oh huh, it looks like im missing a bunch of firmware that its trying to load
<push_>
alsa-ucm-conf 1.2.10 appears to have 331 applied, i applied 335
<push_>
ive tried linux-firmware from ubuntu-concept but it wasn't any better, is there a link to a better one?
<steev>
not really, but for me, i just clone it, run make O=../builds/branchname -j $(nproc) KDEB_PKGVERSION=$(make kernelversion-$(init/build-version) LOCALVERSION="" laptop_defconfig/bindeb-pkg (laptop_defconfig first, then bindeb-pkg running the same command a second time and swapping it out)
hightower2 has quit [Ping timeout: 480 seconds]
<push_>
branchname in this case would be master?
<steev>
no, that's literally whatever branch i'm on (it's a function that tests that) - you can really make it whatever you want, but if you're cloning my repo, you want the lenovo-x13s-linux-6.5.y branch
<steev>
doesn't help the peeps who are using debian packages, i don't think?
<derzahl>
hey guys, gonna wipe my c640 and give me wife to take with her on a trip. is everything available in mainline kernel now?
<derzahl>
any reason to use a custom build still or can I just throw the latest debian or ubuntu on it?
<push_>
I know it doesnt "just work" on the novago, i know 850 support was better but I'd be surprised if it "just worked"
<steev>
i think sound is still a little wonky and needs a minor fixup, and the vanilla installers probably won't work... but maybe? i haven't tried in a long time
<derzahl>
was just gonna use debootstrap
<derzahl>
steev: doing anything with rk3588 kernel support? I see you have the (BSP?) 5.10 version in your git repo. Ive been sloppily mantaining a current 6.5 version for my opi5plus boards
<derzahl>
so for the c640, would you stick with the debian sid + linaro repos(looked pretty stale when I checked) or go with armbian or something else?
<steev>
yeah bsp, it's for opi5plus but... i've never gotten it to really work. even their default debian install, with that 5.10 kernel likes to randomly kernel panic
<steev>
i have kali on mine, but i haven't reinstalled using anything but the laptops iso
<steev>
i'd probably move it to bookworm instead of sid though
<derzahl>
that bsp kernel is a pretty big mess, ive been stable though with my 6.5+ patches - just no working graphics yet
<derzahl>
ok, bookworm not ubuntu? last i tried ubuntu it seemed to be a bit more arm focused. Like their grub scripts handle dtb's and stuff now
<derzahl>
i think that was on the opi5plus
<steev>
they've always handled dtbs and stuff, it's through flash-kernel
<steev>
but their grub script yeah
<steev>
that's ubuntu specific because iirc, grub keeps saying no to it
<derzahl>
ah, wonder why
<steev>
derzahl: where is your 6.5 kernel located? and by no working graphics you mean gpu or not even framebuffer?