| OLD | NEW |
| 1 # | 1 # |
| 2 # Configuration file for Laptop Mode Tools module usb-autosuspend. | 2 # Configuration file for Laptop Mode Tools module usb-autosuspend. |
| 3 # | 3 # |
| 4 # For more information, consult the laptop-mode.conf(8) manual page. | 4 # For more information, consult the laptop-mode.conf(8) manual page. |
| 5 # | 5 # |
| 6 | 6 |
| 7 | 7 |
| 8 ############################################################################### | 8 ############################################################################### |
| 9 # USB autosuspend settings | 9 # USB autosuspend settings |
| 10 # ------------------------ | 10 # ------------------------ |
| 11 # | 11 # |
| 12 # If you enable this setting, laptop mode tools will automatically enable the | 12 # If you enable this setting, laptop mode tools will automatically enable the |
| 13 # USB autosuspend feature for all devices. | 13 # USB autosuspend feature for all devices. |
| 14 # | 14 # |
| 15 # NOTE: Some USB devices claim they support autosuspend, but implement it in a | 15 # NOTE: Some USB devices claim they support autosuspend, but implement it in a |
| 16 # broken way. This can mean keyboards losing keypresses, or optical mice turning | 16 # broken way. This can mean keyboards losing keypresses, or optical mice turning |
| 17 # their LED completely off. If you have a device that misbehaves, add its USB ID | 17 # their LED completely off. If you have a device that misbehaves, add its USB ID |
| 18 # to the blacklist below and complain to your hardware vendor. | 18 # to the blacklist below and complain to your hardware vendor. |
| 19 ################################################################################ | 19 ################################################################################ |
| 20 | 20 |
| 21 # Enable debug mode for this module | 21 # Enable debug mode for this module |
| 22 # Set to 1 if you want to debug this module | 22 # Set to 1 if you want to debug this module |
| 23 DEBUG=0 | 23 DEBUG=0 |
| 24 | 24 |
| 25 # Enable USB autosuspend feature? | 25 # Enable USB autosuspend feature? |
| 26 CONTROL_USB_AUTOSUSPEND=0 | 26 CONTROL_USB_AUTOSUSPEND=1 |
| 27 | 27 |
| 28 # The list of USB IDs that should not use autosuspend. Use lsusb to find out the | 28 # The list of USB IDs that should not use autosuspend. Use lsusb to find out the |
| 29 # IDs of your USB devices. | 29 # IDs of your USB devices. |
| 30 # Example: AUTOSUSPEND_USBID_BLACKLIST="046d:c025 0123:abcd" | 30 # Example: AUTOSUSPEND_USBID_BLACKLIST="046d:c025 0123:abcd" |
| 31 AUTOSUSPEND_USBID_BLACKLIST="" | 31 AUTOSUSPEND_USBID_BLACKLIST="" |
| 32 | 32 |
| 33 # Trigger auto-suspension of the USB deivce under conditional circumstances | 33 # Trigger auto-suspension of the USB deivce under conditional circumstances |
| 34 BATT_SUSPEND_USB=1 | 34 BATT_SUSPEND_USB=1 |
| 35 LM_AC_SUSPEND_USB=0 | 35 LM_AC_SUSPEND_USB=0 |
| 36 NOLM_AC_SUSPEND_USB=0 | 36 NOLM_AC_SUSPEND_USB=0 |
| 37 | 37 |
| 38 # USB Auto-Suspend timeout in seconds | 38 # USB Auto-Suspend timeout in seconds |
| 39 # Number of seconds after which the USB devices should suspend | 39 # Number of seconds after which the USB devices should suspend |
| 40 AUTOSUSPEND_TIMEOUT=2 | 40 AUTOSUSPEND_TIMEOUT=2 |
| 41 | 41 |
| 42 | 42 |
| OLD | NEW |