From: Greg KH <greg@kroah.com>
To: Marcel Janssen <korgull@home.nl>
Cc: Marcel Janssen <marcel.janssen@admesy.nl>,
Stefan Kopp <stefan_kopp@agilent.com>,
Felipe Balbi <me@felipebalbi.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Fwd: Re: [PATCH] USB: add USB test and measurement class driver
Date: Thu, 28 Aug 2008 13:35:57 -0700 [thread overview]
Message-ID: <20080828203557.GB20537@kroah.com> (raw)
In-Reply-To: <200808282022.54379.korgull@home.nl>
On Thu, Aug 28, 2008 at 08:22:53PM +0200, Marcel Janssen wrote:
> On Thursday 28 August 2008 18:21:09 Greg KH wrote:
> > On Thu, Aug 28, 2008 at 11:37:24AM +0200, Marcel Janssen wrote:
> > > Hello Greg,
> > >
> > > I've got me a bit confused there :-)
> > >
> > > We currently only use the suspend/resume in our device which works on a
> > > received request from the PC.
> > > Basically sending suspend will make the device enter this mode. When the
> > > PC enters this mode, it's also clear it will send a resume when resuming
> > > from standby. But, how is this supposed to work when the PC is not in
> > > sleep mode.....how will the device wake up ?
> >
> > It should "automatically" wake up if something happens to it. The USB
> > spec calls this out as to how this should work. If the devices don't
> > support this, we don't have to add support for it :)
>
> Actually this is a good point.
>
> The USB spec mentions that the device should suspend when a constant idle
> state is detected for more than 3.0ms.
>
> I either have not seen that happening before or I missed something when
> writing my firmware. I'll keep an eye on my USB analyzer though :-)
> Although it's a good thing to keep to the spec, I also believe that in the
> case of a test and measurement device suspending the device may be an
> unwanted behaviour but perhaps I do misinterpret this part of the spec here.
>
> Anyway, this is no issue for self-powered devices, which is probably the
> majority in this class because most test & measurement devices need a good
> power supply and USB just isn't fit for that unless you're able to make a
> clean power from that (which is possible of course).
> Our device is both USB and self powered, but when in USB powered mode it will
> only suspend when the host goes in sleep mode.
>
> To be honest I would put suspend mode far down on the priority list :-)
Ok, thanks for letting us know, if they are self-powered, this shouldn't
be much of an issue. Let's focus on getting the current driver working
again :)
thanks,
greg k-h
next prev parent reply other threads:[~2008-08-28 22:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200808272342.38208.korgull@home.nl>
[not found] ` <48B671D4.7090509@admesy.nl>
[not found] ` <20080828162109.GC18132@kroah.com>
2008-08-28 18:22 ` Fwd: Re: [PATCH] USB: add USB test and measurement class driver Marcel Janssen
2008-08-28 20:35 ` Greg KH [this message]
2008-08-28 22:37 ` David Brownell
[not found] ` <48B793E1.4000504@admesy.nl>
2008-08-30 6:09 ` Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080828203557.GB20537@kroah.com \
--to=greg@kroah.com \
--cc=korgull@home.nl \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=marcel.janssen@admesy.nl \
--cc=me@felipebalbi.com \
--cc=stefan_kopp@agilent.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox