From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ken Hahn" Date: Tue, 02 Apr 2002 16:31:41 +0000 Subject: Suggestion for firmware load example script Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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