>Can Anyone tell (or point to where it tells) the cause of USB_ST_STALL
>errors (and what to do)?

The formal 2.0 USB specifications at http://www.usb.org should tell you why 
and how a stall happens, and (probably) what error recovery mechanisms are 
available.

Also, it's often worth checking the existsing kernel source to see how other 
drivers deal with these kinds of issues, try running grep:

$ grep ST_STALL /usr/src/linux-2.4.16/drivers/usb/*
/usr/src/linux-2.4.16/drivers/usb/usbnet.c:     if (urb->status == USB_ST_STALL) 
{
/usr/src/linux-2.4.16/drivers/usb/usb-ohci.h:   /* Stall      */               
USB_ST_STALL,
$ grep ST_STALL /usr/src/linux-2.4.16/include/linux/*
/usr/src/linux-2.4.16/include/linux/usb.h:#define USB_ST_STALL          (-EPIPE)
/* pipe stalled, also in urb->status*/

>From the output above it's probably worth reading the source for usbnet.c, 
might give you an idea.

Steve



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to