Commit Graph

526 Commits

Author SHA1 Message Date
mexisme 311c6bf0ef Ref to backup repo for Surface Go firmware 2021-02-27 22:37:38 +13:00
mexisme e901e80233 Remove obsolete repo ref 2021-02-27 22:37:38 +13:00
mexisme 4bbf156238 Update README 2021-02-27 22:37:38 +13:00
mitchmindtree 0359644c22 Pin to Linux 5.10.18 for patches. Remove upstreamed wi-fi firmware.
Pin to the latest stable 5.10.18 release in order to ensure patches
don't unexpectedly conflict in newer linux versions.

The wi-fi firmware has since been upstreamed to the `linux-firmware`
repo, and as such is now available via `enableRedistributableFirmware`.
As a result we can remove the old expr that pulled the firmware from
kvalo's github.

Also removes two patches that have since been upstreamed.
2021-02-26 12:43:00 +01:00
mitchmindtree cc5d84ccef Update to rebased patches for 5.10 release of kernel
Removes the old disable-mhi-2 patch file in favour of using the patch at
kernel.org.

Also adds fwupd to allow users to update their firmware via fwupdmgr.
2021-02-26 12:43:00 +01:00
mitchmindtree 08d1c4dd2b Add wink patch for disabling MHI M2 state. Rename firmware.
Disabling the MHI M2 state appears to completely resolve issues where
enabling the wifi firmware would cause the the whole system to freeze
quite frequently. The reason for why this fix works so well is still
unknown and under investigation. See some discussion here:

http://lists.infradead.org/pipermail/ath11k/2020-December/000876.html

Also renames the firmware package to clarify that it is for the wifi
driver. This is to avoid confusion with the bluetooth firmware which
will be added in an upcoming patch.
2021-02-26 12:43:00 +01:00
mitchmindtree 7f1da4009b Add wink patch for IRQ locking 2021-02-26 12:43:00 +01:00
mitchmindtree 154350aa04 Use fetchpatch. Fix kernel version. Add recent ath11k patches. 2021-02-26 12:43:00 +01:00
mitchmindtree cdea79566b Use `fetchFromGitHub` to retrieve qca6390 fw more efficiently
Addresses @terinjokes comment [here][1].

[1]: 906cd8b20c (pullrequestreview-542698197)
2021-02-26 12:43:00 +01:00
mitchmindtree b60b1f95eb Remove explicit `sof-firmware` as is already included
Previously, I'd added both the firmware and the `extraModprobeConfig`
that selects the DSP driver, however it seems only the latter is
necessary.

Addresses @terinjokes comment [here][1].

[1]: https://github.com/NixOS/nixos-hardware/pull/207/files#r534062750
2021-02-26 12:43:00 +01:00
mitchmindtree f0486916bf Add a new suite of ath11k patches recommended by kvalo
Here's a link to kvalo's branch with the kernel patches:

https://git.kernel.org/pub/scm/linux/kernel/git/kvalo/ath.git/log/?h=ath11k-qca6390-bringup

> In this tag there's now a brand new implementation for suspend, which
> relies that the platform provides power to QCA6390 during suspend. Not
> all platforms do, but most of them should do that. ath11k also prints a
> warning whenever it notices that the firmware has crashed, but I'm not
> sure yet if it (the MHI subsystem to be exact) can detect every case.
>
> The MSI patch is mostly the same, it had just some refactoring since the
> last version. Unfortunately there's no solution still for the weird
> crashes some people are seeing.

