Re: Problems with suspend and USB storage

From: Rafael J. Wysocki
Date: Thu May 15 2008 - 16:04:32 EST


On Thursday, 15 of May 2008, Bill Nottingham wrote:
> Rafael J. Wysocki (rjw@xxxxxxx) said:
> > Well, the problem is that USB storage devices are disconnected during suspend
> > and hibernation and connected once again during resume. Then, however, we
> > are not able to tell whether the device in the slot is the same that was in
> > there before the system was put into the sleep state.
>
> 1) If they're disconnected, how come they work as a hibernate device? Or
> are they disconnected twice?

They are disconnected right after the image has been loaded, so the resuming
hibernated kernel sees them as disconnected.

> 2) Isn't USB persist supposed to work around this?

That has been changing recently. Please follow the Alan's advice to debug this
problem.

Thanks,
Rafael
--
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/