I upgraded to 2.4.20... no change.
And the uhci driver even locks up the system sometimes when usb-uhci doesn't ;-)

But I found a trick.
I now unlink the send URB in the recieve_complete function.
This way it does get done.
And by just unlinking the 1 the whole send reviece process seems to stop ;-)

But for now I've put some $ifdef 's around all this code so that I can easily remove it.

Why did they remove the statement "typedef struct urb * purb_t; " in kernel 2.4.20 ??

Thanks again
-Heinrich

David Brownell wrote:


Sounds like a bug in whatever host controller driver you're using.
Unlinking an interrupt urb in its completion function is supposed
to work just fine.  Does it still happen on 2.4.20?  If this is
with UHCI hardware, did you try the other driver?


I have kernel 2.4.19 still... Should I upgrade?

Eventually.  Sooner if it has fixes you need.

I load the usbcore and usb-uhci modules before my module if that is what your asking.
What other driver?

The "alternate" UHCI driver, called "uhci".








-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET comprehensive development tool, built to increase your productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to