From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Cuyle Fritzinger Date: Mon, 03 Dec 2001 23:28:45 +0000 Subject: Re: hotplug ownership/permissions Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, 3 Dec 2001, Ken Hahn wrote: > 1. The reaction is not serialized as the notificaiton method changes this > around. so hotplug needs to selectively choose which script to run based on user input. > 2. In the case of a distro where lots of cd-player, or camera-software come > for free, users could have multiple things launching on an event, instead of > just one. then what needs to happen is the user needs to select from a list of applications which one to launch for a given device, which can be saved in ~/.hotplug or something similar. how is the user prompted to choose which script? blech. doesn't seem like hotplug should have knowledge of the desktop itself... perhaps a /etc/hotplug/usb.delegators/ directory that contains scripts/programs that will present the user with a list of possible scripts to run, and the user can specify one or more.. the choices are stored in ~/.hotplug. the desktops can place the script/programs in /etc/hotplug/usb.delegators/ so that if there is more than 1 match in usb.maps/, it can run a delegator. which delegator though? run them all? :P this is getting nasty. > Perhaps hogging the device is not a bad idea? this is tending to lean towards to user preference rather than letting hotplug delegate which scripts to run. i can play around and see what works best here and then write back with results... i'm just trying a bunch of different things to see what works best for me for now... :P -=Scott _______________________________________________ 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