Commit graph

640 commits

Author SHA1 Message Date
mexisme 61210f5e44 Update to kernel 5.10.19
- Add kernel 5.10.19 and latest linux-surface patches
- Remove kernel 5.10.2

commit 7250b8cbb40bc001109b1032b426ce9923335de0
Author: mexisme <wildjim+dev@kiwinet.org>
Date:   Fri Feb 5 08:38:10 2021 +1300

commit 90b210dfeeaf6f625e1b7f47dfc3a0b60f4172a6
Author: mexisme <wildjim+dev@kiwinet.org>
Date:   Fri Feb 5 08:37:41 2021 +1300

commit bbb5dec0e353f841612a1c3a3f933c56ede418b2
Author: mexisme <wildjim+dev@kiwinet.org>
Date:   Tue Feb 2 23:58:51 2021 +1300

commit bde79616d2795fcedc2d88161933713a9f37e3a7
Author: mexisme <wildjim+dev@kiwinet.org>
Date:   Tue Feb 2 23:58:35 2021 +1300

commit be5b9c91acaebe1e17d582a1f364995dadcc339d
Author: mexisme <wildjim+dev@kiwinet.org>
Date:   Tue Feb 2 23:57:54 2021 +1300
2021-03-06 17:37:13 +13:00
mexisme 6f392a3ffb Merge branch 'up/master' into microsoft/surface/firmware-surface-go 2021-03-06 15:40:10 +13:00
mexisme 98d19435d0 Rename cfg option from "enable" --> "replace"
- Allows for @qzed's kernel patch: 22ef83836c
2021-03-06 15:38:17 +13:00
mexisme 128b64dada Relative path of repos not updated correctly 2021-03-06 11:28:12 +13:00
mexisme 6972d78ffb Remove (obsolete) Surface Go QCA6174 K1535 firmware binary 2021-03-06 11:07:43 +13:00
mexisme e274b742e1 Use the ath10k QCA6174 K1535 firmware backup repo, instead 2021-03-05 08:33:27 +13:00
Jörg Thalheim 3caaa0588e
Merge pull request #233 from thiagokokada/add-nvidia-disable-profile
Add nvidia-disable profile
2021-03-03 17:35:12 +00:00
Thiago Kenji Okada 36094450fd Add nvidia-disable profile
This is already used in XPS 15-9560, but instead of defining it in XPS
15-9560 let's create a separate profile and expose it for those who want
to disable their NVIDIA GPU.
2021-02-28 13:51:46 -03:00
Jörg Thalheim c9b965a43e
Merge pull request #207 from mitchmindtree/xps-9310 2021-02-27 21:10:57 +00:00
mitchmindtree c41f572654 Dell XPS 13 to flake.nix 2021-02-27 19:58:57 +01:00
mitchmindtree f361f64db0 Remove no-longer-necessary modprobe config for audio. Fixes microphone.
It seems that `sof-firmware` has since been updated and the
`extraModprobeConfig` is no longer necessary! Microphone input also now
seems to work nicely.
2021-02-27 12:54:54 +01:00
mitchmindtree d1e64db4c5 Enable QCA6390 bluetooth
Adds a patch for missing kernel configuration along with a list of
kernel modules that are missing by default.
2021-02-27 12:36:44 +01:00
mexisme 4f6aad61b6 Update linux-surface/linux-surface Rev & SHA256 2021-02-27 22:41:53 +13:00
mexisme 9e7cd653f9 Fix repo source for K1535 2021-02-27 22:37:38 +13:00
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