Am Dienstag, 11. Februar 2003 11:00 schrieb Wessler, Siegfried:
> Hello,
>
> we are developing an USB device, a partner does the host side driver with
> Linux.
>
> This device is reconfigured after attach to USB bus via a bulk interface.
What? A device is supposed to be reconfigured through EP0, which is control.
> After startup there is 1 interface with 2 identical alternate settings only
> with control and two bulk endpoints. After reconfiguration the device
> offers 1 interface with 2 alternate settings with unchanged control and
> bulk endpoints, but also up to 3 isochronous endpoints. How the device will
> be reconfigured is not known at startup, so we cannot set a table of
> different AlternateSettings at startup time.
Which means?
> What we do within the Windows demo, after the device descriptors are
> changed, is:
> "GetDescriptor" (we see the new one). "UnconfigureDevice" (This sends a
> request "SetConfiguration = 0", but we don't know if it tells the host
> controller anything else). Then "SetConfiguration = 1" and "SetInterface =
> 0 / AlternateSetting = 1".
>
> We are stuck into this point where the demo driver sends
> "UnconfigureDevice". If we detach and attach the cable, everything works
> fine. Could anybody imagine what we have to do while "UnconfigureDevice"?
IMHO "UnconfigureDevice", which I believe we discussed, but Linux does
not implement, means that a device must expose no interface, only EP0.
Regards
Oliver
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel