Sarah Sharp <saharabe...@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.

Attachment: signature.asc
Description: Digital signature

Reply via email to