Bent Bisballe Nyeng wrote:
> We have a composite device that works like a USB HUB connecting to one 
> device at a time.
> When a new connection is made the endpoints change although the device 
> connection itself is not changed.

What led you to think that was a legitimate thing to do?  Once a driver
has done a "set configuration", it's not clear that the endpoint
configuration is allowed to change.  You can certainly have multiple
alternate settings, where each setting has a different set of endpoints,
but I don't see how you can possibly expect an on-the-fly change to
work.  How would you notify the host that things have changed?  You
can't expect it to poll your descriptors repeatedly.

The spec is a little ambiguous in this regard.  It says, "Once
configured, devices may support limited adjustments to the
configuration.  If a particular interface has alternate settings, an
alternate may be selected after configuration."  It is not clear whether
they are saying that the alternate setting mechanism is the ONLY allowed
adjustment.

-- 
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to