From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Cuyle Fritzinger Date: Thu, 15 Nov 2001 23:44:18 +0000 Subject: Re: hotplug arch. and apps 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 > > is only slightly different than what hotplug currently does. instead of > > just relying on usb.handmap or usb.usermap, why not create a directory > > /etc/hotplug/usb.map/ and place files in there that contain the ID's for > > the supported devices? the hotplug agent can open each file, look for ID's > > and then run the corresponding scripts. > Sounds good to me. Got a patch against CVS? :) i'll see what i can hack up this weekend. :) i don't have a mass-storage camera, so i can't test that. i can test moving to a multi-file map directory though. we already have a hotplug script that handles the permissions, so i'll start with that base. > > in our (gphoto's) case, we can place everything in > > /etc/hotplug/usb.map/camera for all known (still) camera ID's. > I'd rather have that be specific to gPhoto2. Best not to have gPhoto2 > take over such responsibilities for other programs, that'd just shift > all the problems into gPhoto2. ah. understood. then perhaps a /etc/hotplug/usb.map/gphoto map, and /etc/hotplug/usb/gphoto script to handle things. -=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