The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Problems with suspend and USB storage
@ 2008-05-15 16:33 Bill Nottingham
  2008-05-15 17:54 ` Tino Keitel
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Bill Nottingham @ 2008-05-15 16:33 UTC (permalink / raw)
  To: linux-kernel


I've been testing suspend/hibernate with various USB devices under
2.6.25.2. Test box is a Thinkpad T60 (uhci, ehci).
The results are somewhat dismal.

Using USB as a hibernate device:
- A directly connected USB stick works OK as a hibernate device
- A directly connected USB hard drive works OK as a hibernate device
- A USB stick connected via an ExpressCard reader does not - it appears
  to just not be there when the hibernate code attemps to write
  the data.

On resume (from either hibernate or suspend from RAM):
- Any 'in use' USB storage, whether it be as swap (a hibernate device),
  or a mounted filesystem, immediately generates errors on resume. It
  appears the filesystem and/or swap tasks are woken up before the
  actual USB device - it enumerates the disks after the errors have
  already been thrown.
- As a consequence, the USB devices shift their device names
- Using USB_PERSIST has no effect on this problem
- This appears to happen for all USB connection types (hard drive,
  stick, via ExpressCard reader.)

Is there any way to get sane behavior out of suspend/resume with
USB storage?

Bill

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-05-22 21:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-15 16:33 Problems with suspend and USB storage Bill Nottingham
2008-05-15 17:54 ` Tino Keitel
2008-05-15 18:03   ` Bill Nottingham
2008-05-15 19:40 ` Rafael J. Wysocki
2008-05-15 19:42   ` Bill Nottingham
2008-05-15 20:04     ` Rafael J. Wysocki
2008-05-15 19:55   ` Alan Stern
2008-05-16 12:04   ` Pavel Machek
2008-05-16  7:29 ` Greg KH
2008-05-22 20:59   ` Bill Nottingham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox