linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ken Hahn" <kenh@micro-solutions.com>
To: linux-hotplug@vger.kernel.org
Subject: Suggestion for firmware load example script
Date: Tue, 02 Apr 2002 16:31:41 +0000	[thread overview]
Message-ID: <marc-linux-hotplug-101776551505751@msgid-missing> (raw)

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

             reply	other threads:[~2002-04-02 16:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-02 16:31 Ken Hahn [this message]
2002-04-10  0:16 ` Suggestion for firmware load example script David Brownell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-hotplug-101776551505751@msgid-missing \
    --to=kenh@micro-solutions.com \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).