From: "Dan Gray" <dan@dangray.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: It just works - USB removal script suggestion/patch
Date: Thu, 02 Jun 2005 15:09:34 +0000 [thread overview]
Message-ID: <5709818@dangray.org> (raw)
In-Reply-To: <3456677@dangray.org>
You wrote:
> Did you look into dbus/hal yet?
> dbus/hal works in userspace and should do what you want :)
>
> - Stefan
I did, but they present three problems:
First, it's an extra daemon/configuration burden
Second, the userspace function only works for processes you own. I wanted to kill irattach when I removed a USB dongle, hal/dbus would have needed additional configuration.
This just seems like a sensible, K.I.S.S. approach to the problem within the hotplug framework with no need for additional configuration. I'm thinking of patching my usb.agent to do the same for inserts. I have to say I even dislike the existing system of /etc/hotplug/usb scripts as it relies on a properly condigured usb map file which seems superfluous to most peoples needs (i.e Plug in a device, write a script with a unique name, put it in the right place, so again, no need to write/edit an additional file.)
Dan
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
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:[~2005-06-02 15:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-02 11:37 It just works - USB removal script suggestion/patch Dan Gray
2005-06-02 12:59 ` Stefan Schweizer
2005-06-02 15:09 ` Dan Gray [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=5709818@dangray.org \
--to=dan@dangray.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.