lkml.org 
[lkml]   [2008]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Fwd: Re: [PATCH] USB: add USB test and measurement class driver
Date

> > 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.

For the record, the "gadgetfs" interface was originally developed with
userspace USB TMC implementations in mind. I don't recall whether that
effort got out of the lab though.

The issue of suspend/resume explicitly came up. The scenario which
stuck in my mind was that when the TMC device was in USB-level suspend
state, the code on the peripheral would need to know about that so
it could re-enable manual controls. The host could no longer be
issuing commands. (Some of these folk were on the TMC design team.)

One of the customers didn't seem to like the notion of not being able
to turn off stress tests on a $US 20,000 engine ... and watching the
device(s) under test blow up. Accidental destruction == bad, it seems!

So I think you probably do misinterpret the spec. That issue was not
only discussed, but proper handling for it was identified.

- Dave


\
 
 \ /
  Last update: 2008-08-29 00:41    [W:1.084 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site