From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brownell Date: Wed, 10 Apr 2002 00:16:08 +0000 Subject: Re: Suggestion for firmware load example script Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org I updated the example on the website to check for the loader. - Dave ----- Original Message ----- From: "Ken Hahn" To: "Greg KH" Cc: Sent: Tuesday, April 02, 2002 9:31 AM Subject: Suggestion for firmware load example script > Howdy, > > I'm getting our usb2 product working with Linux, and I ran across the > example firmware loading script at: > http://linux-hotplug.sourceforge.net/perf > > By mistake, in the process of upgrading to the latest hotplug stuff, I > forgot to add the new fxload. This took me a few minutes to figure out. It > would have gone alot faster if this following bit of code had been placed > before the attempt to load in that example script. I'd recommend that it be > added to the example. > > Almost everything else is checked for, but we don't check to see if the > fxload program is missing. > > Sorry this isn't a patch, but it is small: > > if [ ! -x /sbin/fxload ]; then > if [ -x /usr/bin/logger ]; then > /usr/bin/logger -t $0 "cannot load firmware, missing fxload" > fi > exit 1 > fi > > Thanks, > > Ken Hahn > Engineer, MicroSolutions > > > > _______________________________________________ > Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net > Linux-hotplug-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel