linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Fries <david-CAZ2Ig26prheoWH0uzbU5w@public.gmane.org>
To: Oliver Neukum <oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
Cc: USB list <linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: usbhid control queue full, due to stuck control request
Date: Wed, 10 Feb 2010 19:04:50 -0600	[thread overview]
Message-ID: <20100211010450.GC22311@spacedout.fries.net> (raw)
In-Reply-To: <20100209023508.GB22311-6Mk49KDF3Zwuqz//ww0BS9HuzzzSOjJt@public.gmane.org>

On Mon, Feb 08, 2010 at 08:35:08PM -0600, David Fries wrote:
> On Mon, Feb 08, 2010 at 12:56:01PM +0100, Oliver Neukum wrote:
> > Am Samstag, 6. Februar 2010 18:20:52 schrieb David Fries:
> > > that it takes the control queue to fill up and trigger my routine.  The
> > > usb monitor doesn't say why the control request doesn't complete, just
> > > that it was submitted and didn't complete.
> > it seems we need to implement a timeout. Does this patch help?
> > Comments?

Your patch, 7b10f302c6caa940ea5ad67efb8a517923abfcc7 and my patch
4bf8e5d6d42891a6d01fee1b8f3bb674d8364843, (and some verbose output),
and usbhid gracefully recovered this afternoon.  Thanks, works for me.

My additional print messages,
Feb 10 12:53:31 SubSpace kernel: usbhid control queue 1 max 256
Feb 10 12:53:32 SubSpace kernel: usbhid urbctrl timeout -10020, unlink_urb
Feb 10 12:53:32 SubSpace kernel: usbhid -ECONNRESET
Feb 10 12:53:32 SubSpace kernel: usbhid control queue 0 max 256

usbmon dump, -104 was the -ECONNRESET unlink.
Wed Feb 10 12:53:01 CST 2010
c2fede40 161671434 S Ci:1:002:0 s a1 01 0326 0000 0004 8 <
c2fede40 161747009 C Ci:1:002:0 0 4 = 26343130
c2fede40 161847590 S Ci:1:002:0 s a1 01 0314 0000 0003 8 <
c2fede40 161848982 C Ci:1:002:0 0 3 = 140000
c2fede40 161908315 S Ci:1:002:0 s a1 01 0314 0000 0003 8 <
c2fede40 171928585 C Ci:1:002:0 -104 3 = 140000
c2fede40 171928605 S Ci:1:002:0 s a1 01 0306 0000 0004 8 <
c2fede40 171930579 C Ci:1:002:0 0 4 = 06000008
c2fede40 171968852 S Ci:1:002:0 s a1 01 030c 0000 0006 8 <
c2fede40 171970572 C Ci:1:002:0 0 6 = 0c640000 3f00
c2fede40 171989721 S Ci:1:002:0 s a1 01 030c 0000 0006 8 <
c2fede40 171991562 C Ci:1:002:0 0 6 = 0c640000 3f00
Wed Feb 10 12:54:01 CST 2010

-- 
David Fries <david-CAZ2Ig26prheoWH0uzbU5w@public.gmane.org>
http://fries.net/~david/ (PGP encryption key available)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2010-02-11  1:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20100206172051.GA22311@spacedout.fries.net>
2010-02-08 11:56 ` usbhid control queue full, due to stuck control request Oliver Neukum
     [not found]   ` <201002081256.01614.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2010-02-09  2:35     ` David Fries
     [not found]       ` <20100209023508.GB22311-6Mk49KDF3Zwuqz//ww0BS9HuzzzSOjJt@public.gmane.org>
2010-02-11  1:04         ` David Fries [this message]
     [not found]           ` <20100211010450.GC22311-6Mk49KDF3Zwuqz//ww0BS9HuzzzSOjJt@public.gmane.org>
2010-02-11 15:18             ` Jiri Kosina
2010-02-12  0:49               ` David Fries
2010-02-12  7:35                 ` Oliver Neukum
2010-02-12 11:57                   ` Jiri Kosina
2010-02-12 11:59                     ` Oliver Neukum
     [not found]                       ` <201002121259.08146.oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org>
2010-02-12 12:01                         ` Jiri Kosina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100211010450.GC22311@spacedout.fries.net \
    --to=david-caz2ig26prheowh0uzbu5w@public.gmane.org \
    --cc=linux-input-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-usb-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=oliver-GvhC2dPhHPQdnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).