mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: "Ozan Çağlayan" <ozan@pardus.org.tr>,
	linux-media@vger.kernel.org,
	linux-kernel <linux-kernel@vger.kernel.org>,
	"USB list" <linux-usb@vger.kernel.org>
Subject: Re: uvcvideo causes ehci_hcd to halt
Date: Wed, 21 Oct 2009 19:27:00 +0200	[thread overview]
Message-ID: <200910211927.00298.laurent.pinchart@ideasonboard.com> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0910211052200.2847-100000@iolanthe.rowland.org>

On Wednesday 21 October 2009 17:07:51 Alan Stern wrote:
> On Wed, 21 Oct 2009, [UTF-8] Ozan Çağlayan wrote:
> > Nope it didn't help. Here's the DEBUG enabled dmesg output:
> 
> ...
> 
> > [  420.737748] usb 1-5: link qh1024-0001/f6ffe280 start 1 [1/0 us]
> 
> The periodic schedule was enabled here.
> 
> > [  420.737891] usb 1-5: unlink qh1024-0001/f6ffe280 start 1 [1/0 us]
> 
> And it was disabled here.  Do you have any idea why the uvcvideo driver
> submits an interrupt URB and then cancels it 150 us later?  The same
> thing shows up in the usbmon traces.

Probably because hal opens the device to query its capabilities and closes it 
right after. The driver submits the interrupt URB when the first user opens 
the device and cancels it when the last user closes the device.
 
-- 
Regards,

Laurent Pinchart

  parent reply	other threads:[~2009-10-21 17:26 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-13  6:55 Ozan Çağlayan
2009-10-13 14:53 ` Alan Stern
2009-10-14  8:16   ` Ozan Çağlayan
2009-10-20  8:29     ` Ozan Çağlayan
2009-10-20 15:07       ` Alan Stern
2009-10-21  8:22         ` Ozan Çağlayan
2009-10-21 15:07           ` Alan Stern
2009-10-21 15:38             ` Ozan Çağlayan
2009-10-21 17:27             ` Laurent Pinchart [this message]
2009-10-21 20:09               ` Ozan Çağlayan
2009-10-21 23:38                 ` Laurent Pinchart
2009-10-22  1:36                   ` Alan Stern
2009-10-22 10:31                     ` Ozan Çağlayan
2009-10-22 14:05                       ` Alan Stern
2009-10-22 15:56                         ` Ozan Çağlayan
2009-10-22 20:03                           ` Alan Stern
2009-10-23  7:18                         ` Ozan Çağlayan
2009-10-23 22:14                           ` Alan Stern
2009-10-24  7:49                             ` Ozan Çağlayan
2009-10-24 12:04                               ` Alan Stern

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=200910211927.00298.laurent.pinchart@ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=ozan@pardus.org.tr \
    --cc=stern@rowland.harvard.edu \
    /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

all inboxes | Powered by JetHome®