Return-path: Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:54518 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752181Ab2ACNUl (ORCPT ); Tue, 3 Jan 2012 08:20:41 -0500 Date: Tue, 3 Jan 2012 13:20:53 +0000 From: Alan Cox To: Jack Stone Cc: Oliver Neukum , Matthew Garrett , Linus Torvalds , Alan Stern , Dave Jones , Linux Kernel , Larry Finger , Chaoming Li , "John W. Linville" , Greg Kroah-Hartman , USB list , Linux Wireless List Subject: Re: loading firmware while usermodehelper disabled. Message-ID: <20120103132053.44ade1e3@pyramind.ukuu.org.uk> (sfid-20120103_142046_636629_25793BC5) In-Reply-To: <4F02F244.6040902@fastmail.fm> References: <4F0220F5.30309@fastmail.fm> <20120103004220.084d61f3@pyramind.ukuu.org.uk> <201201031257.47265.oliver@neukum.org> <4F02F244.6040902@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: > That said, I guess there are more complicated / difficult pieces of > hardware that might not do that. Is that the case here? Can we detect > that the firmware needs reloading and have the primary driver "yield" to > the firmware driver? That doesn't really make any sense in the way USB works. However if you've got a system to load and pin firmware *on suspend* and flush it post resume then you don't actually need special 'firmware' drivers just a slightly fancier lib/firmware that refcounts and handles load on suspend/delayed flush. (and probably a sysctl for cache tuning so that typical small firmwares get cached on bigger boxes anyway for speed)