about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-08-26 01:09:22 +0200
committeraszlig <aszlig@nix.build>2022-08-26 13:56:25 +0200
commit6c5af862340d86855f00eb48afd1eb52ffd29ac3 (patch)
tree7d9d5863cabd573277113f398278353e229657f0 /machines
parent03c5372a947d522ea2d3ebb1c4e01f8cc99e3b15 (diff)
slylandro: Add quirk for disabling D3cold on NVMe
After resume from suspend the NVMe does not wake up again when the
device was put into D3cold. This is something that is worked around by
TUXEDO Tomte[1] via udev rules. However, I personally don't like this
approach and it can lead to race conditions when we're going into
suspend before udev is initialised.

Interestingly, the device does even go into NPSS via APST, but if
changing to D3cold while APST is enabled, the device does not wake up
again.

Right now I just added a new quirk to disable D3cold during device
probe for now, but we could maybe find a better workaround eg. by
disabling APST before D3cold and re-enabling it again. Not sure whether
this is feasible, but since I have limited time right now I can't dig
more into this.

[1]: https://github.com/tuxedocomputers/tuxedo-tomte/commit/2c8d71170868a2663705fbea6ac150eecb96e6ce

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines')
-rw-r--r--machines/aszlig/slylandro.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/machines/aszlig/slylandro.nix b/machines/aszlig/slylandro.nix
index 4d185bda..050d2d3c 100644
--- a/machines/aszlig/slylandro.nix
+++ b/machines/aszlig/slylandro.nix
@@ -26,6 +26,7 @@
   hardware.cpu.amd.updateMicrocode = true;
   hardware.firmware = [ pkgs.linux-firmware ];
   hardware.tuxedo-keyboard.enable = true;
+  vuizvui.hardware.tuxedo.pulse15.gen2.enable = true;
 
   hardware.video.hidpi.enable = true;
   services.xserver.dpi = 188;