Re: [linux-pm] Resume hangs [was: mmotm 2010-12-02-16-34 uploaded]

From: Alan Stern
Date: Fri Feb 04 2011 - 14:33:14 EST


On Fri, 4 Feb 2011, Jiri Slaby wrote:

> >> It seems to suffice... No hangs still. Should I enable pm_async back
> >> again to confirm the issue is still present?
> >
> > Yes, please, it would be good to know for sure.
>
> Ok, confirmed right now :).
>
> I disabled pm_async for USB again. What do you suggest next?

What happens if you leave pm_async enabled but unplug all the USB
devices before suspending? If there are any USB devices you can't
unplug, you can get an equivalent result by unconfiguring the root
hubs:

for a in /sys/bus/usb/devices/usb* ; do
echo 0 >$a/bConfigurationValue
done

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/