[Pkg-phototools-devel] Bug#509293: Bug#509293: libgphoto2-2: udev rules broken - use "usb_device" rather than "usb|usb_device"

Cyril Brulebois kibi at debian.org
Sun Dec 21 12:54:33 UTC 2008


Sarah Sharp <saharabeara at gmail.com> (20/12/2008):
> Incorrect udev rules in the latest libgphoto2-2 package are not
> creating USB device files in the plugdev group.  That means I can run
> gphoto2 as root, but not as a normal user.
> 
> /etc/udev/rules.d/025_libgphoto2.rules includes this skip rule:
> 
> 	SUBSYSTEM!="usb|usb_device", GOTO="libgphoto2_rules_end"
> 
> The pipe is not documented to work in the udev manpage, and I think
> this is the problem.  When I change the line to:
> 
> 	SUBSYSTEM!="usb_device", GOTO="libgphoto2_rules_end"
> 
> I can access the camera as a normal user.


> Versions of packages libgphoto2-2 recommends:
> ii  udev                          0.125-7    /dev/ and hotplug management daemo

Hmmm, I'll have to dig this out. I wrote in a previous libgphoto2
changelog entry:
,--[ 2.4.1-2 ]--
| * Version the Recommends on udev (which is conditionally specified
|   through the ${udev-hotplug} variable in debian/rules), since
|   libgphoto2 now uses the alternative syntax (that is: key!="a|b"),
|   which apparently was introduced in udev 0.109. Adding “(>= 0.113-1)”
|   since that's the first version in Debian which included this
|   feature. Many thanks to Jan Echternach for having spotted the problem
|   as well as its solution (Closes: #491065).
`--

So maybe the “|” support went away.

Thanks for your report.

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20081221/ed0a4c9f/attachment.pgp 


More information about the Pkg-phototools-devel mailing list