From ce4f93667e9a094de782d434db31fca76404ff6b Mon Sep 17 00:00:00 2001
From: Amin Bandali <bandali@gnu.org>
Date: Tue, 6 Aug 2019 22:26:59 -0400
Subject: guix: disable tlp’s usb-autosuspend completely for now
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

otherwise, even with the blacklist, my usb mouse keeps turning off.
---
 .config/guix/system/chaman.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to '.config/guix')

diff --git a/.config/guix/system/chaman.scm b/.config/guix/system/chaman.scm
index c576209..5313d1d 100644
--- a/.config/guix/system/chaman.scm
+++ b/.config/guix/system/chaman.scm
@@ -68,7 +68,8 @@
                     (cpu-boost-on-ac? #t)
                     (sound-power-save-on-bat 0)
                     (sound-power-save-controller? #f)
-                    (usb-blacklist "0e8f:00a8")))
+                    ;; (usb-blacklist "0e8f:00a8") ;for some reason doesn't seem to work
+                    (usb-autosuspend? #f)))
           (simple-service 'my-powertop-auto-tune activation-service-type
                           #~(zero? (system* #$(file-append powertop "/sbin/powertop")
                                             "--auto-tune"))))
-- 
cgit v1.2.3-83-g751a