From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev doesn't set group owner and permissions on Canon PowerShot S80 camera
Date: Fri, 28 Apr 2006 03:26:54 +0000 [thread overview]
Message-ID: <20060428032654.GA20582@kroah.com> (raw)
In-Reply-To: <20060428013407.0631A12A6@philou.gramoulle.local>
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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
next prev parent reply other threads:[~2006-04-28 3:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-28 1:34 udev doesn't set group owner and permissions on Canon PowerShot S80 Philippe Gramoullé
2006-04-28 3:26 ` Greg KH [this message]
2006-04-28 3:31 ` udev doesn't set group owner and permissions on Canon PowerShot S80 camera Kay Sievers
2006-04-28 12:38 ` udev doesn't set group owner and permissions on Canon PowerShot Philippe Gramoullé
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060428032654.GA20582@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.