From: "Bryan Kate" <BryanKate@metrobility.com>
To: linux-hotplug@vger.kernel.org
Subject: missing messages
Date: Fri, 12 Jul 2002 12:34:11 +0000 [thread overview]
Message-ID: <marc-linux-hotplug-102647756930296@msgid-missing> (raw)
Greetings,
I am working on a user space app with multiple usb devices, and I would
like to get notification when a device has been inserted/removed from
the system. I read the article
http://www.linuxjournal.com/article.php?sid=5604 and decided to use this
method.
I am able to get notification of add, but not remove... this is what is
did.
Since my default /sbin/hotplug script forwards me to the
/etc/hotplug/usb.agent, I had to add a line to my usb.usermap file and
put a matching script into my /etc/hotplug/usb directory for it to run.
It actually runs this script (much to my surprise) and I am testing it
by having it echo out the environment variables to a messages file. For
some reason, I am only getting notification when I "add" a device, and
it does nothing when I pull it out... any ideas on how to get this
"remove" action message to come through?
- bryan
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
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
next reply other threads:[~2002-07-12 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-12 12:34 Bryan Kate [this message]
2002-07-12 17:05 ` missing messages 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-102647756930296@msgid-missing \
--to=bryankate@metrobility.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).