The patches are based on version 5.10-rc4 of linux, so you'll want to
use `linuxPackages_testing`.
2021-02-26 12:43:00 +01:00
mitchmindtree b23e492fe5 Add entry for Dell XPS 13 9310 to README 2021-02-26 12:43:00 +01:00
mitchmindtree 3345b81777 Install qca6390 firmware necessary for ax500 connectivity chip 2021-02-26 12:43:00 +01:00
mitchmindtree bcbbd2bd72 Blacklist pmouse as trackpad works over i2c 2021-02-26 12:43:00 +01:00
mitchmindtree 631011a23c Add necessary fw and alsa conf for audio. Add patch for AX500. 2021-02-26 12:43:00 +01:00
mitchmindtree 86d77642bd Add xps 13 9310 with common intel and laptop imports 2021-02-26 12:43:00 +01:00
mexisme f8c3b6e50e Move a modprobe option for Surface Go Wifi device (ath10k) into that specific derivative 2021-02-23 17:59:34 +13:00
mexisme eb2721b3f1 A few more details about using K1535 WiFi firmware 2021-02-23 17:48:50 +13:00
mexisme a9b2d0e3f1 Update to a clearer directory-structure 2021-02-23 12:40:08 +13:00
mexisme 56f4b2df00 Add MS Surface Range to the README.md 2021-02-23 08:28:27 +13:00
mexisme 77aa0ff827 Merge branch 'master' of github.com:NixOS/nixos-hardware into microsoft/surface/firmware-surface-go 2021-02-23 08:24:07 +13:00
Jörg Thalheim 115770eed0
Merge pull request #232 from malteneuss/patch-1
Fix link to flake file in README flake example
2021-02-16 05:38:26 +00:00
malteneuss 0e2334c531
Fix link to flake file in README flake example 2021-02-13 20:59:31 +01:00
John Ericson 0cb5491af9
Merge pull request #220 from NixOS/dell-xps-9550-nvidia
Copy NVidia 9500 NVidia settings for 9550
2021-02-10 13:17:02 -05:00
mexisme be2f416029 Update TODO.org 2021-02-09 17:19:58 +13:00
mexisme 72002dabdc Update README.md 2021-02-09 17:17:27 +13:00
John Ericson a989fd823e Mention Dell 9550 NVidia in Read Me and flake.nix 2021-02-08 18:25:17 -05:00
John Ericson b22284989a Merge remote-tracking branch 'origin/master' into dell-xps-9550-nvidia 2021-02-08 18:23:20 -05:00
mexisme 08076a7b73 Add initial metadata attribute for the additional source 2021-02-07 15:53:09 +13:00
mexisme f9378480c0 Fix the output hash for the additional source 2021-02-07 15:52:22 +13:00
mexisme 080c44106f A temporary hack to install the Surface Go firmware 2021-02-07 13:31:26 +13:00
Jörg Thalheim 3657e7c334
Merge pull request #229 from tfc/add-lenovo-x13-yoga
Add Lenovo X13 Yoga Gen 1
2021-02-06 20:42:53 +00:00
Jacek Galowicz f59106598e Add Lenovo X13 Yoga Gen 1 2021-02-06 18:33:03 +01:00
mexisme 9a35571829 Interim version of trying to update Surface Go Wifi in-place
- Can't seem to d/l the K1535 board firmware directly from Killer Networking?
2021-02-07 00:55:27 +13:00
Winter d6a1231181
Add the Microsoft Surface configuration to flakes.nix (#226)
Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
2021-02-02 21:21:59 +00:00
mexisme a0d8383c42
Port of linux-surface/linux-surface Kernel patches to NixOS (#221) 2021-01-23 06:36:37 +00:00
Jörg Thalheim 874830945a
Merge pull request #223 from will-clarke/patch-1
Update flake.nix
2021-01-12 05:46:13 +00:00
William Clarke f0719aa6d1
Update flake.nix
I think there may have been a typo - it makes more sense to me to name macbook pro with `pro`. 🤷 😃
2021-01-11 20:39:04 +00:00
Jörg Thalheim fb1682bab4
Merge pull request #222 from Mic92/fix-ci
raspberry-2: remove console.extraTTYs
2021-01-06 06:53:13 +00:00
Jörg Thalheim fd89332b4a
raspberry-2: remove console.extraTTYs
This option is no longer needed. Also remove boot.extraTTYs since
NixOS is older than 20.03 is no longer supported.
2021-01-06 07:42:50 +01:00
John Ericson 6484d285c5 Copy NVidia 9500 NVidia settings for 9550 2020-12-28 19:46:47 -05:00
Jörg Thalheim c242378e63
Merge pull request #218 from yorickvP/master 2020-12-25 17:46:30 +00:00
Yorick van Pelt 1ea590a853
dell/xps/9360: drop <20.03 support 2020-12-21 16:10:28 +01:00
Yorick van Pelt 0a0e0a2e49
dell/xps/9360: drop qca6174 firmware
This was used because the firmware in linux-firmware was outdated.
It should not be after a year.
2020-12-21 16:04:41 +01:00
Jörg Thalheim 87522b29a2
Merge pull request #217 from blitz/l14-amd
lenovo/thinkpad/l14/amd: update iommu comment
2020-12-06 11:28:23 +00:00
Julian Stecklina dc5fa221b2 lenovo/thinkpad/l14/amd: update iommu comment 2020-12-05 14:02:07 +01:00
Jörg Thalheim 025c7a2a7e
Merge pull request #216 from erdnaxe/master
dell/g3/3779: init
2020-12-01 17:17:15 +00:00
Alexandre Iooss 060c89b69f
dell/g3/3779: init
Add support for the Dell G3 3779.
2020-12-01 15:19:30 +01:00
Jörg Thalheim 6531786e2d
Merge pull request #215 from sevenfourk/patch-5
apple/macbook-pro/12-1: brcmfmac: mention resume issue
2020-12-01 13:09:14 +00:00
Ivan Kovnatsky b371da6e8d
apple/macbook-pro/12-1: brcmfmac: mention resume issue 2020-12-01 14:42:01 +02:00