Adam Kropelin wrote:

Alan Stern wrote:

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.


From existing hid-core.c debug I can already see a ctrl urb being

submitted via usb_submit_urb() and no corresponding completion coming back via hid_ctrl(). So, unless I'm overlooking something, I think the hid-core layer is covered.

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.


Pete suggested usbmon and I'm planning to give that a try as soon as time permits. Unfortunately I can't duplicate the problem myself so I'm relying on the afflicted users to send debug traces. Sticking in a printk might be a quicker way for Martin and Christian to get infoif usbmon is proving troublesome. How's it going, guys?

--Adam


well there is no usbmon in 2.6.11 ;-) at least not in FC3, ... so what's the plan, what do you want me to trace or test and how?

Martin

--

"The biggest problem most people have with computers is, that computers
  expose the fact that most people have no common sense."

Anonymous



-------------------------------------------------------
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