From c54cf53e022b0b3c1d3b8207aa0f9b194c24f0cf Mon Sep 17 00:00:00 2001 From: mexisme Date: Sat, 10 Aug 2024 00:08:54 +1200 Subject: [PATCH] Tidy-up idents --- asus/zephyrus/ga402x/shared.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/asus/zephyrus/ga402x/shared.nix b/asus/zephyrus/ga402x/shared.nix index a45c241..91739ba 100644 --- a/asus/zephyrus/ga402x/shared.nix +++ b/asus/zephyrus/ga402x/shared.nix @@ -59,11 +59,11 @@ in { evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:* KEYBOARD_KEY_ff31007c=f20 ''; - extraRules = mkIf (! cfg.keyboard.autosuspend.enable) '' - # Disable auto-suspend for the ASUS N-KEY Device, i.e. USB Keyboard - # Otherwise on certain kernel-versions, it will tend to take 1-2 key-presses to wake-up after the device suspends - ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend", ATTR{idVendor}=="0b05", ATTR{idProduct}=="19b6", ATTR{power/autosuspend}="-1" - ''; + extraRules = mkIf (! cfg.keyboard.autosuspend.enable) '' + # Disable auto-suspend for the ASUS N-KEY Device, i.e. USB Keyboard + # Otherwise on certain kernel-versions, it will tend to take 1-2 key-presses to wake-up after the device suspends + ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend", ATTR{idVendor}=="0b05", ATTR{idProduct}=="19b6", ATTR{power/autosuspend}="-1" + ''; }; }; }