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.
That is, from your Linux host.
I'm not quite clear. The USB spec says the configurations are known in advance ... N of them, listed in the device descriptor. So Linux fetches N configuration descriptors (indices 0 through N-1) when it enumerates. I almost think what you're saying is that the device is changing N, or perhaps one of the N config desrcriptors. That means it's becoming a new device, which means it's got to force the host to re-enumerate ... automatically fetching new device + config descriptors. Most USB hardware lets you do that without a physical disconnect; for example some power-up state will normally do it purely at the electrical level. If you do it at that level, the host doesn't need to do anything (except whatever the app did to change device state); the new device will enumerate correctly. - Dave ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
