guix: disable tlp’s usb-autosuspend completely for now
authorAmin Bandali <bandali@gnu.org>
Wed, 7 Aug 2019 02:26:59 +0000 (22:26 -0400)
committerAmin Bandali <bandali@gnu.org>
Wed, 7 Aug 2019 02:26:59 +0000 (22:26 -0400)
otherwise, even with the blacklist, my usb mouse keeps turning off.

.config/guix/system/chaman.scm

index c576209..5313d1d 100644 (file)
@@ -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"))))