USB hotplugging broken on resume

Bug #20764 reported by Corey Burger
30
Affects Status Importance Assigned to Milestone
acpi (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

As of Sep 1, with a fully updated machine, USB devices no longer work on resume.
They receive power, but dmesg does not show them plugging in, nor do they work.

Revision history for this message
Matthew Garrett (mjg59) wrote :

Is this resume from RAM or resume from disk?

Revision history for this message
Corey Burger (corey.burger) wrote :

Suspend from disk.

Revision history for this message
Matthew Garrett (mjg59) wrote :

*** Bug 20892 has been marked as a duplicate of this bug. ***

Revision history for this message
Matthew Garrett (mjg59) wrote :

*** Bug 21105 has been marked as a duplicate of this bug. ***

Revision history for this message
Matthew Garrett (mjg59) wrote :

*** Bug 20929 has been marked as a duplicate of this bug. ***

Revision history for this message
Corey Burger (corey.burger) wrote :

Ok, further testing reveals that this bug only appears 1 in ~5-6 times.

Revision history for this message
Martin Pitt (pitti) wrote :

Confirmed on my system. Some more interesting things:

 * my USB devices do not get power after resume, replugging does not help

 * rmmod ohci_hcd works, modprobe ohci_hcd hangs

 * hibernate/resume works perfectly if I do "echo disk | sudo tail
/sys/power/state". When using "sudo pmi action hibernate", I have broken USB and
ethernet after resuming (I file a separate report for the ethernet). Corey, all
the others, maybe you can also try this?

Revision history for this message
Martin Pitt (pitti) wrote :

(In reply to comment #7)
> Confirmed on my system. Some more interesting things:
>
> * my USB devices do not get power after resume, replugging does not help
>
> * rmmod ohci_hcd works, modprobe ohci_hcd hangs
>
> * hibernate/resume works perfectly if I do "echo disk | sudo tail
> /sys/power/state". When using "sudo pmi action hibernate", I have broken USB and

Crap. Of course this is supposed to be "echo disk | sudo tee /sys/power/state".

Revision history for this message
Arthur Peters (amp) wrote :

I think there are several different problems behind this. For one, my failure
occures every time (not every ~5-6 times as reported by Corey Burger), also my
tests were on AMD64, also Martin Pitt's report appears to be on a MAC which may
be quite different because of the different archatecture.

IMHO, this means that the problem is either very big (effecting many targets and
such) or there are several small problems.

Matthew, what kind of debugging could we do that would help narrow this down to
a solvable problem before breezy's release?

Thanks
-Arthur

Revision history for this message
Matthew Garrett (mjg59) wrote :

This should be fixed in the next initramfs-tools upload.

Revision history for this message
Matthew Garrett (mjg59) wrote :

Fixed now, with luck.

Revision history for this message
Mika Fischer (zoop) wrote :

Fixed for me by initramfs-tools 0.28

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.