Commit graph

60 commits

Author SHA1 Message Date
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
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 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
John Ericson 6484d285c5 Copy NVidia 9500 NVidia settings for 9550 2020-12-28 19:46:47 -05: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 55f9eb6a73
Merge pull request #178 from bahaynes/master 2020-07-30 05:47:09 +01:00
bahaynes cc72f59d5a
Removed tlp configuration.
Should be set correctly after https://github.com/NixOS/nixpkgs/pull/94064
is merged.
2020-07-29 20:51:08 -04:00
bahaynes d56b2e96a6
Updated default (non-NVIDIA) config.
Removed xps-common, and migrated it to default.nix.
2020-07-27 13:00:20 -04:00
Ben 8e984dc856
Update dell/xps/15-9500/default.nix
Update intel drivers to default (Modesetting).

Co-authored-by: Jörg Thalheim <Mic92@users.noreply.github.com>
2020-07-27 10:11:53 -04:00
afreakk 823f0bc77f
dell/xps/13-9360: conflicting font fix 2020-07-26 12:59:49 +02:00
bahaynes b7a5f1188f
Moved NVIDIA config to common, and updated README. 2020-07-25 23:53:47 -04:00
bahaynes 6ffcdbacc5
Added dell xps 15-9500, with nvidia gpu. 2020-07-23 13:03:50 -04:00
Jörg Thalheim 62f453938f
Merge pull request #174 from bbigras/9343
add xps 13 (9343)
2020-07-06 14:28:22 +01:00
Bruno Bigras 1ab852b88e add xps 13 (9343) 2020-07-05 10:46:39 -04:00
Jörg Thalheim 5faf94b86f
dell/xps/13-7390: wifi fixes 2020-06-23 20:12:57 +01:00
Matthew Smith 69b9bdd53a dell/xps/13-9360: Stop using i18n.consoleFont
trace: warning: The option `i18n.consoleFont' defined in
`/nix/var/nix/profiles/per-user/root/channels/nixos-hardware/dell/xps/13-9360'
has been renamed to `console.font'.
2020-05-14 22:55:22 +01:00
Wout Mertens bb1a8b78ba
wiki syntax 2020-04-23 10:53:17 +02:00
Wout Mertens c8e3843b0a
7390: clarify intent 2020-04-23 10:52:16 +02:00
Jörg Thalheim 62a1812f3c
Update README.wiki 2020-03-03 17:31:54 +00:00
Daniel Rafaj 8b50556e2d Add xps 9560 with its own quirks, I added versions:
1 default one, with nvidia working and intel working, needs optirun to
run application with nvidia
2 intel only, I am using this as my daily driver for long time, only
intel is turned on and nvidia is turned off and doesn't drain any
power.
3 nvidia only, intel is dissabled and nvidia is picked as default gpu,
no need to fiddle with optirun etc, good for gpu heavy application.

All these settings needs to reboot to work properly
2020-02-18 13:25:25 +01:00
Rebecca Turner 74efa57ee4
Support NixOS 19.09 for <dell/xps/15-7590> (#141)
Virtual console options were renamed in 20.03; use `console.earlySetup`
or `boot.earlyVconsoleSetup` depending on OS version.

https://github.com/NixOS/nixos-hardware/pull/114#discussion_r374953204
2020-02-18 11:13:15 +00:00
Jörg Thalheim 7accb4efab
Merge pull request #143 from Mic92/xps-15-7590
xps/15-7590: don't enable unfree firmware by default
2020-02-17 10:54:44 +00:00
Jörg Thalheim 6587634ad8
xps/15-7590: don't enable unfree firmware by default
Also don't set nixpkgs.pkgs. Instead just add an overlay.
2020-02-09 08:40:38 +00:00
Rebecca Turner 521f680999 Add Dell XPS 15-7590 suggested options
These suggested options are taken from my configuration but aren't quite
universal enough to be enabled by default.
2020-02-07 09:55:01 -05:00
Jörg Thalheim 2ab4e61b32
Revert "xps-15-7590: convert wiki to markdown."
This reverts commit 77983d16f6.

apparently github can link to wiki text fine.
2020-02-04 12:04:56 +00:00
Jörg Thalheim 77983d16f6
xps-15-7590: convert wiki to markdown.
This allows it to symlink it in the README
2020-02-04 12:00:38 +00:00
Tom Bereknyei 22a16c801c Apply suggestions from 9999years 2020-02-01 21:12:29 -05:00
Tom Bereknyei 3f1a5617bf Make note about EFI and remove 5.1 kernel hardcode 2020-02-01 20:49:06 -05:00
tomberek f128fbbdd6 Update dell/xps/15-7590/README.wiki
Co-Authored-By: Jörg Thalheim <Mic92@users.noreply.github.com>
2020-02-01 20:49:06 -05:00
Tom Bereknyei 53ca456f60 Suggested fixes 2020-02-01 20:49:06 -05:00
Tom Bereknyei 64afb7c12d Wifi fixed by removing iwlwifi-cc-a0-48.ucode 2020-02-01 20:49:06 -05:00
Tom Bereknyei 814bd1a024 Initial 15-7590 2020-02-01 20:49:06 -05:00
Alexander Berlind c3b2ac63ff Add deepsleep to avoid wakeups during sleep mode (#136) 2019-12-28 09:50:04 +00:00
Alexander Berlind 5316e919c8 Add Dell XPS-7390 Profile (#128) 2019-10-30 19:15:22 +00:00
Samuel Leathers 4916acd221
dell/xps: enable thermald service 2019-10-27 09:02:50 +01:00
Michael Peyton Jones 2bf94227c1
Replace ad hoc throttling fix with throttled
`throttled` is a service designed to fix the same CPU throttling bug,
but it's an actively maintainted upstream project that we can use.
2019-10-16 22:31:05 +01:00
Jörg Thalheim 2691961397
dell/xps/13-9380: mention fwupd 2019-07-01 10:37:13 +01:00
Jörg Thalheim 83c44abc3f
dell/xps/13-9380: also import intel profile 2019-07-01 10:15:35 +01:00
Wael Nasreddine 36d8bd88cd
dell/xps/13-9380: init (#97)
This is pretty much a copy of XPS 9370, without kaby-laky and the throttle bug. I was getting lockups with the kaby-laky changes and the throttle bug did not seem to have an impact either way.
2019-02-08 08:20:06 -08:00