From mboxrd@z Thu Jan 1 00:00:00 1970 From: md@Linux.IT (Marco d'Itri) Date: Tue, 06 Dec 2005 00:06:02 +0000 Subject: Re: libgphoto2 calls hotplug script with wrong variables Message-Id: <20051206000602.GA18948@wonderland.linux.it> List-Id: References: <4394CDE7.1070008@bl.com> In-Reply-To: <4394CDE7.1070008@bl.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Dec 06, Moshe Yudkowsky wrote: > My udev directory has a file called "libgphoto2.rules" -- I didn't put > it there, but I don't know which package did (from the changelog, I > suspect it was libgphoto2 package using a utility called > "print-udev-rules"). Right. So this is off topic for this mailing list. > (1a) I keep on reading on this list that /etc/hotplug is supposed to be > deprecated, and yet here's /etc/hotplug that looks pretty official. Blame the people who do not want to stop supporting old-style hotplug and 2.4 kernels in Debian. Anyway, this is not important. > (1b) I also keep reading about HAL, but it isn't installed on my machine > accoring to dpkg. Should it be? If it is supposed to be, why isn't in > installed -- which script should have installed it? Because libgphoto does not actually use it. > (2) The script libgphoto2 doesn't work. The goal of libgphoto2 is to set > the device created by hotplug (later udev) so that anyone in group > $CAMERA can use it, but that doesn't happen, and here's why. The script works fine, but updates the /prob/bus/usb/ file. You also need an udev rule to set GROUP for the SUBSYSTEM="usb_device" event which creates the /dev/bus/usb/ device. -- ciao, Marco ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&op=click _______________________________________________ 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