lkml.org 
[lkml]   [2006]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [linux-usb-devel] [PATCH 1/3] UEAGLE : be suspend friendly
On Fri, 6 Oct 2006, Duncan Sands wrote:

> > Maybe UEAGLE can do something a little more sensible...
>
> What is the modem supposed to do if it receives a packet to
> transmit after it has been told to suspend? This is a real
> question, I'm not pretending! I've never thought about or
> read about suspend/resume and have no idea how it is supposed
> to work. Should it just reject it, or should it wake the
> modem up?

It depends on the context in which the modem was suspended. If this was a
regular system sleep transition, or some other suspend request coming from
outside the driver, then packets should be dropped.

But if the suspend originated within the driver itself, as a power-saving
measure while the connection was idle, then new packets should cause the
driver to wake the modem up. That is, self-originated suspends should be
transparent. Outside-originated suspends are someone else's problem.

Alan Stern

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

\
 
 \ /
  Last update: 2006-10-06 20:23    [W:0.182 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site