Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757431AbXKUPZ0 (ORCPT ); Wed, 21 Nov 2007 10:25:26 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753460AbXKUPZM (ORCPT ); Wed, 21 Nov 2007 10:25:12 -0500 Received: from ug-out-1314.google.com ([66.249.92.175]:18974 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753092AbXKUPZK (ORCPT ); Wed, 21 Nov 2007 10:25:10 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=t58eSOxY89xi2uiHJq/n5id/i8s+g5icHHhpQMg/WRQz44WV51scVE7cjzYsALbsLpqh/qUWrx050L+WLOLBHLTBIkPsIj0bBgT2QoYcngjjAVyoiE1w8f+hfD4F9CyKSrkNkGpZi1vasd097HFbFXEjQ6mEIXhBTciNhYn2AUo= Message-ID: Date: Wed, 21 Nov 2007 16:25:08 +0100 From: "Markus Rechberger" To: "Oliver Neukum" Subject: Re: USB deadlock after resume Cc: "Mark Lord" , linux-kernel@vger.kernel.org, linux-usb-devel@lists.sourceforge.net, "Laurent Pinchart" In-Reply-To: <200711211615.14829.oliver@neukum.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200711211246.39441.oliver@neukum.org> <200711211615.14829.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1113 Lines: 28 On 11/21/07, Oliver Neukum wrote: > Am Mittwoch 21 November 2007 schrieb Markus Rechberger: > > > Which URB is usb_kill_urb() called for? > > > > > > > it's the usb_control_message which calls usb_kill_urb if I haven't got > > it wrong. (if you're looking for some other information please let me > > know) > > Although, I got a bit further with it. The error seems to happen > > earlier already. > > If I load the driver, and do not access the device after suspending > > all usb_control commands fail with -71 eproto. > > A timeout. You should add the RESET_RESUME quirk for your device. > usb_reset_device() from resume() is not a good idea. > ok this is good to know, although I have to stick with kernel 2.6.21.3 here. It's Laurent's driver best would be to check for the specific kernelversion and do whatever is appropriate. thanks, Markus - 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/