* missing messages
@ 2002-07-12 12:34 Bryan Kate
2002-07-12 17:05 ` David Brownell
0 siblings, 1 reply; 2+ messages in thread
From: Bryan Kate @ 2002-07-12 12:34 UTC (permalink / raw)
To: linux-hotplug
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: missing messages
2002-07-12 12:34 missing messages Bryan Kate
@ 2002-07-12 17:05 ` David Brownell
0 siblings, 0 replies; 2+ messages in thread
From: David Brownell @ 2002-07-12 17:05 UTC (permalink / raw)
To: linux-hotplug
> 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?
If it's not coming through, there's a bug somewhere. You should
figure out where it's getting dropped, and submit a patch against
the latest software.
- Dave
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-12 17:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-12 12:34 missing messages Bryan Kate
2002-07-12 17:05 ` 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).