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
<steev> what all arguments do you have?
<steev> fwiw, my command line looks like `pd_ignore_unused clk_ignore_unused net.ifnames=0 ipv6.disable=1 pcie_aspm.policy=powersupersave quiet splash`
<steev> but that sounds like maybe secureboot is still on?
<harvests[m]> I believe it's off, let me double check
<harvests[m]> One difference is I have /boot/efi/sc8280xp-lenovo-thinkpad-x13s.dtb from the debian installer guide but also /boot/efi/EFI/Armbian/grubaa64.efi and /boot/efi/BOOT/grubaa64.efi
<steev> maybe it's loading the armbian dtb and not the debian one?
<harvests[m]> how does your /boot/efi look? Should I delete the directory /boot/efi/EFI
<steev> i'm not using a pure debian setup; i installed mine back in the day with the modified iso
<harvests[m]> via the linaro guide?
<steev> yeah, from back when the support was VERY preliminary
<harvests[m]> I've done ironrobin's archiso with my own kernel, linaro debian and armbian haha
<harvests[m]> Removed armbian's dtb, hopefully that works
<LoganLeland[m]> that did not work haha
martiert has quit [Remote host closed the connection]
martiert has joined #aarch64-laptops
shoragan has quit [Read error: Connection reset by peer]
shoragan has joined #aarch64-laptops
<adamcstephens> steev: thanks i audited the initrd kernel modules and was missing a couple. adding those and updating the order got me booted on 6.7rc8
<steev> \o/
<enyalios> when building a steev kernel with `make johan_defconfig`, the git commit gets appended to the kernel image name, is there any way to make it not do that so the name is more predictable?
<enyalios> oh maybe i just set CONFIG_LOCALVERSION_AUTO=n ?
<enyalios> yeah that seems to have worked
jglathe has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
jglathe has quit [Ping timeout: 480 seconds]
jglathe has joined #aarch64-laptops
jglathe has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit [Read error: Connection reset by peer]
iivanov has joined #aarch64-laptops
<ema> harvests[m]: in general it would be better to use a debian-only setup if possible, different combos of dtbs/grub/shims may lead to various problems
<agl> steev: I compile/install your kernel version 6.6.9 but my bluetooth mouse is not in the list of the bluetooth devices when I start your new kernel. Under kernel version 6.6.6 all works. kernel 6.6.9 have a new device tree file (.dtb) against 6.6.6. Is there a module necessary which is no enabled in the .config for kernel 6.6.6. I have used the kernel .config from 6.6.6!
<agl> steev: Shall I use the new johan_defconfig and to enable the modules which I need for USB-thethering ... and so on
jglathe has joined #aarch64-laptops
<jglathe> @jhovold: yes, me waking up to a laptop with no wifi connection ;) Only diff is I didn't close the lid, which is SOP. But knowing this is nothing newly introduced since 6.7-rc6 is something.
<jhovold> agl: you probably need to update whatever script you use to set the Bluetooth device address in case steev decided to include that fix in his 6.6.9 branch
<jhovold> it should be set big-endiann order, but previsouly had to be set in reverse order
<jhovold> jglathe: got it, thanks for clarifying
<agl> jhovold: Thanks, after I entered the address in Big-Endiann order the bluetooth mouse works again.
<steev> enyalios: yeah, that's the config option, i always forget it when i try out his too :P
<steev> jhovold: yeah i do include it, fixes are fixes :P
<steev> but it's more so i don't have to swap them when i'm going between stable and rcs
<jhovold> steev: yeah, and I marked the fix for stable backport so it should end up there sooner or later anyway
<steev> adapter i'm using (with 2 usb-c cables to plug it in since the 2 ports are ever so slightly wider than a mac)
<steev> jhovold: is there a "fix" for the internal display not waking up when some external displays are connected? https://paste.debian.net/1302913/ is what i see in the logs, though, oddly, that seems to occur *as* the suspend/sleep is happening - i can disconnect and that wakes up the internal display, however, plugging the adapter back in, the external display doesn't come back until a reboot; https://www.amazon.com/dp/B07PFNV82M is the
<steev> blergh, actually it looks like flipping it over fixes it
<jglathe_> whut... haven't had a case where the orientation mattered yet
<steev> today you learned :)
<steev> yes orientation can matter
<jhovold> steev: are you saying that the external display problem goes away if you flip the usb-c connector?
<jhovold> and no, there
<jhovold> is no fix yet for that
<jglathe_> hardware
<steev> on that one, yeah, more specifically when waking up from sleep
<steev> because if i then unplug it and plug it back in, the external display does *not* get a signal
<steev> the computer sees it there, the monitor reports no signal
KhazAkar has joined #aarch64-laptops
<jhovold> steev: that is a known issue with the drm driver as I mentioned, I've asked lumag to look into it
<jhovold> have not noticed that flipping the cable would make any difference though
<jhovold> just tested here too, and the usb-c orientation does not seem to make any difference, all display are gone after suspending with external display connected
jglathe has quit [Remote host closed the connection]
<steev> what happened here with that dock was, switching the orientation, the internal display came back when i unplugged it, external display came back when plugging it in, however, unplugged then, and plugged back in, the monitor says no signal, but as i said, the system sees it
<jhovold> yeah, there are ways to get the display back, reconnecting from a VT terminal for example, I just don't want to spend any time more time on that since we need to get this fixed properly in the drm driver anyway
<jhovold> and lumag has looked at the relevant code in the past so should hopefully be able to track it down quickly, if he can find the time
jglathe has joined #aarch64-laptops
flokli has quit [Quit: WeeChat 4.1.1]
flokli has joined #aarch64-laptops
KhazAkar has quit [Quit: Connection closed for inactivity]
KhazAkar has joined #aarch64-laptops
<craftyguy> every so often ath11k on the x13s goes off into the weeds, I have to reload the driver to get wifi back: https://bpa.st/7ZZQ
<craftyguy> anyone else seeing that?
<steev> i do not see it here
<steev> something someone suggested was disabling powersave
<craftyguy> yeah, probably me lol
<craftyguy> (I have powersave disabled, to work around another issue I see)
<jglathe> I have balanced mode
jglathe_ has quit [Remote host closed the connection]
<craftyguy> what is balanced mode?
<jglathe> volterra is also on 6.7-rc8 now
<dgilmore> craftyguy: If the system tries to suspend here wifi gets angry, and often drops out. I have taken to just turning the system off when not actively being used
<craftyguy> ya in my case, it wasn't suspended, just sitting idly over night (doesn't happen all the time, but it has a few times over the last few weeks)
<steev> mine sits idly every night :(
<robclark> I hadn't seen fail-to-suspend issues until recently.. and not even correlated with switching kernels.. I've rebooted since, so we'll see if that resolved the issue
jglathe has quit [Remote host closed the connection]
jglathe has joined #aarch64-laptops
konradybcio has quit [Quit: Reconnecting]
konradybcio has joined #aarch64-laptops
iivanov has quit [Quit: Leaving...]
<jglathe> new device (for me) tested: GeneralPlus USB Audio Device idVendor=1b3f, idProduct=2008, bcdDevice= 1.00 HAma USB-C to 3.5mm audio jack
<jglathe> working nicely, can do quite good levels
<jglathe> need to do mic yet
<jglathe> All my USB headsets are headsets, so this is an improvement until soundwire over DP works
<jglathe> I meant BT or USB, but it's mono
gwolf has quit [Ping timeout: 480 seconds]
<jglathe> clock for pcie3a is stuck on disabled for volterra. My workaround was to make enabling it controllable. Works nicely since then. Only caveat IMO is that you need to duplicate the clock control structs (and keep them up to date) because they are all static. I would prefer to create them dynamically.
<jglathe> the WARN comes from qcom_cc_really_probe()
<jglathe> drivers/clk/qcom/common.c
<konradybcio> is anything attached to this bus?
<jglathe> nope
<jglathe> I guess
<jglathe> still don't know why they clamp the thing down hard
<konradybcio> which clock exactly this is?
<jglathe> I see this here: [ 31.709268] VCC3B_WAN: disabling
<jglathe> volterra still runs
<konradybcio> this means the VCC3B_WAN regulator (presumably you copypasted this from another device as it's for the 5g modem) is being disabled as linux doesn't see any consumers attached to it
<jglathe> right, I assumed
<steev> that's WAN not WARN
<jglathe> oh the other is WARN with stack dump and whatnot
<konradybcio> that WARN has the clock name
<jglathe> in sc8280xp.dtsi (a place I didn't want to edit): https://drive.google.com/file/d/1qdSeULarM2TBUcwvPEqPcTctLsxJg0WL/view?usp=drive_link
<jglathe> Haven't seen that WARN since July 16 :)
<jglathe> would need to provoke it, tomorrow
<konradybcio> you didn't make that file public
<jglathe> oh sorry
<jglathe> I hate GD
<jglathe> should be now
<konradybcio> that.. doesn't tell me a whole lot
<konradybcio> the WARN you see in dmesg would be in the form of "clkname is stuck at 'off'"
<jglathe> I'm sorry again. The direct answer to your question will be the dmesg part of the WARN after I set pcie_3a_disabled to 0 in my dts, recompiled and rebooted on volterra. Tomorrow.
<jglathe> I actually didn't care which clock it was, it needs to be not set when bringing up the sc8280xp in Volterra config
jglathe has quit [Ping timeout: 480 seconds]
<konradybcio> gdsc is an inside-soc component, it's totally not hardware dependent
<konradybcio> is this reproducable on the current -next?
<konradybcio> is this reproducible with the upstream defconfig?
gwolf has joined #aarch64-laptops