Commit graph

11 commits

Author SHA1 Message Date
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 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