Hi, Jeff,
Yes, I did put 502 here. That's the typo in my last
email. Sorry about that.
Here is a segment of my fstab information:
...
none /proc proc defaults 0 0
none /proc/bus/usb usbfs devuid=0,devgid=502,de
vmode=0660 0 0
...
whatever I comment out the first line or not, the
result is the same. There is no any error output after
I follow whatever the step you showed me.
But there are some error output when I issue the
gphoto2 command with option under a non-root username,
like reno.
The error output followed:
$ gphoto2 --list-files //first time
Segmentation fault
$ gphoto2 --list-files //second time
*** Error ***
PTP Protocol error, data expected
*** Error ***
An error occurred in the io-library ('Unspecified
error'): The supplied vendor or product id (0x0,0x0)
is not valid.
*** Error ('Unspecified error') ***
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 <[EMAIL PROTECTED]>,
please run
gphoto2 as follows:
env LANG=C gphoto2 --debug --list-files
Please make sure there is sufficient quoting around
the arguments.
I can issue the command: gphoto2 --list-folders.
I can not issue the command gphoto2 --list-files. And,
I could not issue anyother gphoto2 command option
after I once got one error output. I have to turn off
and turn on my A70 for list folders.
Thanks,
Reno
> I should have specified that my group file was just
> a sample. Yours
> will be different. My usb group ID is 1002 so I
> would add:
>
> none /proc/bus/usb usbfs
> devuid=0,devgid=1002,devmode=0660 0 0
>
> Yours is 502 so you should add the following to
> fstab:
>
> none /proc/bus/usb usbfs
> devuid=0,devgid=502,devmode=0660 0 0
> Then unmount / remount /proc/bus/usb and it should
> hopefully work.
>
> If it doesn't work perhaps some output would be
> handy.
>
> Good luck,
> Jeff
>
>
> Reno L wrote:
>
> >Hi, Jeff,
> >thank you for your information. I failed to make it
>
> >
> >
> >
> >> $ cat /etc/group | grep usb
> >> usb:*:1002:jsc
> >>
> >>
> >My output:
> >cat /etc/group | grep usb
> >usb:x:502:reno
> >
> >I can make a group usb which contains user reno and
> >the group ID is 502
> >
> >
> >
> >>Become root now. Then we
> >>modify fstab to mount
> >>usbfs owned by that group. Basicall comment out
> the
> >>line in /etc/fstab
> >>that has /proc/bus/usb in it (by adding a # sign
> to
> >>it) and add this line:
> >>
> >> none /proc/bus/usb usbfs
> >>devuid=0,devgid=1002,devmode=0660 0 0
> >>
> >>
> >
> >There is no /proc/bus/usb within my /etc/fstab
> file,
> >instead, there is:
> >none /proc proc defaults 0 0
> >I comment out it.
> >I add:
> >none /proc/bus/usb usbfs
> >devuid=0,devgid=1002,devmode=0660 0 0
> >
> >within the /etc/fstab.
> >
> >
> >
> >>And now unmount and remount /proc/bus/usb with:
> >>
> >> $ umount /proc/bus/usb
> >> $ mount /proc/bus/usb
> >>
> >>
> >Yes, I did these two.
> >
> >
> >
> >>And now you can run gphoto2 as non-root users.
> >>
> >>
> >unfortunately, I could not run gphoto2 with user
> name
> >reno.
> >
> >I am not sure if different distro will have the
> >different outcome.
> >
> >Regards,
> >
> >Reno
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >>Also related. The Canon digicams set an exif flag
> >>with image
> >>orientation that causes *some* programs to
> >>automatically rotate portrait
> >>pics. The keyword is *some*. I find it rather
> >>annoying that not all
> >>of the programs honour this so, for example, it is
> >>portrait in kuikshow
> >>but landscape in gimp. There is a neat program
> >>called jhead (google it
> >>if you don't have it) that will rotate all the
> >>images according to that
> >>exif flag and remove the flag. It'll also rename
> >>your files to
> >>something more useful like the date and time the
> >>photo was taken.
> >>
> >>I do the following when I want to pull the photos
> >>under Linux:
> >>
> >> $ gphoto -P
> >> $ jhead -n"%Y%m%d-%H%M%S" -autorot -ft *.JPG
> >>
> >>Hope that helps a bit.
> >>
> >>Jeff
> >>
> >>Reno L wrote:
> >>
> >>
> >>
> >>>Hi, all,
> >>>
> >>>Since I get much from CLUG, I would share what I
> >>>
> >>>
> >>try
> >>
> >>
> >>>today. Also, I want to get all the corrections
> and
> >>>suggestions from CLUG on this topic.
> >>>
> >>>I am using Cannon Powershot A70, usb interface.
> >>>
> >>>
> >>There
> >>
> >>
> >>>is no A70 model from the gtKam by default within
> >>>
> >>>
> >>RH9.
> >>
> >>
> >>>The reason I try to get the photos from A70 with
> >>>
> >>>
> >>liunx
> >>
> >>
> >>>is I was tired of Windows(coz it is so easy to
> get
> >>>photos...;).
> >>>
> >>>The following is my path:
> >>>1. Failed to locate linux driver from Cannon
> >>>
> >>>
> >>website
> >>
> >>
> >>>coz Cannon just ignores Linux.
> >>>2. Seaching google, find that gPhoto2 might be
> >>>
> >>>
> >>working
> >>
> >>
> >>>for A70.
> >>>3. Download one gz file: gphoto2-2.1.4.tar.gz,
> and
> >>>
> >>>
> >>one
> >>
> >>
> >>>doc: gphoto2-manual-2.1.1dev4.pdf. I suggest
> these
> >>>
> >>>
> >>two
> >>
> >>
> >>>are must to download.
> >>>4. type su -, log in as root, decompress .gz file
>
=== message truncated ===
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca