From patchwork Thu Oct 22 14:05:23 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alan Stern X-Patchwork-Id: 55359 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n9ME5u4A023051 for ; Thu, 22 Oct 2009 14:05:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756102AbZJVOFV (ORCPT ); Thu, 22 Oct 2009 10:05:21 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756093AbZJVOFV (ORCPT ); Thu, 22 Oct 2009 10:05:21 -0400 Received: from netrider.rowland.org ([192.131.102.5]:51883 "HELO netrider.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1755382AbZJVOFU (ORCPT ); Thu, 22 Oct 2009 10:05:20 -0400 Received: (qmail 1596 invoked by uid 500); 22 Oct 2009 10:05:23 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 22 Oct 2009 10:05:23 -0400 Date: Thu, 22 Oct 2009 10:05:23 -0400 (EDT) From: Alan Stern X-X-Sender: stern@netrider.rowland.org To: =?UTF-8?B?T3phbiDDh2HEn2xheWFu?= cc: Laurent Pinchart , , linux-kernel , USB list Subject: Re: uvcvideo causes ehci_hcd to halt In-Reply-To: <4AE03477.1010902@pardus.org.tr> Message-ID: MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org --- usb-2.6.orig/drivers/usb/host/ehci-dbg.c +++ usb-2.6/drivers/usb/host/ehci-dbg.c @@ -591,18 +591,21 @@ static ssize_t fill_periodic_buffer(stru qtd->hw_token) >> 8)) { case 0: type = "out"; continue; case 1: type = "in"; continue; + case 2: type = "?2"; continue; + case 3: type = "?3"; continue; } } temp = scnprintf (next, size, " (%c%d ep%d%s " - "[%d/%d] q%d p%d)", + "[%d/%d] q%d p%d) %08x", speed_char (scratch), scratch & 0x007f, (scratch >> 8) & 0x000f, type, p.qh->usecs, p.qh->c_usecs, temp, - 0x7ff & (scratch >> 16)); + 0x7ff & (scratch >> 16), + hc32_to_cpu(ehci, qtd->hw_token)); if (seen_count < DBG_SCHED_LIMIT) seen [seen_count++].qh = p.qh;