Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751330AbZJWHOE (ORCPT ); Fri, 23 Oct 2009 03:14:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751181AbZJWHOD (ORCPT ); Fri, 23 Oct 2009 03:14:03 -0400 Received: from lider.uludag.org.tr ([193.140.100.216]:44043 "EHLO lider.pardus.org.tr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750841AbZJWHOC (ORCPT ); Fri, 23 Oct 2009 03:14:02 -0400 Message-ID: <4AE158D7.6000900@pardus.org.tr> Date: Fri, 23 Oct 2009 10:18:47 +0300 From: =?UTF-8?B?T3phbiDDh2HEn2xheWFu?= User-Agent: Thunderbird 2.0.0.23 (X11/20071115) MIME-Version: 1.0 To: Alan Stern CC: Laurent Pinchart , linux-media@vger.kernel.org, linux-kernel , USB list Subject: Re: uvcvideo causes ehci_hcd to halt References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2285 Lines: 80 Alan Stern wrote On 22-10-2009 17:05: > On Thu, 22 Oct 2009, [UTF-8] Ozan Çağlayan wrote: > > >> Here's the outputs from /sys/kernel/debug/usb/ehci: >> >> periodic: >> ---------------- >> size = 1024 >> 1: qh1024-0001/f6ffe280 (h2 ep2 [1/0] q0 p8) >> > > There's something odd about this. I'd like to see this file again, > after the patch below has been applied. > periodic size = 1024 1: qh1024-0001/f6ffe280 (h2 ep2 [1/0] q0 p8) t00000000 registers bus pci, device 0000:00:1d.7 EHCI Host Controller EHCI 1.00, hcd state 0 ownership 00000001 SMI sts/enable 0x80080000 structural params 0x00104208 capability params 0x00016871 status 6008 Periodic Recl FLR command 010000 (park)=0 ithresh=1 period=1024 HALT intrenable 00 uframe 0677 port 1 status 001000 POWER sig=se0 port 2 status 001000 POWER sig=se0 port 3 status 001000 POWER sig=se0 port 4 status 001000 POWER sig=se0 port 5 status 001005 POWER sig=se0 PE CONNECT port 6 status 001005 POWER sig=se0 PE CONNECT port 7 status 001000 POWER sig=se0 port 8 status 001000 POWER sig=se0 irq normal 60 err 0 reclaim 14 (lost 0) complete 60 unlink 1 After putting a udelay() the problem seems to be resolved. I did a rmmod-modprobe-sleep in 50 iterations, and the host controller was still functional along with the web-cam: periodic size = 1024 registers bus pci, device 0000:00:1d.7 EHCI Host Controller EHCI 1.00, hcd state 1 ownership 00000001 SMI sts/enable 0x80080000 structural params 0x00104208 capability params 0x00016871 status 2008 Recl FLR command 010001 (park)=0 ithresh=1 period=1024 RUN intrenable 37 IAA FATAL PCD ERR INT uframe 0908 port 1 status 001000 POWER sig=se0 port 2 status 001000 POWER sig=se0 port 3 status 001000 POWER sig=se0 port 4 status 001000 POWER sig=se0 port 5 status 001005 POWER sig=se0 PE CONNECT port 6 status 001005 POWER sig=se0 PE CONNECT port 7 status 001000 POWER sig=se0 port 8 status 001000 POWER sig=se0 irq normal 2115 err 0 reclaim 300 (lost 0) complete 2110 unlink 8 -- Thanks a lot for all your efforts! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/