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


Any activity? I asked a few days ago what exactly you want me test but haven't gotten a reply so far. 2.6.11 does not have this usbmon to start with ;-) In a few day I have to ship my equipment to its permanent installation site and won't be able to test much anymore.

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: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
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