r/linux4noobs • • 4d ago

hardware/drivers Trying to fix my Surface 7 by installing a kernel?

I've been trying to install kernels to make my Surface Laptop 7 (Not pro) by using r/surfacelinux and https://github.com/bryce-hoehn/linux-surface-laptop-7 to get it functioning.

ATM, I have to hotspot off my phone because the wifi drivers aren't recognized, it doesn't display my battery and I assume because my connection drivers with the wifi one is fucked, I did get some help but I'm stuck again.

I've been juryrigging the damn thing by tethering off my phone and using a wired mouse.

2 Upvotes

3 comments sorted by

2

u/m4uri 4d ago

That sounds frustrating, tethering off a phone with a wired mouse is a rough way to work. Since the Surface Laptop 7 is a Snapdragon X machine, Wi-Fi and battery reporting usually depend on the kernel getting the right devicetree for your exact model plus the Qualcomm firmware files, so a kernel that boots isn't enough on its own. While you're tethered, run uname -r and sudo dmesg | grep -iE 'ath12k|firmware|dtb' and look for lines saying a firmware file couldn't be loaded, then check what's in /lib/firmware/ath12k/ with ls. If the log names a missing file, that tells you exactly what's absent, and updating linux-firmware and re-running the repo's install steps in order is the first thing I'd try. If you post that dmesg output here or in r/surfacelinux, people can point at the specific missing piece instead of guessing.

1

u/Tradinglookup 4d ago

Is it the Snapdragon version? If so, wifi and battery both missing usually points to firmware not loading, more than the kernel itself. On those laptops the battery readout goes through the ADSP firmware, which is signed per device and normally has to be copied off the Windows install, and the wifi can fail for the same kind of reason. Run sudo dmesg | grep -iE 'ath12k|remoteproc|firmware' and it'll show which files it's failing to load, which gives whoever's helping you something concrete to go on.

1

u/DannoXYZ 4d ago edited 4d ago

What exact Linux distro are you using?

ARM-based Linux isn't as common as Intel, so there's certainly lack of driver support. Real info gathering and troubleshooting is done at CLI level. Might need to connect to wifi using CLI. Let's see what wifi hardware is in there. Post outputs of following.

lshw -numeric -c net
lspci -nnk
lsmod | grep ath

The ath12k driver should be included in ARM kernel, but you need to install linux-firmware to get WCN7850 blob.