Re: Fwd: Re: [PATCH] USB: add USB test and measurement class driver

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Greg KH <greg@...>
Cc: Marcel Janssen <marcel.janssen@...>, Stefan Kopp <stefan_kopp@...>, Felipe Balbi <me@...>, <linux-usb@...>, <linux-kernel@...>
Date: Thursday, August 28, 2008 - 2:22 pm

On Thursday 28 August 2008 18:21:09 Greg KH wrote:

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 :-)

regards,
Marcel


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Fwd: Re: [PATCH] USB: add USB test and measurement class..., Marcel Janssen, (Thu Aug 28, 2:22 pm)