Backport USB-PERSIST fix from upstream to Hardy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Hardy |
Fix Released
|
Medium
|
Stefan Bader |
Bug Description
This is a tracking bug report for backporting the following patch to Hardy:
commit 5e6effaed6da94e
Author: Alan Stern <email address hidden>
Date: Mon Mar 3 15:15:51 2008 -0500
USB: make USB-PERSIST work after every system sleep
This patch (as1046) makes USB-PERSIST work more in accordance with
the documentation. Currently it takes effect only in cases where the
root hub has lost power or been reset, but it is supposed to operate
whenever a power session was dropped during a system sleep.
A new hub_restart() routine carries out the duties required during a
reset or a reset-resume. It checks to see whether occupied ports are
still enabled, and if they aren't then it clears the enable-change and
connect-change features (to prevent interference by khubd) and sets
the child device's reset_resume flag. It also checks ports that are
supposed to be unoccupied to verify that the firmware hasn't left the
port in an enabled state.
Changed in linux: | |
assignee: | nobody → stefan-bader-canonical |
importance: | Undecided → Medium |
status: | New → In Progress |
Upstream fix in 2.6.26-rc1