gphoto2 only as root -

Michael Hennebry hennebry at web.cs.ndsu.nodak.edu
Wed Jan 22 18:21:24 UTC 2014


On Wed, 22 Jan 2014, Bob Goodwin - Zuni, Virginia, USA wrote:

> Now I have another problem where user  "bobg" is not authorized!
>
> [bobg at box10 ~]$ gphoto2 --get-all-files
> *** Error: No camera found. ***
>
> For debugging messages, please use the --debug option.
> Debugging messages may help finding a solution to your problem.
> If you intend to send any error or debug messages to the gphoto
> developer mailing list <gphoto-devel at lists.sourceforge.net>, please run
> gphoto2 as follows:
>
>     env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt 
> --get-all-files
>
> Please make sure there is sufficient quoting around the arguments.
>
> But the camera is detected:
>
> [bobg at box10 ~]$ gphoto2 --auto-detect
> Model Port
> ----------------------------------------------------------
> Nikon Coolpix S3100 (PTP mode) usb:001,004

This sounds similar to a scanner problem from a recent thread.

On Thu, 16 Jan 2014, Bob Goodwin - Zuni, Virginia, USA wrote:

> On 16/01/14 13:59, MichaelMichael Hennebry wrote:
>> On Thu, 16 Jan 2014, Bob Goodwin - Zuni, Virginia, USA wrote:
>>
>>> On 16/01/14 11:52, Michael Hennebry wrote:
>>>>
>>>> IIRC, no.
>>>> I had to modify udev rules.
>>>
>>> I looked at that yesterday but don't see a way to fix the problem,
>>> don't understand how to! I'm out of my range of abilities I guess?
>>
>> Here is what I did:
>> http://lists.centos.org/pipermail/centos/2013-September/137284.html
>>
>>> I've simply created a script to change the permissions when I need
>>> xsane. No doubt it will be different for Fedora 20 ...
>>
>
> Ok Michael, that apparently works. The only thing I had to change were
> the codes for manufacturer and model. A test scan works without running
> my permissions script. That's better than fooling with the permissions
> as I did. However I was able to copy the documents I wanted with my lame
> fix.

Perhaps googling gphoto2 and udev would give you the right formula.

-- 
Michael   hennebry at web.cs.ndsu.NoDak.edu
"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then."   --   John Woods


More information about the users mailing list