It's an old project that uses kernel 2.4.23. Every time I swicth from setting 0 to setting 2 or viceversa i unlink EP1IN and EP2IN interrupt urbs and than I submit the new interrupt urbs for EP1IN and EP2IN.
I could not unlink EP1IN and EP2IN because in setting 0 and setting 2 those endpoints are used in the same manner On Fri, 15 Jul 2005 07:26:26 -0700 [EMAIL PROTECTED] scrisse > > It start in interface 0 setting 0. > > > > This happens: > > > > 1. Write to EP2OUT Bulk: > > I see the transaction of bulk operation in the debug log. > > > > 2. Swicth to setting 2. > > Sounds like you're not using a 2.6 kernel, since on 2.6 > switching altsettings should cause that pending transaction > to be aborted. Alternatively, you found a bug somewhere. > > > > 3. Write to EP2OUT Interrupt: > > All usb API goes OK, but the complete handler of interrupt isn't > > thrown by usb controller (OHCI). > > > > When I unplug the device I see the complete handler throw regulary. > > > > If I switch to setting 2 without send on bulk before all works fine. > > > > Where is the matter? > > Using a 2.4 kernel? ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel