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
dlg has quit [Remote host closed the connection]
dlg has joined #aarch64-laptops
nothorseface has quit [Ping timeout: 480 seconds]
nothorseface has joined #aarch64-laptops
nothorseface has quit []
nothorseface has joined #aarch64-laptops
nothorseface has quit []
nothorseface has joined #aarch64-laptops
nothorseface has quit [Read error: Connection reset by peer]
nothorseface has joined #aarch64-laptops
nothorseface_ has joined #aarch64-laptops
nothorseface_ has quit [Remote host closed the connection]
nothorseface has quit [Ping timeout: 480 seconds]
nothorseface has joined #aarch64-laptops
nothorseface has quit []
nothorseface has joined #aarch64-laptops
nothorseface has quit [Ping timeout: 480 seconds]
<_mike> i'm fairly certain there should be no reason why compiling openwrt should cause my snapdragon to power down
<_mike> i believe it's being tampered with
<_mike> i should be able to use all cores just like i do for anything else
<_mike> maybe it's a bastille thing cos i'm using ebpf/llvm
<abby> yes, it's being tampered with by heat
<abby> it probably did a thermal overload shutdown
tobhe_ has joined #aarch64-laptops
<HdkR> "My CPU is being tampered with" is a fun way to say I'm abusing it by compiling all the code.
tobhe has quit [Ping timeout: 480 seconds]
<_mike> abby: yeah valid. i have the air conditioning running in the car with the empty fuel light on
<_mike> but hang on
<_mike> it shouldn't really overheat even if i'm only using 8 cores
<_mike> or 12
<_mike> it should be designed to cope
<_mike> although it is summer here and it's been hot and the AC indoors isn't really working
<_mike> but I have had WAY too many technical issues in the property i'm stuck at atm
nothorseface has joined #aarch64-laptops
sally has quit [Quit: sally]
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
sally has joined #aarch64-laptops
<kuruczgy[m]> linux does not do proper thermal throttling yet on x1e afaik, I also have the same issue, have to prop up the laptop when compiling the kernel for better airflow.
alfredo has joined #aarch64-laptops
alfredo has quit [Quit: alfredo]
nothorseface has quit []
checkfoc_us9 has quit []
checkfoc_us9 has joined #aarch64-laptops
checkfoc_us9 has quit []
checkfoc_us9 has joined #aarch64-laptops
SpieringsAE has joined #aarch64-laptops
<SpieringsAE> _mike: you're on the asus aswell right? There is no working fan curve right now (at least on mine), so you may have noticed that the fans never spin up under linux
<SpieringsAE> they do under windows, so yeah, that in combination with no proper throttling can cause some issues
<SpieringsAE> I've not managed to run into it myself, but I do tend to put it somewhere where the fans are least obstructed when I do a long compile
<SpieringsAE> haven't had it get over 85 ish degrees, but yeah, it is quite cool here in the netherlands
nothorseface has joined #aarch64-laptops
SpieringsAE has quit [Remote host closed the connection]
nothorseface has quit [Remote host closed the connection]
nothorseface has joined #aarch64-laptops
kirill_ has joined #aarch64-laptops
kirill_ is now known as Guest5590
<Guest5590> folks, I'm working on DTS for Honor Magicbook Art 14 Snapdragon and I need help. A user need to physically connect webcam and on the OS without DTD it works. Used USB HUB has an addres which is mapped into usb_2 in x1e80100.dtsi, but all attempts to define it in my DTS fails. System reads it, but webcam doesn't start. I feel that I had missed small pice, but I do it the first time, and can't figure out. Everything is here
<Guest5590> I build it on v6.13-rc6-dts-raw
<JensGlathe[m]> Guest5590: MAybe this atch is missing, if we're really talking about usb_2 which would be USB2 only, internal. And you need the ptn3222 definition for it, too as is in the newest dts versions for the T14s. They connect a fingerprint reader with it.
<Guest5590> I have no idea does it USB2 or not. But an address of a hub to which connected webcam is 0xa200000 and it matches usb_2_dwc3, and I assume that it is true, special for the USB webcam only port
nothorseface has quit []
<JensGlathe[m]> yeah that sounds about right. You need the eusb5_repeater though
<Guest5590> JensGlathe[m], I see that patch to eUSB2 repeater can't be applied to https://git.kernel.org/pub/scm/linux/kernel/git/devicetree/devicetree-rebasing.git , where should I look for an actual repository?
<JensGlathe[m]> b4 am -3 <message-id>
<JensGlathe[m]> I have linux-next as remote in my repo
<Guest5590> thanks, it works!
<macc24> soooo how's sound on slim7x? been a while since i looked at it and i completely forgot it
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
suihkulokki has joined #aarch64-laptops
<macc24> i wonder what those are for
<macc24> there's references to these files in acdb_cal.acd
<macc24> acdb_cal.acdb*
<konradybcio> macc24 you probably want to talk to lumag about these..
pbsds is now known as Guest5606
pbsds has joined #aarch64-laptops
Guest5606 has quit [Ping timeout: 480 seconds]
jhovold has joined #aarch64-laptops
nothorseface has joined #aarch64-laptops
nothorseface has quit [Remote host closed the connection]
pbsds has quit [Ping timeout: 480 seconds]
nothorseface has joined #aarch64-laptops
<jhovold> craftyguy: thanks for confirming that dropping msi-map is indeed masking the ath11k issue in your setup (currently)
<jhovold> regarding the suspend issue, can you try to verify that this is a 6.13 regression by going back to 6.12 gor
<jhovold> for a while
nothorseface has quit []
nothorseface has joined #aarch64-laptops
nothorseface has quit [Remote host closed the connection]
nothorseface has joined #aarch64-laptops
<macc24> so you need to load acdb_cal into qact, then go to file->export to xml and in DataPool.xml there's calibration data that matches up with https://github.com/Audioreach/audioreach-graphservices/blob/master/spf/api/modules/sp_rx.h and sp_vi.h
<Guest5590> The next question. Attempt to load adsp.mbn or adsp_dtb.mbn lead to an error from a device with return code: 0xffcfffbb. Any suggestion? I've tried https://lore.kernel.org/all/20241213-dts-qcom-cdsp-mpss-base-address-v3-13-2e0036fccd8d@linaro.org/ without any impact.
<macc24> Guest5590: where are you getting those files from?
nothorseface_ has joined #aarch64-laptops
nothorseface_ has quit [Read error: Connection reset by peer]
nothorseface_ has joined #aarch64-laptops
nothorseface has quit [Ping timeout: 480 seconds]
<macc24> you need to get those files from windows, they are signed per-device
<macc24> they are in C:\Windows\System32\DriverStore\FileRepository\
<Guest5590> what a brave new world, thanks.
<Guest5590> macc24, I wonder does it signed really per device or you mean per model?
<JensGlathe[m]> Thereβ€˜s a fetcher on my github site, also for x1e
<JensGlathe[m]> Per model
<Guest5590> JensGlathe[m], may I ask you a link?
<macc24> Guest5590: per model
<JensGlathe[m]> https://github.com/jglathe/wdk2023_fw_fetch/tree/jg/hp-omnibook-x14 should be good enough as a template. For iris it looks like there may be other files, too, but to bring it up it should be enough.
nothorseface_ has quit []
srinik has joined #aarch64-laptops
srinik has quit [Ping timeout: 480 seconds]
deathmist has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
Guest5590 has quit [Quit: Page closed]
deathmist has joined #aarch64-laptops
srinik has joined #aarch64-laptops
<anonymix007[m]> macc24: these *.so.1 modules are basically what drives A2DP Hardware Offload in Android. Windows can also use these, so aptX Adaptive works there
<craftyguy> jhovold: this suspend issue has been happening for me for many months. I just don't use s2idle/suspend πŸ™
<craftyguy> Like, at least a year
<JensGlathe[m]> ... and there they are, HTC Rx errors on the EL2 box with msi-map disabled. Maybe it is a viable workaround to trigger a firmware reset (if that's possible) ) when it gets detected in the Rx handler.
<craftyguy> Will that drop the wifi connection?
<JensGlathe[m]> no idea
<craftyguy> and are we sure that we are both using the same dts patch to remove the msi-map? πŸ˜›
<craftyguy> (I can share mine later when at laptop)
<JensGlathe[m]> no ofcourse not. But I'm quite confident on this matter
<craftyguy> what if you drop all of the msi-map things (i.e. revert that whole patch from earlier)
<craftyguy> Since I re-removed it yesterday after confirming the issue returns when it's there... no errors at all for me in like 15hrs. Bizarre
<JensGlathe[m]> you don't use gic-its at all?
<JensGlathe[m]> now that's something
<JensGlathe[m]> interesting what o1 has to say to this
alfredo has quit [Quit: alfredo]
<JensGlathe[m]> okay I will remove the msi-map for a test
<JensGlathe[m]> this might explain why there's a higher probability of hitting it in EL2 - arm-smmuv3 is using it as msi-parent, also using gic-its. and this one is enabling the dma transfers on PCIe. So let's do both, arm-smmuv3 has spi interrupt lines, too
<JensGlathe[m]> sdhc reader is working nicely on Snapdragon Dev Kit with UHS-II card. Only thing is it detects as UHS-I (whatevs)
<JensGlathe[m]> enable-gpio is the infamous tlmm 71
<travmurav[m]> hm uhs2 is with extra pins one?
<travmurav[m]> does the devkit even have the other pins
<JensGlathe[m]> yes
<travmurav[m]> or better say does soc even have them xD
<anthony25> Did you need to enable the GPIO 71?
<JensGlathe[m]> no idea, but if I insert a normal one it gives I/O errors a lot and does nothing
<anthony25> Weird, it was the same GPIO pin on the yoga slim 7x to get the lid working, iirc
<travmurav[m]> does it change state when you plug the card in/out?
<JensGlathe[m]> This was in a patch from abelvesa or sibis
<travmurav[m]> cd is card detect
<travmurav[m]> but also bus-width=4 I'd assume it won't use extra lanes xD
<JensGlathe[m]> it is a v60 card, writing with 50MB/s
<travmurav[m]> or uh the extra pins are some lvds stuff even? eh....
<travmurav[m]> what a mess
<JensGlathe[m]> yep strange design
<travmurav[m]> I'd make a bold guess that qcom's hw doesn't support that
<JensGlathe[m]> put in a card with these contacts missing, get non-working sd
<travmurav[m]> weird
<travmurav[m]> like it detects and then fails in data transfers?
patrickm has quit [Ping timeout: 480 seconds]
<JensGlathe[m]> i/o errors when trying to read parition table, so actually non-working
<travmurav[m]> but it reads the info registers? i.e. in the last screenshot there is mmcblk0: with vendor name and capacity, then errors?
<JensGlathe[m]> I will try in a few minutes, let's finish the resync first
<travmurav[m]> but if so it's weird that cmd line works but not data lines
<travmurav[m]> (or it dies after the clock switches from ident 400khz to real speed?)
<travmurav[m]> this is somehow weird enough to actually try and tape off the second row of contacts adn check if it works or not xD
<anthony25> this pin 71 seems to be used as extra for whatever specific thing is needed
<JensGlathe[m]> insertung a 64GB V30 card: https://pastebin.com/
<JensGlathe[m]> sorry wrong paste https://pastebin.com/NpuxumcD
<travmurav[m]> yeah I guess cmd works but data don't
<travmurav[m]> very weird
<travmurav[m]> but uh it's not timeout
<travmurav[m]> weird
<JensGlathe[m]> maybe this is no-mmc, no-sdio properties?
<travmurav[m]> nah
<travmurav[m]> those should just disable some software checks
<travmurav[m]> i.e. linux just won't bother sending commands to check if the inserted card is emmc or sdio, and only assume sd
<travmurav[m]> (no-emmc is a bit sad IMO I guess since one can use emmc->microsd adapter but whatever)
<travmurav[m]> I wonder if restricting it to legacy/hs modes would do anything
<jhovold> craftyguy: ah, ok. and it wasn't you who disabled some audio bits in the uefi setup?
<jhovold> either way, it shouldn't be related to the possible new regression we have in 6.13-rc
<jhovold> but would be interesting to know what differs in your setup (besides the modem), and suspend has been working fine here (and for most people it seems)
srinik has quit [Ping timeout: 480 seconds]
kmeaw has joined #aarch64-laptops
<kmeaw> Hi. Where can I find an alsaucm config for T14s (21N1CTO1WW)?
<JensGlathe[m]> these are all messages regarding sdhc
<craftyguy> JensGlathe[m]: sorry maybe you misunderstood, I use GIC but not for pcie4. I'll post the patch I am using that eliminates those HTC errors
<craftyguy> jhovold: No I haven't touched fw config in months, and for audio I mostly just use bluetooth πŸ˜›
<craftyguy> Yeah I have no clue why resuming is so broken for me, and not sure how to debug it further since the system is completely unresponsive when it happens
<JensGlathe[m]> craftyguy: I just built with msi-map/msi-parent disabled. We'll see what comes off it
<JensGlathe[m]> One wdk2023 completely on WLAN, booted on EL1 had no HTC Rx errors for >24hrs
<craftyguy> if I apply that, I get no HTC Rx errors, wifi works fine for me for days. without that patch, lots of HTC errors and I frequently have to reload ath11k to get wifi connectivity working again
<JensGlathe[m]> yeah that was my previous test
<craftyguy> are you testing it on an x13s?
<craftyguy> (you mentioned "el2 box" but I don't know what that is)
<JensGlathe[m]> where I got lots of HTC Rx errors fast on X13s, and eventually also on wdk2023 with EL2
<JensGlathe[m]> I test with 3 devices
<craftyguy> when you tested it on the x13s, did it help?
<craftyguy> I've been testing it on my x13s in el1 only, haven't tried el2 with that patch
* craftyguy has to step away for a bit now
<JensGlathe[m]> no it got worse for me, I am virtually HTC Rx error free with msi-map on
<JensGlathe[m]> tests will continue until morale improves
<craftyguy> haha. Which fw version are you using for wifi on the x13s you are testing
<JensGlathe[m]> .41 everywhere
<JensGlathe[m]> X13s is running now with completely msi-map disabled
<JensGlathe[m]> wdk 2023 el1, too
jhovold has quit [Ping timeout: 480 seconds]
<steev> 1 day, 3 hours here, and 0 htc rx errors
<JensGlathe[m]> wdk2023 el2 now too
<steev> strictly el1 here, mostly because i only have an x13s and a lack of charging of the battery is a nogo for me
sally has quit [Quit: sally]
sally has joined #aarch64-laptops
proycon has quit [Remote host closed the connection]
proycon has joined #aarch64-laptops