Hello,

(sorry Oliver for the wrong personal reply, but Outlook is just
{![#@grrrr@#]!})

> -----Ursprüngliche Nachricht-----
> Von: Oliver Neukum [mailto:[EMAIL PROTECTED]]

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

Yes right. But the whole system makes it necessary, that through bulk
transfers the gadget's user application is configured proprietary commands.
The bulk does only transportation. Then the user application within the
gadget decides how the isochronous endpoints should be set up. It's not up
to the USB host system to decide. The whole enumeration still works through
EP0 ofcourse.

So the challenge is: After a simple USB configuration is loaded and used, to
tell everyone that a new configuration is there. The host knows when it
should be there, so he can force the enumeration again. What we did with
success is, that at that certain point to detach and attach the cable, which
means that the complete enumeration is done. All we want is, that this is
done on demand without a detach.

> 
> IMHO "UnconfigureDevice", which I believe we discussed, but Linux does
> not implement, means that a device must expose no interface, only EP0.

Not all. When the Windows API driver I use (I don't have sources though)
does a Unconfiguredevice it (also) sends a request SetConfiguration with
value 0 (00 09 00 00 00 00 00) to the device. This might tell the host
controller and all other hubs in the line to wait for a new configuration to
come. 
Or not. We don't know. All we do know is, that everything works someway with
Windows, but not with Linux.

Thank You.
Siegfried.


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