udev - wrong permissions in udev rules for usb camera

Bug #206470 reported by royden
6
Affects Status Importance Assigned to Milestone
udev (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: udev

OS: Hardy (fully updated)
Package: udev 117-4ubuntu1

Actions: plug in Canon D-Ixus 400 to usb port, switch camera on. "lsusb" confirms camera found.

Result: (f-prot does not run automatically) A manual run of f-prot cannot find camera, with message "cannot claim usb...".

Workarounds: 1) (f-prot segfaults when run as sudo) At CLI "sudo gtkam" results in camera being correctly read.

2) Edit /etc/udev/rules.d/40-permissions.rules - replace:

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

with

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="plugdev"
SUBSYSTEM=="usb_device", GROUP="plugdev"

f-prot now finds camera (tho' still does not run automatically upon inserting camera).

Similar bug reports:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/196743

Realted forum reports:
http://ubuntuforums.org/showpost.php?p=4232045
http://ubuntuforums.org/showthread.php?t=733508

Comments:
I note that /etc/udev/rules.d/45-libgphoto2.rules no longer exists and am unsure if the above edits are safe for all usb devices excl block, printers etc.

Will attach udevmonitor etc.output shortly

Revision history for this message
royden (ryts) wrote :
Revision history for this message
Giuseppe Pennisi (giupenni78) wrote :

I have the same problem.
I have a Canon PowerShot A630.
With Gutsy it work.

gp

Revision history for this message
ignacio (rozada-math) wrote :

Same problem, Gutsy beta amd64, I have a Canon G9, tried f-spot and gtkam and I couldn't detect the camera, although it shows up in lsusb. In Hardy (32) it worked out of the box.

Revision history for this message
chocolatetoothpaste (rpaskett) wrote :

I have a similar problem. I have a Canon PowerShot A570, and have been unsuccessful in finding a way to mount it. I only wish to mount it as a usb drive, and use an arbitrary shell script to transfer my photos. lsusb gives evidence that the camera was detected, but it appears the contrary is true.

Revision history for this message
Remke (r-schuurmans) wrote :

this worked for me with Canon A570 (Ubuntu 8.04)
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/206470

2) Edit /etc/udev/rules.d/40-permissions.rules - replace:

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", MODE="0664"
SUBSYSTEM=="usb_device", MODE="0664"

with

SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GROUP="plugdev"
SUBSYSTEM=="usb_device", GROUP="plugdev"

Gr.
-remke-

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.