Re: Process in D state with USB and swsuspsp

From: Brad Campbell
Date: Sun Jun 27 2004 - 00:34:20 EST


Rob Landley wrote:

As I said, I realise that unplugging even a USB adapter with the machine is suspended is Not A Good Thing. But it's likely to be a common thing among people who can't figure out after the fact "oh yeah, that's what's going wrong"...


Most of us that use swsusp regularly have our pre-suspend script unload usb before suspend to prevent exactly this sort of behaviour.
I also unload PCMCIA.

If there is something using these devices that prevents unloading, then my script notifies me that I'm doing something I need to stop before I suspend. Can't remember the last time that happened though.

Check out the swsusp-devel list for further info.

Regards,
Brad
-
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/