Skip to content

Commit 98a4607

Browse files
mexismemergify[bot]
authored andcommitted
Deprecation warning for QCA6174 firmware
1 parent efb12d7 commit 98a4607

File tree

2 files changed

+19
-12
lines changed

2 files changed

+19
-12
lines changed

Diff for: microsoft/surface/README.md

+10-12
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,17 @@ See: https://github.com/linux-surface/linux-surface/blob/master/README.md
9191

9292
## Wifi Firmware for Surface Go
9393

94-
On the Surface Go, the standard firmware from the official Linux Firmware repo has issues with the
95-
`ath10k` QCA6174 Wifi device.
96-
You will see messages like "Can't ping firmware".
94+
On the Surface Go, the standard firmware from the official Linux Firmware repo used to have issues
95+
with the `ath10k` QCA6174 Wifi device.
9796

98-
The most effective fix to-date is to remove the `board-2.bin` file or replace it with a copy of the
97+
This was fixed in Nov 2021:
98+
- https://github.com/linux-surface/linux-surface/issues/542#issuecomment-976995453
99+
100+
### Background:
101+
102+
With the older firmware, you would see messages like "Can't ping firmware".
103+
104+
The most effective fix was to remove the `board-2.bin` file or replace it with a copy of the
99105
`board.bin` file.
100106

101107
The derivative in `surface-go/firmware/ath10k/` can configure this, with the
@@ -107,14 +113,6 @@ This is the only way (currently) to force the driver to use the new firmware.
107113

108114
For more details, see: https://github.com/linux-surface/linux-surface/wiki/Surface-Go#wifi-firmware
109115

110-
_*NOTE:*_ There's some work to patch the kernel to make it easier to override which firmware file
111-
to use for QCA6174, which would obviate this more-destructuve approach:
112-
- https://github.com/linux-surface/kernel/commit/22ef83836c4aa89e9eb98de9b47ed24b6c2a1d45
113-
114-
_*NOTE:*_ There was an attempt to get this firmware incorporated into the aggregate `board-2.bin`,
115-
but (as of this writing) the request appears to have been ignored:
116-
- https://github.com/linux-surface/linux-surface/issues/41
117-
118116
References:
119117
- https://github.com/jakeday/linux-surface/issues/441
120118
- https://www.reddit.com/r/SurfaceLinux/comments/e8quqg/surface_go_official_wifi_fix/

Diff for: microsoft/surface/surface-go/firmware/ath10k/default.nix

+9
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,15 @@ in {
1313
};
1414

1515
config = mkIf cfg.replace {
16+
warnings = [''A working version of the ath10k QCA6174 firmware has been added to the kernel.org linux-firmware
17+
repo, making this fix obsolete.
18+
See:
19+
- https://github.com/linux-surface/linux-surface/issues/542#issuecomment-976995453
20+
- https://github.com/linux-surface/linux-surface/wiki/Surface-Go#wi-fi-firmware
21+
22+
NOTE: This module option will probably be removed in the near future.
23+
''];
24+
1625
hardware.enableAllFirmware = true;
1726
hardware.firmware = [
1827
(pkgs.callPackage ./ath10k-replace.nix {})

0 commit comments

Comments
 (0)