From: Pedro Lopez-Cabanillas <plcl@telefonica.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: should the module script be invoked every time?
Date: Mon, 25 Nov 2002 22:40:53 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-103826441410321@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-103825785302736@msgid-missing>
On Monday 25 November 2002 22:57, David Brownell wrote:
> Pedro Lopez-Cabanillas wrote:
> > Is there a reason to name the hotplug scripts like the modules?
>
> Keeping things straight, and making it so you don't need to make any
> kind of error-prone modification to files in tha quirky syntax.
>
> This is a bug that's been hanging around for a while. The fix should
> finally be in current CVS, along with a few other updates mostly for
> a bit more intelligence about how hotplug changed in 2.5 ...
That's good, but IMHO there are several situations for hotplug to give some
kind of support.
1. Scripts that need to run once, before or after modprobe. This is usually
done with modules.conf (pre-install/post-install), but i would like to do
that with hotplug also...
2. Scripts that need to run every time the device is plugged or unplugged,
even if the driver is already loaded or not. That is the case of our ezusbmidi
firmware loader.
BTW, there can be several drivers for the same device, i.e. 'usb-midi' is the
OSS driver and 'snd-usb-audio' is the ALSA driver. Midiman MidisportNxN
devices may work with both drivers, but some firmware is needed first. The
name 'ezusbmidi' for the script is neutral, and associated to the EZ-USB
devices, not the driver name.
I know another firmware for the same devices:
http://www.informatik.uni-halle.de/~ladischc/midisport_linux_firmware.html
That script is named 'midisport_fw', and i like that name.
Regards,
Pedro
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
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
next prev parent reply other threads:[~2002-11-25 22:40 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-25 20:49 should the module script be invoked every time? Gene Cash
2002-11-25 21:39 ` Pedro Lopez-Cabanillas
2002-11-25 21:57 ` David Brownell
2002-11-25 21:58 ` Gene Cash
2002-11-25 22:04 ` Zach Welch
2002-11-25 22:13 ` Pedro Lopez-Cabanillas
2002-11-25 22:40 ` Pedro Lopez-Cabanillas [this message]
2002-11-25 23:12 ` David Brownell
2002-11-26 16:04 ` Gene Cash
2003-06-09 15:12 ` Chris Weiss
2003-06-09 15:55 ` David Brownell
2003-06-09 17:19 ` Chris Weiss
2003-06-09 17:24 ` David Brownell
2003-06-09 21:25 ` Paul Hedderly
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-103826441410321@msgid-missing \
--to=plcl@telefonica.net \
--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).