On Wed, 9 Nov 2005, Jayaprakash Shanmugam wrote: > Hi all, > I had a code that receives interrupt data from the device. It > worked with 2.4 kernel. I migrated to 2.6 kernel and it now calls the > Interrupt handler just once. > > On 2.4, I had the following and it was working. I got my > USBH__vIRQHandler() function called for every 200 milliseconds.
<...> > On 2.6, I have the following code, but the interrupt handler is called > just once. <...> > Could you please let me know if there is anything wrong in my code ? That's a loaded question. There's nothing wrong with your code if you want your handler function called only once. :-) If you want the interrupt URB to be resubmitted after every completion, you have to do so yourself. Unlike 2.4, Linux 2.6 does not support automatic resubmission of interrupt URBs. Alan Stern ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
