On Thu, 2 Jun 2005, Adam Kropelin wrote:

> > It would certainly help to know exactly where the blockage occurs.  Is it
> > in the HID queuing code, in the HCD (unlikely), or in the UPS device?  
> > Suitable debugging statements ought to settle that pretty easily.
> 
> Yes, that's a crucial detail we need to establish. My money is on the
> UPS device, but we should find out for sure. I don't know my way around
> the Linux USB stack very well, but I presume I can find a spot in the
> HCD to printk URBs as they hit the wire and responses as they come back.

I would start by adding printks to hid-core.c.  If you still want to see 
all URBs as they are submitted and as they complete, search in 
drivers/usb/core/hcd.c for usbmon_urb_submit and usbmon_urb_complete.  You 
can put your printks there, or just use the usbmon facility.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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