From: Greg KH Date: Mon, 01 Dec 2008 14:35:28 +0000 Subject: Re: usb coldplug problem Message-Id: <20081201143528.GA12096@kroah.com> List-Id: References: <403A9FAC.2010904@free.fr> In-Reply-To: <403A9FAC.2010904@free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Dec 01, 2008 at 08:46:52AM +0000, Bernd Porr wrote: > Hi! > > I'm the maintainter of the USBDUX board which connects via the USB to > linux. > > In order to work properly the USBDUX needs firmware uploaded. So, I wrote a > udev rule which uploads the firmware as soon as there's a udev event from > the USB BUS (this is done via comedi_config). Why not just use the firmware functions in the kernel core for this? That way, when the device is seen by udev, the correct firmware request function will be called, your firmware will be loaded, and everything should be just fine. No need to reinvent the wheel here :) thanks, greg k-h