Bug 365281 - HP Photosmart E327 cannot be used by non-root user
Summary: HP Photosmart E327 cannot be used by non-root user
Keywords:
Status: CLOSED DUPLICATE of bug 362221
Alias: None
Product: Fedora
Classification: Fedora
Component: udev
Version: 7
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-03 15:42 UTC by David Anderson
Modified: 2007-12-04 09:13 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-12-04 09:13:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description David Anderson 2007-11-03 15:42:21 UTC
The HP Photosmart E327 is a USB PTP camera.

udev doesn't set the permissions to allow it to be used by a non-root user.

I'm a udev novice, but Googling around for tips, I found that the following 
worked for me:

1. Create a file /etc/udev/rules.d/60-hpe327.rules with this line:

ATTR{idVendor}=="03f0", ATTR{idProduct}=="8b02", SYMLINK+="hpe327-%k"

2. Add "/dev/hpe327*" to the "<camera>" line 
in /etc/security/console.perms.d/50-default.perms

Comment 1 Paul Jenner 2007-11-03 22:14:25 UTC
See similar bug #362221

Do you see the same error when you try "gphoto2 --debug --auto-detect --summary"?

Did this used to work or is this the first time you have tried?

Comment 2 David Anderson 2007-11-10 11:59:36 UTC
Answer to #1: That command works as root, but as non-root it gives:

*** Error ***
An error occurred in the io-library ('Could not claim the USB device'): Could 
not claim interface 0 (Operation not permitted). Make sure no other program or 
kernel module (such as sdc2xx, stv680, spca50x) is using the device and you 
have read/write access to the device.
*** Error (-53: 'Could not claim the USB device') ***

This is the first time I've tried.

I've found that the camera has a setting for USB mass storage instead of PTP 
so for the time being I'm using that, but it would be nice to have it work 
both ways (PTP is the default).


Comment 3 Paul Jenner 2007-11-15 19:07:59 UTC
In which case I believe this is a dup of #362221. Can you close as duplicate if
you agree? Better we get one bug to track all these. Thanks.

Comment 4 David Anderson 2007-12-04 09:13:58 UTC

*** This bug has been marked as a duplicate of 362221 ***


Note You need to log in before you can comment on or make changes to this bug.