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
<steev> bamse: https://paste.debian.net/hidden/741c4cff/ - c630 (null ptr on boot, the other splats when i try to suspend (display also seems to go boom but oddly nothing about it in the logs, the backlight just doesn't seem to come back on) - where is the proper place to report this, kernel bugzilla? mailing lists of anything where sdw_stream_add_slave is in the kernel?
<HdkR> Looks like T14s is finally customizable for 64GB of RAM and 120Hz display
<HdkR> In the US market
<craftyguy> is the RAM replaceable?
* craftyguy hopes for too much :(
<steev> doubtful
<steev> now to find someone to give me a small loan so i can get it
<HdkR> Definitely not replaceable
rz has joined #aarch64-laptops
<HdkR> Anyone know why X1E-78-100 returns different MIDR_EL1 registers depending on cluster? Looks like I get 0x512f0011 for the first cluster, then 0x511f0011 for the other twoclusters
<HdkR> Which means the "variant" bits is 1 or 2 depending
<bamse> steev: if you could pinpoint the commits that broke it, reporting it to regzbot would be the best...otherwise, i don't think we have a bugtracker that people really keep an eye on
Lucanis has quit [Quit: Leaving]
<steev> bamse: afaiui, it broke around 6.7
<bamse> steev: oops...
<bamse> i don't even have a tmux session for 845...
<steev> a while back... jenneron[m] tried to get something reverted to fix the issue, and srini said it was the incorrect fix, and posted a different patch and i tested it...but i tested it against jenneron[m]'s stuff and sent my t-b saying it worked and it turns out that it doesn't, but the revert doesn't work now either
<steev> you could take the soundwire qcom.c from an older version and drop it in
<steev> 4830bfa2c812 was the commit to revert, i'll try to piece this together
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
<steev> https://lkml.org/lkml/2024/4/13/104 that was what i was talking about
<steev> actuall based on the mail, i guess since 6.6
<travmurav[m]> HdkR: I've seen somewhere x1e being described as "8x phoenix big + 4x phoenix mid"
<HdkR> weird
alfredo has joined #aarch64-laptops
martiert has quit [Quit: WeeChat 4.3.5]
jhovold has joined #aarch64-laptops
martiert has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
martiert has quit [Quit: WeeChat 4.4.1]
iivanov has joined #aarch64-laptops
<jenneron[m]> steev: the patch applied instead one worked
<jenneron[m]> the problem is that there is a new breakage
<jenneron[m]> someone should find what's wrong with soundwire again
<jenneron[m]> as i said you can just copy-paste older soundwire driver
<steev> you could pre-6.11
<jenneron[m]> oh, fun
paddymahoney has quit [Ping timeout: 480 seconds]
paddymahoney has joined #aarch64-laptops
martiert has joined #aarch64-laptops
alfredo has joined #aarch64-laptops
alfredo has quit [Quit: alfredo]
alfredo has joined #aarch64-laptops
<Jasper[m]> Hmmm, updated to 6.10 on my x13s and fingerprint doesn't seem to be functioning
<Jasper[m]> anyone know what module is needed for it to load?
<jhovold> Jasper[m]: just the usb controller and phy drivers
<Jasper[m]> jhovold: Huh, I wonder why it doesn't show up then.
<Jasper[m]> usb in general just works. fprint reader doesn't show up under fprintd or lsusb
<jhovold> perhaps you don't have one? or did it work before?
<jhovold> do you see the third usb controller?
<Jasper[m]> jhovold: Had only updated to 6.10 now, psref says I should have one according to the machine number
<Jasper[m]> jhovold: Have to help me a bit here, how do I differentiate
<Jasper[m]> lsusb lists 2 pairs of root hub devices
<jhovold> you should see six usb buses
<Jasper[m]> I see 4
<jhovold> three pairs
<Nios34[m]> hexdump01 dts: https://gist.050821.xyz/8
<jhovold> Jasper[m]: you're probably missing the phy driver
<jhovold> or maybe not...
<jhovold> should be the same as for the other controllers
<jhovold> Jasper[m]: wrong dtb?
<Jasper[m]> gonna check bios real quick if I may have missed something
<Jasper[m]> jhovold: OHHH wait yeah
<Jasper[m]> that might be it
<Jasper[m]> I forget I have to put it on ESP manually
<Jasper[m]> Good call, will be back with results
<Jasper[m]> Yeah that fixed it. Bahahahhaha
<Jasper[m]> Thanks!
alfredo has quit [Quit: alfredo]
alfredo has joined #aarch64-laptops
<abelvesa> anyone noticing any display artifacts on x1e laptops ?
alfredo has quit [Quit: alfredo]
<robclark> abelvesa: no.. but what does it look like? And does it also show up in a screenshot?
alfredo has joined #aarch64-laptops
iivanov has quit [Quit: Leaving...]
alfredo has quit [Quit: alfredo]
<anonymix007[m]> abelvesa: Is there any reason why Bluetooth is not enabled on X Elite yet by default? I've tried to port your BT changes for CRD to T14s but it doesn't seem to work
<steev> anonymix007[m]: you should be able to get most of the info you need for the bt device from the windows driver
<anonymix007[m]> steev: if only I knew what to look for...
<steev> what changes for crd did you port to the t14s?
<anonymix007[m]> Also the keyboard on T14s behaves weirdly. For example, Fn key always triggers the "touchpad off". Copilot key behaves as if a key combination was pressed. Do I need to create custom mappings somehow?
<steev> i am a terrible person who didn't keep notes of what i was digging into in the windows driver stuffs, but somewhere in the folder that has the bluetooth firmware on windows are other files, and if you run "strings" them, you should see some strings that mention the regulators, that's the part of the driver that has the bits to fill out the acpi pep stuff and that is the info you need for the t14s
cyrinux has quit []
cyrinux has joined #aarch64-laptops
<anonymix007[m]> I don't see anything in the directory with Bluetooth firmware (qcbluetooth8380.inf_arm64_*) except bsrc_bt.bin file. It has a TLMMGPIO string, but I have no idea if this is what I was looking for. And even if it is, I have no idea how to use that information: https://katb.in/maroqiwoyek
mjeanson_ has quit [Remote host closed the connection]
mjeanson has joined #aarch64-laptops
<bamse> do we have any written down instructions on how to get Linux (preferrably Debian) installed and up and running on the x1e devices?
alfredo has joined #aarch64-laptops
<JosDehaes[m]> I also have a fixed debian installer, but I'm on holiday and don't have the yoga with me
<JosDehaes[m]> Oh apparently I've uploaded it some weeks ago to drive : https://drive.google.com/file/d/1XgKX1F5gdph9bUopEVrEFL02Smc0ekPE/view?usp=drivesdk
<steev> anonymix007[m]: that's it yes
<steev> the tlmm/gpio and such are the info you need for the correct gpios and (possibly) regulators
<steev> though regulators for (basic) bringup, you can potentially just use the defaults in the bluetooth driver. i was lucky in that when i posted my patch to the kernel ml, someone reached out and said "one of you with the schematics has permission to give him the correct numbers from it"
<steev> anonymix007[m]: https://patchew.org/linux/20230129215136.5557-1-steev@kali.org/diff/20230131043816.4525-1-steev@kali.org/ (sorry i can't find the original link at the moment to v1 but, this kinda gives you an idea of how i started out when i added wcn6855 and the thinkpad x13s bits)
<anonymix007[m]> steev: I'm quite sure there's no need for that. Both WiFi and Bluetooth parts of WCN7851 already work on my x86-64 laptop. Even more, Bluetooth is reported to be working on Vivobook: https://lore.kernel.org/all/20240701-asus-vivobook-s15-v4-0-ce7933b4d4e5@gmail.com/
<steev> anonymix007[m]: you need the correct gpios
alfredo has quit [Quit: alfredo]
<steev> saying "it works on x86_64" is pointless though
<anonymix007[m]> steev: is this bsrc_bt.bin file in some well-known format? I don't really understand what I should do with these bytes after TLMMGPIO string to get gpios
<steev> it is, afaik, the aci pep file, but there should be more in there than just what you showed. sometimes the numbers are +(or -) 32? i think the number was
thenightman97[m] has joined #aarch64-laptops
jhovold has quit [Ping timeout: 480 seconds]
<hexdump01> Nios34[m]: thanks a lot for the galaxy book go paste - i have noted it down and will play around with it / add it as soon as i find some time - sadly that might take a bit
<hexdump01> Nios34[m]: if you find out anything more about this device, please always highlight me here and maybe post an updated dts if possible
the_nightman has joined #aarch64-laptops
<anonymix007[m]> steev: that is the full output of xxd. However, there's a separate qcuart8380* directory with BSRC_UART*.bin (with PSTATE, CLOCK, FSTATE, TLMMGPIO and other tags) files. But there doesn't seem to be a reasonable way to extract gpios from them. Do you maybe know one? I can't google anything about this specific format. While it looks like LTV, it's really not clear which bytes in "value" represent gpio number, function and so on
<steev> i'm not a pro so honestly... i plugged numbers that matched what was in there til something worked (from my email that i linked ` so a lot of this was done via guess work`
the_nightman has quit [Remote host closed the connection]