From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753289Ab1LaP6L (ORCPT ); Sat, 31 Dec 2011 10:58:11 -0500 Received: from smtp-out003.kontent.com ([81.88.40.217]:51125 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753179Ab1LaP6K (ORCPT ); Sat, 31 Dec 2011 10:58:10 -0500 From: Oliver Neukum To: Alan Stern Subject: Re: loading firmware while usermodehelper disabled. Date: Sat, 31 Dec 2011 16:59:48 +0100 User-Agent: KMail/1.13.5 (Linux/3.2.0-rc4-12-desktop+; KDE/4.4.4; x86_64; ; ) Cc: Matthew Garrett , Linus Torvalds , Dave Jones , Linux Kernel , Larry Finger , Chaoming Li , "John W. Linville" , "Greg Kroah-Hartman" , USB list , Linux Wireless List References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201112311659.48427.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Samstag, 31. Dezember 2011, 16:33:12 schrieb Alan Stern: > Nothing has changed in the USB layer -- it has always been true that > devices could be reset during a suspend/resume cycle. This isn't a > matter of how the stack is written or anything like that; some > motherboards simply do not provide suspend power to their USB > controllers. Or the firmware reinitializes the controllers and > attached devices during resume, forcing Linux's USB core to reset > every device on the affected buses. > > When it comes to suspend/resume, there are almost no guarantees. :-( We are definitely going through do_unbind_rebind(). But I don't think it matters why we got there. We seem to be calling probe() too early. And we need to guarantee that a driver can request firmware in probe() So something has changed in the resume code path further up. Regards Oliver