Here is how I got my Epson PhotoPC 850Z, which needs libgphoto2 & digikam, to work:
1) Connected my camera to a USB port & turned it on. Checked 'dmesg' to ensure it was detected, then ran 'lsusb' & noted the ID number.
2) Installed libgphoto2, ver 2.2.0. I used the Freerock Gnome package, because I happened to have it.
3) Checked all of the files in /usr/doc/libgphoto2-2.2.0. In the CHANGES file there is the line:
Quote:
You should generate HAL FDI, linux-hotplug usb.usermap, and udev rules now via our program:
${libdir}/print-camera-list (hal-fdi|usb-usermap|udev-rules)
|
I did this as root, using the command:
Code:
/usr/lib/libgphoto2/print-camera-list udev-rules > camera.rules
This gave me a huge camera.rules file. I deleted all lines except the one that applied to my camera.
4) I moved the camera.rules file to the /etc/udev/rules.d directory & tried it with digikam, but it did not work for my user. However, it did work for root. Figuring that the problem was only permissions & knowing that the udev rule was running the "/etc/hotplug/usb/usbcam" script in an attempt to set permissions, I decided to modify the rule to do it all.
5) I modified my camera.rules from:
Quote:
SYSFS{idVendor}=="XXXX", SYSFS{idProduct}=="YYYY", RUN+="/etc/hotplug/usb/usbcam"
|
to:
Quote:
SYSFS{idVendor}=="XXXX", SYSFS{idProduct}=="YYYY", MODE="660", GROUP="video", SYMLINK+="camera"
|
6) I'm not using the SYMLINK. I put it in so I could use it to determine what device was actually being created. There are also only two users on this machine, so I could probably get by with 'GROUP="users"', but the above rule is working with digikam, so I am not inclined to change it.
Regards,
Bill