Commit graph

456 commits

Author SHA1 Message Date
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
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
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
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
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
Ivan Kovnatsky 34c1bf11bb
apple/macbook-pro/12-1: PM: set cpuFreqGovernor and power Up/Down commands (#214)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2020-12-01 08:57:29 +00:00
Jörg Thalheim abfae8841b
Merge pull request #212 from bbigras/patch-1
flake.nix: add dell-xps-13-9343
2020-11-26 09:33:49 +01:00
Bruno Bigras 0db1582e2a flake.nix: add dell-xps-13-9343 2020-11-26 02:58:02 -05:00
Jörg Thalheim 21ed8edd62
Merge pull request #213 from NixOS/dependabot/github_actions/cachix/install-nix-action-v12 2020-11-26 08:46:57 +01:00
Jörg Thalheim e64aafa1ff
set nixpkgs to unstable 2020-11-26 08:34:03 +01:00
dependabot[bot] 1a2c40134f
build(deps): bump cachix/install-nix-action from v10 to v12
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from v10 to v12.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v10...07da2520eebede906fbeefa9dd0a2b635323909d)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-26 07:32:06 +00:00
Jörg Thalheim 08d900d475
add dependabot 2020-11-26 08:31:05 +01:00
Jörg Thalheim 40ade7c034
Merge pull request #206 from sevenfourk/master 2020-11-05 11:19:39 +01:00
Ivan Kovnatsky 25c35ed7b7
lenovo/thinkpad/t14: added desc to README.md and flake.nix 2020-11-05 11:39:23 +02:00
Ivan Kovnatsky 8b04c30d8b
lenovo/thinkpad/t14: created symlink to t14s/ 2020-11-04 13:16:12 +02:00
Jörg Thalheim 1b4ce6426f
Merge pull request #202 from sevenfourk/patch-3 2020-11-03 09:36:17 +01:00
Ivan Kovnatsky 6a0f1a9e84
macbook: add README.md to describe switching Cmd and Alt/AltGr 2020-11-03 10:19:25 +02:00
Jörg Thalheim 26e9c94511
Merge pull request #204 from oxzi/x260-i915
lenovo/thinkpad/x260: i915.enable_psr=0 parameter
2020-11-03 08:53:36 +01:00
Jörg Thalheim 2a9ea518bd
Merge pull request #203 from oxzi/x260-tlp
lenovo/thinkpad/x260: use services.tlp.settings
2020-11-03 08:53:05 +01:00
Alvar Penning fd644de340 lenovo/thinkpad/x260: i915.enable_psr=0 parameter
The video driver causes short freezes from time to time, especially if
an external monitor is attached. Adding the i915.enable_psr=0 kernel
parameter mitigates those freezes.

This is a known problem for the X260, as mentioned in the Arch Wiki. It
occurred mainly after switching to kernel version five.
2020-10-31 16:11:04 +01:00
Alvar Penning de6811f14d lenovo/thinkpad/x260: use services.tlp.settings
With switching from NixOS 20.03 to 20.09, the services.tlp.extraConfig
option became deprecated and was replaced by services.tlp.settings.

The ThinkPad X260 is only device within nixos-hardware which makes use
of this configuration.
2020-10-31 15:59:40 +01:00