Return-path: Received: from cavan.codon.org.uk ([93.93.128.6]:54009 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753461Ab2ACAig (ORCPT ); Mon, 2 Jan 2012 19:38:36 -0500 Date: Tue, 3 Jan 2012 00:38:31 +0000 From: Matthew Garrett To: Jack Stone Cc: Linus Torvalds , Alan Stern , Oliver Neukum , 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: <20120103003831.GB17606@srcf.ucam.org> (sfid-20120103_013841_787096_95BDBC80) References: <20120102215028.GA15701@srcf.ucam.org> <20120102221235.GA16012@srcf.ucam.org> <20120102222920.GA16160@srcf.ucam.org> <20120102230037.GA16458@srcf.ucam.org> <4F023E6B.2020307@fastmail.fm> <20120103001356.GA17183@srcf.ucam.org> <8e95c7e3-e9d5-43c4-8e6a-b8d40584cbd6@email.android.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <8e95c7e3-e9d5-43c4-8e6a-b8d40584cbd6@email.android.com> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Tue, Jan 03, 2012 at 12:22:58AM +0000, Jack Stone wrote: > So we have a table of USB ids that list the devices that need firmware drivers. When the uvcvideo driver registers the firmware interface with a USB id that matches the list we load the firmware driver and pass it a "warm start" event so it can cache the firmware. > > As long as we can identify the devices that *might* need firmware then we are ok. We could do all of this. Or we could just push the responsibility for this specific case back to userspace, and maybe that's what I should have done in the first place. -- Matthew Garrett | mjg59@srcf.ucam.org