I was pulling my hair out trying to understand why battmgr was not responding specifically on my laptop (Latitude 7455) specifically in EL2… even got some people to load the ADSP firmware in binja, and ran diag-router with a hacked up QCSuper to try to look at the logs (uh, that thing only enables raw "logs" currently, I started trying to enable "messages" but couldn't get the mask-setting commands right)…

and now that some people in the community have gotten their hands on leaked schematics :) i was told some things and I realized.

I DID IT ALL TO MYSELF 🤦‍♀️

For some reason, my device tree had i2c bus 20 enabled, without even using it for anything.

I2C20 IS ACTUALLY SMBUS TO THE BATTERY 🤦‍♀️

And in EL1, the Qualcomm hypervisor was apparently preventing Linux from screwing with that bus (not sure if it was failing to attach, I didn't pay attention to the messages lol), but in EL2 Linux is free to do whatever to it, so it would initialize it for itself, interrupting the battmgr firmware's usage of it. Oopsie!

#aarch64laptops #linux #kernel

GitHub - linux-msm/diag: DIAG

DIAG. Contribute to linux-msm/diag development by creating an account on GitHub.

GitHub

USB gadget mode on qualcomm laptops basically just works (only gotta change dr_mode = "host" to dr_mode = "otg" in the DT, will submit a patch now) \o/ absolutely no cursed hacks required

dmesg looks fun, as soon as you plug in a C-to-A cable with the A going to another machine, the entire xHCI host controller gets removed, when you unplug the cable the host comes back again

#aarch64laptops

Only the second time someone from Intel has pushed changes that broke linux-next on #aarch64laptops and other machines they didn't test on. (The first time was the eDP/DPCD brightness field thing.) Hey, maybe Intel could pay me for being their patch QA team? :D
Re: [PATCH 1/2] PCI: Setup bridge resources earlier - Val Packett

#Snapdragon #aarch64laptops updates: Speaker Protection enablement and USB4/Thunderbolt are coming! 🚀

Combined with PCIe being confirmed unfucked, looks like I'm gonna be playing AAA games with an eGPU by the end of this year… Place your bets on whether the aliexpress dock I just ordered arrives before the first actual-code patches adding the TB driver :D

[PATCH v2 1/2] ASoC: qcom: audioreach: Add support for Speaker Protection module - Krzysztof Kozlowski

Someone just posted in #aarch64laptops screenshots of an SC8280XP (Snapdragon 8cx gen3) system running with various discrete GPUs.. and the only thing they had to do was add a missing MMIO64 window to the dts..

yeah you're reading this right: looks like mapping PCIe BARs as normal write-combine memory literally just works. Unlike countless other SoC vendors, Qualcomm DID NOT FUCK PCIe UP 👏

Take that, Apple SillyCon!!

ATTN #Linux on #Qualcomm #Snapdragon #aarch64laptops users: this tiny patch fixes NVMe dropping out after waking up from deep ("S3") suspend (by adding NVME_QUIRK_SIMPLE_SUSPEND since the default "non-simple" suspend, whatever that is (0.o), requires more PCIe driver changes)
Better nvme hack! · quic-kdybcio/linux@36b3dc3

Contribute to quic-kdybcio/linux development by creating an account on GitHub.

GitHub
Making sure you're not a bot!

huh...

so turns out my aarch64 chromebook (running debian) lags when i set the fractional scaling to anything that isn't a whole number. I've set it to 2.0, it's a little too big but the lagging bothers me more

#aarch64laptops #chromebook #wayland

Me and the gang ( @Sw0rdDooM and @tobhe  ), up to no good as usual  
#aarch64laptops #38c3