Powertop makes wrong suggestion to add usbcore.autosuspend=1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
powertop |
Fix Released
|
Undecided
|
Unassigned | ||
linux-source-2.6.22 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
powertop (Debian) |
Fix Released
|
Unknown
|
|||
powertop (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: powertop
Powertop makes wrong suggestion to enable "usbcore autosuspend=1" if it finds device set to autosuspend=0.
According to documentation of "Power Management for USB" (, Alan Stern <email address hidden>, October 5, 2007. )
kernel, up version 2.6.22, use 0 for "autosuspend as soon as the device becomes idle" but -1 means never to autosuspend.
......
The user interface for dynamic PM
.....
power/autosuspend
the kernel will autosuspend it (the idle-delay time).
The default is 2. 0 means to autosuspend as soon as
the device becomes idle, and -1 means never to
Writing "-1" to power/autosuspend and writing "on" to power/level do
essentially the same thing -- they both prevent the device from being
autosuspended. Yes, this is a redundancy in the API.
(In 2.6.21 writing "0" to power/autosuspend would prevent the device
from being autosuspended; the behavior was changed in 2.6.22. The
power/autosuspend attribute did not exist prior to 2.6.21, and the
power/level attribute did not exist prior to 2.6.22.)
Regards,
Alex
Changed in powertop: | |
status: | Incomplete → Confirmed |
description: | updated |
Changed in powertop: | |
importance: | Undecided → Low |
status: | Fix Released → Confirmed |
assignee: | gothicx → nobody |
Changed in powertop: | |
status: | Unknown → Fix Released |
description: | updated |
Changed in powertop: | |
status: | Fix Released → Unknown |
Changed in powertop: | |
status: | Unknown → New |
Changed in powertop (Debian): | |
status: | New → Fix Released |
Changed in powertop: | |
status: | Invalid → New |
Changed in powertop (Ubuntu): | |
status: | Triaged → Fix Released |
Changed in powertop: | |
status: | New → Fix Released |
Confirmed. Here's what Powertop says in full:
"Suggestion: Enable USB autosuspend by pressing the U key or adding autosuspend= 1 to the kernel command line in the grub config"
usbcore.
After adding it to the defoptions in my menu.list(and running update-grup), the kernel throws up a warning saying that usbcore.autosuspend doesn't exist.