On Mon, 10 Oct 2005, Franck wrote:

> Hi,
> 
> I'm still debugging my hcd. I still have some issues, and one of them
> is related to urb->hcpriv usage. Following explain how I use it:
> urb->hcpriv keeps a pointer on a structure which gives an internal
> description of the urb for my hcd. This field is initialized in
> "hcd->urb_enqueue" method. Then it's set to NULL just before giving
> back the urb to the driver through "usb_hcd_giveback_urb".

That's all correct.

> But sometime this field is NULL when starting an URB transfer ! That's
> normally impossible since _all_ URBs submitted to an HCD use
> "hcd->urb_enqueue", isn't it ?
> Could someone help me on this point ?

The only way it can happen is if your HCD set urb->hcpriv to NULL earlier,
or never set it to a non-NULL value.  It must be a bug in the HCD.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to