* Suggestion for firmware load example script
@ 2002-04-02 16:31 Ken Hahn
2002-04-10 0:16 ` David Brownell
0 siblings, 1 reply; 2+ messages in thread
From: Ken Hahn @ 2002-04-02 16:31 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Suggestion for firmware load example script
2002-04-02 16:31 Suggestion for firmware load example script Ken Hahn
@ 2002-04-10 0:16 ` David Brownell
0 siblings, 0 replies; 2+ messages in thread
From: David Brownell @ 2002-04-10 0:16 UTC (permalink / raw)
To: linux-hotplug
I updated the example on the website to check for the loader.
- Dave
----- Original Message -----
From: "Ken Hahn" <kenh@micro-solutions.com>
To: "Greg KH" <greg@kroah.com>
Cc: <linux-hotplug-devel@lists.sourceforge.net>
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-10 0:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-02 16:31 Suggestion for firmware load example script Ken Hahn
2002-04-10 0:16 ` David Brownell
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).