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


and


tar xvf gphoto2-2.1.4.tar.gz. System working......
after a little while, you will find a folder called
gphoto2-2.1.4 generated.
5. Go into this new folder and look around, gee,


there


are so many files and folder within it. What hell


can


I go next step? 6. Don't issue any command, just go to read the
download pdf file: gphoto2-manual-2.1.1dev4.pdf.


Gee,


do I need to compile them? do I need to reconfigure


my


system? do I need to ...? 7. NO, don't do anything. Just type in gphoto2.


Good,


I see gphoto2 options list jump out. Oh, yeah, I


don't


need to anyting with recompile, reconfiguration,...


8. Don't forget, I am still ROOT now.
9. After reading the pdf DOC, try some command


options


under root, like:
gphoto2 --list-ports // I can see the usb


interface


now
gphoto2 --auto-detect //my camera is USB PTP Class
Camera
gphoto2 --summary // no, erro information.
gphoto2 --list-folders //great, I can see my


camera


folders
gphoto2 --list-files //great, I can see all my pic
name listing there
gphoto2 --get-all-files //finally, I can download


all


pics from my digital camera to my linux box, even


it


is a challange then windows.
gphoto2 --capture-preview //no, erro information.

10. Since I can not read pic from camera directly,


I


use kuikshow to read the download pics on the
harddisk. Still good to go. ;)

11. I must do something extra, coz I can not issue


any


gphoto2 command when I am a universal user( NOT


ROOT


user). Go to read DOC pdf file, it tells me how to


do


it.

12. It looks like, gphoto2 can help me download pic


from digital camera, but not all of command options


good to use. My Cannon PowerShot A70 doesn't


support


couples of options.(see the errors arose as above)

I am thinking, is there any easier way then my
solution to read the pics from a universal model of
digital camera on Linux??? Beyand gPhoto2 is ok


too.


reno




                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca




_______________________________________________
clug-talk mailing list
[EMAIL PROTECTED]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca

Reply via email to