You are not logged in.
I've used gphoto2 for years on other distros and it works fine as a normal user. However, when I try this on Arch it fails with:-
gphoto2 --capture-image-and-download
*** Error ***
An error occurred in the io-library ('I/O problem'): No error description available
ERROR: Could not capture image.
ERROR: Could not capture.
*** Error ***
An error occurred in the io-library ('I/O problem'): No error description availableand running it with '--debug' produces:
0.017569 libusb1(2): gp_port_usb_open()
0.017580 libusb1(0): libusb_open returned -3
0.017603 context(0): An error occurred in the io-library ('I/O problem'): No error description available
*** Error ***
An error occurred in the io-library ('I/O problem'): No error description available
ERROR: Could not capture image.
ERROR: Could not capture.I have noticed that it works when I run it as root. The wiki suggests that I placed the normal user in the 'storage' group, but that didn't help me out. I've noticed a few older posts in this forum on this subject, but they mention consoleKit, which is obsolete as far as I understand. Does anyone have any idea where I go next?
I'm running gphoto 2.5.3.1-1 and libusb 1.0.18-1
Last edited by gareththered (2014-02-24 16:45:12)
Offline
As a sanity check, after you added the user to the starage group, that user did log out, then log back in. Right?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Yes - I did log off. In fact, I've probably rebooted a few times too as I'm comparing Arch with a Fedora 20 installation to see if there are any glaring differences. It all seems similar though :-( I'm thinking along the lines of udev or polkit at the moment, but as I don't really understand these it means I'll need to do some reading up in order to get this resolved.
Offline
Possible related bug report: https://bugs.archlinux.org/task/39024
Offline
Scimmia - you're a genius ;-)
As root, I changed the extension:-
mv /usr/lib/udev/hwdb.d/20-gphoto.conf /usr/lib/udev/hwdb.d/20-gphoto.hwdband ran:-
udevadm hwdb --updateAfter reconnecting the camera it worked as a normal user.
Offline