Configuration for ThinkPad T14s Gen 6 (Snapdragon X Elite X1E-78-100)

Btw I was able to get a bootable USB drive that worked based on the modules you have above, thanks.

I also found this document that has a lot of useful info and a script that can generate a list of likely modules you need for an initrd: Distro Integration | AArch64 Laptops. Worth a read!

2 Likes

WiFi was working great on my T14s Snapdragon until a recent nixos-unstable upgrade. I found I had no network connectivity and dmesg showed

May 13 11:05:02 pirayu kernel: input: X1E80100-LENOVO-Thinkpad-T14s Headset Jack as /devices/platform/sound/sound/card0/input10
May 13 11:05:02 pirayu kernel: ath12k_pci 0004:01:00.0: failed to receive wmi unified ready event: -110
May 13 11:05:02 pirayu kernel: ath12k_pci 0004:01:00.0: failed to start core: -110
May 13 11:05:02 pirayu kernel: failed to send QMI message
May 13 11:05:02 pirayu kernel: ath12k_pci 0004:01:00.0: qmi failed to send mode request, mode: 4, err = -5
May 13 11:05:02 pirayu kernel: ath12k_pci 0004:01:00.0: qmi failed to send wlan mode off

I tracked it down to something that changed between d06b53b3af5726f644045a0ffb27aec5196e344c (working) and e4f52f3ea82ddd3754b467e3fdc0d709685c9a05 (broken) but I haven’t done a full git bisect. The most relevant difference I noticed is the Linux kernel upgrade from 6.14.5 to 6.14.6, but after finding this kernel bug report I’m now guessing it’s actually due to the linux-firmware: 20250410 -> 20250509 upgrade.

I’m going to be pretty busy this weekend, but I’ll experiment a bit more. I suspect the 25.05 branch will be affected as well as that just branched off yesterday though I haven’t tested it yet.

2 Likes

Noticed the same on my T14s yesterday and my P70 today. Both tracking nixpkgs-unstable.

It is not (NixOS) kernel related as I run vanilla on the T14s, and have not rebooted the P70.

Worked around it by booting an older generation on the T14s, and sudo nixos-rebuild switch --rollback (with no reboot) on the P70.

Thanks for tracking this down so far and for your post.

git revert e5b167bc7b3749c1a2eba831e7048e37738b4b1c does fix the ath12k WiFi issue for me, but I’d prefer to use nixpkgs.overlays rather than maintaining a patched nixpkgs branch so I ended up going with that option instead. Here’s the change in case anyone else wants to do the same: pirayu: Downgrade linux-firmware to work around ath12k bug Ā· aij/aij-nixos-config@d9d6446 Ā· GitHub

1 Like

It will nice import the configuration in github nixos-hardware. https://github.com/NixOS/nixos-hardware. Thank you very much.