From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Fri, 28 Apr 2006 03:26:54 +0000 Subject: Re: udev doesn't set group owner and permissions on Canon PowerShot S80 camera Message-Id: <20060428032654.GA20582@kroah.com> List-Id: References: <20060428013407.0631A12A6@philou.gramoulle.local> In-Reply-To: <20060428013407.0631A12A6@philou.gramoulle.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Fri, Apr 28, 2006 at 03:34:06AM +0200, Philippe Gramoull? wrote: > > Hello, > > Since a few udev release (well since few Debian upgrades as well :)), i can't have the correct > group owner and permissions set right anymore, when i power on my Canon PowerShot S80 camera (04a9/30fa). > > It used to work fine, after i changed the rules.d/025_libgphoto2.rules file to have the correct > IDs. > > Now, when i power the camera on, i have this: > > UEVENT[1146185703.616764] add@/devices/pci0000:00/0000:00:1f.4/usb2/2-1 > UDEV [1146185703.616881] add@/devices/pci0000:00/0000:00:1f.4/usb2/2-1 > UEVENT[1146185703.620711] add@/devices/pci0000:00/0000:00:1f.4/usb2/2-1/2-1:1.0 > UDEV [1146185703.651882] add@/devices/pci0000:00/0000:00:1f.4/usb2/2-1/2-1:1.0 > > According to the following rule: > > # Canon PowerShot S80 (normal mode) > SYSFS{idVendor}="04a9", SYSFS{idProduct}="30fa", MODE="0660", GROUP="camera" > > i would expect to have : > > # ls -l /proc/bus/usb/002/ Woah. /proc/bus/usb/ is usbfs and has nothing to do with udev. I think you need to look at /dev/bus/usb/ which should have the proper permissions on it. If in doubt, run udevtest on the device to see where it shows up. Hope this helps, greg k-h ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ 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