FS#7548 - gphoto.rules may need correction

Attached to Project: Arch Linux
Opened by Dmitry Golubovsky (golubovsky) - Monday, 02 July 2007, 03:50 GMT
Last edited by Roman Kyrylych (Romashka) - Saturday, 09 February 2008, 17:03 GMT
Task Type Support Request
Category Packages: Extra
Status Closed
Assigned To Jason Chu (jason)
Architecture All
Severity Low
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

gphoto2 2.3.1-1 comes with gphoto.rules file for udev, which contains lines like this (idVendor and idProduct for my camera) :

ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="311a", MODE="0660", GROUP="camera"

This did not work out on my computer: gphoto2 refused to access the camera unless run under root.

This forum post:

http://bbs.archlinux.org/viewtopic.php?t=13870

mentions similar problem and suggests using SYSFS rather than ATTRS to identify the camera device.

I added the following line to gphoto.rules for my camera:

SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="311a", MODE="0660", GROUP="camera"

then the goal was achieved: user belonging to the "camera" group was able to access the camera.

Please add similar lines (s/ATTRS/SYSFS/g) to gphoto.rules file for all camera devices during instalation.

Additional info:
* package version(s)

gphoto2 2.3.1-1
libgphoto2 2.3.1-2

* config and/or log files etc.

/etc/udev/rules.d/gphoto.rules

This was observed on a x86_64 installation of Duke, but would equally affect other architectures.
This task depends upon

Closed by  Roman Kyrylych (Romashka)
Saturday, 09 February 2008, 17:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  Appears fixed. No response from submitter to status request.
Comment by Fredrik (vEX) - Saturday, 15 December 2007, 14:30 GMT
Does it work better now with 2.4.0?

It works fine for me (x86_64 and up-to-date system as of this posting) without changing the udev rules.

Loading...