From: David Brownell <david-b@pacbell.net>
To: linux-hotplug@vger.kernel.org
Subject: Re: usb.usermap script processing doesn't work for me
Date: Thu, 21 Nov 2002 04:32:06 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-103785302925906@msgid-missing> (raw)
In-Reply-To: <marc-linux-hotplug-103770711412546@msgid-missing>
Reinhold May wrote:
> Hi,
Welcome!
> That didn't work for me and I tracked my problem down to an entry
> in '/etc/hotplug/hotplug.functions' and changed it according to
> this:
>
> @@ -119,7 +119,7 @@
> fi
>
> # do it with just shell scripts
> - if [ "$LISTER" = "" ]; then
> + if [ "$DRIVERS" = "" ]; then
> ${TYPE}_map_modules < $FILENAME
> fi
>
> As '$LISTER' is the command to check for corresponding kernel
> modules and '${TYPE}_map_modules < $FILENAME' would save the
> information from e. g. 'usb.usermap', it doesn't make any sense
> to me. Checking if '$DRIVERS' has already been set by '$LISTER'
> commands above that position does make far more sense to me and
> in my case it worked.
Actually the expectation is that the binary lister and the shell
script version are _identical_ except that the binary one can
recognize multi-interface devices ... so it would notice $DRIVERS
that the shell script wouldn't, never the other way around.
Seems that's not the case ... like maybe "usbmodules" doesn't
understand about lines with comments, that sounds familiar.
I'll merge your patch in with some other things I've got
queued, mostly for some intelligence about 2.5 hotplug.
> I hope you agree to me that this was not the intended behaviour
> of the script and you agree it has to be changed.
The intended behavior is that it works and creates more happy
penguins! Merging your patch creates two more. World Domination,
step by step ... :)
- Dave
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
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
prev parent reply other threads:[~2002-11-21 4:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-19 11:54 usb.usermap script processing doesn't work for me Reinhold May
2002-11-21 4:32 ` David Brownell [this message]
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-103785302925906@msgid-missing \
--to=david-b@pacbell.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).