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

Our partner is into developing the Linux host side, using kernel 2.4.18 as
basis. We tried the entire scenario with a Windows demo driver we manually
fed with requests and so on to see, if the concept works. It does without
trouble. But we don't have any sources of the Windows implementation.

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"?

Any help is highly appreaciated.

Thank You.
Siegfried Wessler.


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

Reply via email to