Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(764)

Unified Diff: laptop-mode-tools_1.52/etc/laptop-mode/conf.d/usb-autosuspend.conf

Issue 3590005: laptop-mode-tools: USB autosuspend ignores user input devices (Closed) Base URL: http://git.chromium.org/git/laptop-mode-tools.git
Patch Set: Updated with second blacklist Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: laptop-mode-tools_1.52/etc/laptop-mode/conf.d/usb-autosuspend.conf
diff --git a/laptop-mode-tools_1.52/etc/laptop-mode/conf.d/usb-autosuspend.conf b/laptop-mode-tools_1.52/etc/laptop-mode/conf.d/usb-autosuspend.conf
index 7710b0caa760ef0d6d312124c870706eed420283..2ab8c4ed1a2c83babd38740b158ea74343f29afe 100644
--- a/laptop-mode-tools_1.52/etc/laptop-mode/conf.d/usb-autosuspend.conf
+++ b/laptop-mode-tools_1.52/etc/laptop-mode/conf.d/usb-autosuspend.conf
@@ -30,6 +30,11 @@ CONTROL_USB_AUTOSUSPEND=1
# Example: AUTOSUSPEND_USBID_BLACKLIST="046d:c025 0123:abcd"
AUTOSUSPEND_USBID_BLACKLIST=""
+# The list of USB driver types that should not use autosuspend. The driver
+# type is given by "DRIVER=..." in a USB device's uevent file.
+# Example: AUTOSUSPEND_USBID_BLACKLIST="usbhid usb-storage"
+AUTOSUSPEND_USBTYPE_BLACKLIST="usbhid"
+
# Trigger auto-suspension of the USB deivce under conditional circumstances
BATT_SUSPEND_USB=1
LM_AC_SUSPEND_USB=0

Powered by Google App Engine
This is Rietveld 408576698