Good morning. I write a driver for a device which has 1 interface with 3 alternate setting.
The interface 0 setting 0 has 3 endpoints: EP0 EP1IN Interrupt 2 ms 2 byte EP2IN Interrupt 1 ms 64 byte EP2OUT Bulk 64 byte The interface 0 setting 2 has 3 endpoints: EP0, EP1IN interrupt 2 ms 2 byte, EP2IN Interrupt 1 ms 64 byte. EP2OUT Interrupt one-shot 64 byte, 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. 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? Thanks to all Mauro Why this happens? ------------------------------------------------------- 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