Merge pull request #414 from amarshall/fw-udev

framework: Fix headphone noise when on powersave
This commit is contained in:
Jörg Thalheim 2022-05-20 07:47:51 +01:00 committed by GitHub
commit 36daf08049
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,12 @@
# For fingerprint support # For fingerprint support
services.fprintd.enable = true; services.fprintd.enable = true;
# Fix headphone noise when on powersave
# https://community.frame.work/t/headphone-jack-intermittent-noise/5246/55
services.udev.extraRules = ''
SUBSYSTEM=="pci", ATTR{vendor}=="0x8086", ATTR{device}=="0xa0e0", ATTR{power/control}="on"
'';
# HiDPI # HiDPI
# Leaving here for documentation # Leaving here for documentation
# hardware.video.hidpi.enable = lib.mkDefault true; # hardware.video.hidpi.enable = lib.mkDefault true;