From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Dan Gray" Date: Thu, 02 Jun 2005 15:09:34 +0000 Subject: Re: It just works - USB removal script suggestion/patch Message-Id: <5709818@dangray.org> List-Id: References: <3456677@dangray.org> In-Reply-To: <3456677@dangray.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.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