1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-25 11:09:44 +01:00
Commit graph

858 commits

Author SHA1 Message Date
Jörg Thalheim
758bc63af2
Merge pull request #186 from khumba/system76 2021-03-23 09:57:23 +00:00
Jörg Thalheim
681ffa8a8c
Merge pull request #227 from winterqt/surface-control 2021-03-23 08:05:13 +00:00
Winter
6075b4d856 fix import 2021-03-22 16:48:20 -04:00
Gürkan
6406b7ae3f
Add MSI GS60 2QE (#224)
Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2021-03-21 15:28:09 +00:00
Winter
bf19677a5f nixfmt 2021-03-17 15:46:55 -04:00
Winter
007f1d8a07
Merge branch 'master' into surface-control 2021-03-17 15:45:28 -04:00
Winter
d3cd9a2229 microsoft-surface: add surface-control 2021-03-14 22:11:17 -04:00
Jörg Thalheim
31f61b90dd
Merge pull request #230 from mexisme/microsoft/surface/firmware-surface-go 2021-03-13 16:14:14 +00:00
mexisme
055971b825 Merge branch 'up/master' into microsoft/surface/firmware-surface-go 2021-03-13 08:23:20 +13:00
Jörg Thalheim
831de9cac9
Merge pull request #236 from pmeiyu/master
ThinkPad X270: Disable Panel Self Refresh
2021-03-09 09:16:23 +00:00
Peng Mei Yu
cca70642e8 ThinkPad X270: Disable Panel Self Refresh. 2021-03-09 13:41:09 +08:00
mexisme
bfbb77e8f1 Use fetchFromGitHub instead of fetchgit 2021-03-06 22:48:50 +13:00
mexisme
523d8efb5d Should have used HTTP instead of SSH 2021-03-06 22:24:34 +13:00
mexisme
91162d3f17 Merge branch 'up/master' into microsoft/surface/firmware-surface-go 2021-03-06 22:18:02 +13:00
Jörg Thalheim
720d531b1c
Merge pull request #235 from mexisme/microsoft/surface/kernel/update-5.10.19 2021-03-06 08:31:16 +00:00
mexisme
94f7c2cb9c Mark as done 2021-03-06 20:56:06 +13:00
mexisme
920bffdfbc Disable some modules that aren't yet fully supported by the patches 2021-03-06 17:58:57 +13:00
mexisme
be4115ae23 Update the module options 2021-03-06 17:49:59 +13:00
mexisme
61210f5e44 Update to kernel 5.10.19
- Add kernel 5.10.19 and latest linux-surface patches
- Remove kernel 5.10.2

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

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

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

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

commit be5b9c91ac
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