diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2007-02-20 15:00:53 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-02-23 18:03:46 -0500 |
commit | b5e795f8df42936590ba9c606edc715fe3593284 (patch) | |
tree | ed0f132edc4d050407c4ba0b4582f167db86ba72 /Documentation/kernel-parameters.txt | |
parent | aa084f3efe5fb7e9c0d5b54ce704f0de69bbf27c (diff) |
USB: make autosuspend delay a module parameter
This patch (as859) makes the default USB autosuspend delay a module
parameter of usbcore. By setting the delay value at boot time, users
will be able to prevent the system from autosuspending devices which
for some reason can't handle it.
The patch also stores the autosuspend delay as a per-device value. A
later patch will allow the user to change the value, tailoring the
delay for each individual device. A delay value of 0 will prevent
autosuspend.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index c479d30eeaa3..03eb5ed503f7 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -1758,6 +1758,13 @@ and is between 256 and 4096 characters. It is defined in the file | |||
1758 | Note that genuine overcurrent events won't be | 1758 | Note that genuine overcurrent events won't be |
1759 | reported either. | 1759 | reported either. |
1760 | 1760 | ||
1761 | usbcore.autosuspend= | ||
1762 | [USB] The autosuspend time delay (in seconds) used | ||
1763 | for newly-detected USB devices (default 2). This | ||
1764 | is the time required before an idle device will be | ||
1765 | autosuspended. Devices for which the delay is set | ||
1766 | to 0 won't be autosuspended at all. | ||
1767 | |||
1761 | usbhid.mousepoll= | 1768 | usbhid.mousepoll= |
1762 | [USBHID] The interval which mice are to be polled at. | 1769 | [USBHID] The interval which mice are to be polled at. |
1763 | 1770 | ||