linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: hotplug-ng
@ 2005-03-14  9:58 andreas.walden
  2005-03-14 10:04 ` hotplug-ng Marco d'Itri
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: andreas.walden @ 2005-03-14  9:58 UTC (permalink / raw)
  To: linux-hotplug

Thanks for your reply,


I've got one last proplem. The programm, that I put into
/etc/hotplug.d/usb/ is always invoked two times when an hotplug event
occures. This causes my program crashes...


regards,


Andreas W.












On Thu, Mar 10, 2005 at 09:13:58AM +0100, andreas.walden@philips.com wrote:
> Dear Greg,
>
> I'm student doing an intership at philips medical systems. At the moment
> I'm  working with an embedded system CSB337 with ARM AT91RM9200 and linux
> kernel 2.6.11. It's working fine. My aim is to call a program with
> parameter when putting on a hotpluggable device like an usb mouse so that
> the program always know if the plugged device is mouse0 or mouse1 or
> keyboard0 and so on
>
> I' ve installed your hotplug-ng and compiled it with DEBUG messages and
> when I plug in an usb mouse i get the following /var/log/messages

It all looks just fine, what is the problem?

> Unfortunately I Don't understand why the path /etc/hotplug.d/default has
to
> be opened...

That's they way the spec says it needs to be.  If it's not there, fine,
nothing bad happens.

> In fact, it doesn't exist.... How can I readout the arguments
> which are passing to hotplug and how can I tell hotplug to invoke my
> Programm or otherwise tell my programm to listen to hotplug???

put your program in the proper place in the /etc/hotplug.d/ tree, and it
will be run.  Read the documentation (or the /sbin/hotplug script) for
more details on how to do this.

Also, any further questions should be addressed to the
linux-hotplug-devel mailing list, not directly to me.

Good luck,

greg k-h




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click
_______________________________________________
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] 7+ messages in thread

end of thread, other threads:[~2007-02-02 18:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-14  9:58 hotplug-ng andreas.walden
2005-03-14 10:04 ` hotplug-ng Marco d'Itri
2007-02-02 11:44 ` hotplug-ng Chris Steel
2007-02-02 12:26 ` hotplug-ng Marco d'Itri
2007-02-02 13:29 ` hotplug-ng Chris Steel
2007-02-02 13:44 ` hotplug-ng Marco d'Itri
2007-02-02 18:13 ` hotplug-ng Bauke Jan Douma

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).