linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: [BUG?] hotplug scripts launched 4 times
Date: Wed, 22 Dec 2004 20:35:19 +0000	[thread overview]
Message-ID: <1103747719.5845.60.camel@localhost.localdomain> (raw)
In-Reply-To: <41C9D949.6020306@swiatek.name>

On Wed, 2004-12-22 at 21:30 +0100, Wojtek Swiatek wrote:
> Hello,
> 
> I am not sure this is the proper list for reporting possible bugs but I 
> did not find anything better :)
> 
> The problem I have is that my agents scripts are launched 4 (for usbcam) 
> or 2 (for USB pendrive) times - everytime. I looked though google trying 
> to find someone with a similar issue but I seem to be the only one in 
> the world with the issue (as usual :)).
> 
> System: Fedora Core 3 with latest patches/software versions. The 
> /etc/hotplug/usb/usbcam script is very complicated:
> #!/bin/bash
> date >> /tmp/xxx
> 
> When plugging in I get 4 lines in /tmp/xxx
> 
> If this is a known issue (or if I do something terribly wrong) I would 
> appreciate a cc: as I am not subscribed to the list.

Please log the env, or at least the DEVPATH from the environment, to see
what kernel devices are generating the events.

Kay



-------------------------------------------------------
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://productguide.itmanagersjournal.com/
_______________________________________________
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

  reply	other threads:[~2004-12-22 20:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-22 20:30 [BUG?] hotplug scripts launched 4 times Wojtek Swiatek
2004-12-22 20:35 ` Kay Sievers [this message]
2004-12-22 20:40 ` Marco d'Itri
2004-12-22 20:44 ` Wojtek Swiatek

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=1103747719.5845.60.camel@localhost.localdomain \
    --to=kay.sievers@vrfy.org \
    --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).