suspend/resume kills usb0

Michael 'Mickey' Lauer mickey at
Sun Nov 2 22:27:48 CET 2008

Am Sunday 02 November 2008 22:17:06 schrieb Andy Green:
> Somebody in the thread at some point said:
> | Is there a way to prevent suspend/resume from killing usb0? It only
> happens
> | when there is traffic on usb0 (i.e. shell output during suspend/resume).
> The USB stack on the host correctly notices that the USB device it was
> talking to has gone (it's dead during suspend) and takes it down.
> But on resume, if you have arrangements on the host that the ip address
> and routing for host usb0 will be autoallocated, it should recover the
> ssh session OK after a short delay.

Unfortunately this only works here if the ssh session is idle.

> If "killing usb0" looks different on your side please explain more what
> that looks like.

I'm logged in over usb0, in one session running a program that emits quite 
some debug output via shell, in the other session running nothing. On resume, 
the session with traffic quits.


More information about the openmoko-kernel mailing list