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:
tryHi, all,
Since I get much from CLUG, I would share what I
Theretoday. Also, I want to get all the corrections and suggestions from CLUG on this topic.
I am using Cannon Powershot A70, usb interface.
is no A70 model from the gtKam by default withinRH9.
The reason I try to get the photos from A70 withliunx
websiteis 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
coz Cannon just ignores Linux. 2. Seaching google, find that gPhoto2 might beworking
for A70.one
3. Download one gz file: gphoto2-2.1.4.tar.gz, and
doc: gphoto2-manual-2.1.1dev4.pdf. I suggest thesetwo
are must to download.and
4. type su -, log in as root, decompress .gz file
tar xvf gphoto2-2.1.4.tar.gz. System working......there
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,
are so many files and folder within it. What hellcan
I go next step? 6. Don't issue any command, just go to read theGee,
download pdf file: gphoto2-manual-2.1.1dev4.pdf.
do I need to compile them? do I need to reconfiguremy
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, Idon't
need to anyting with recompile, reconfiguration,...options
8. Don't forget, I am still ROOT now.
9. After reading the pdf DOC, try some command
under root, like:interface
gphoto2 --list-ports // I can see the usb
nowcamera
gphoto2 --auto-detect //my camera is USB PTP Class
Camera
gphoto2 --summary // no, erro information.
gphoto2 --list-folders //great, I can see my
foldersall
gphoto2 --list-files //great, I can see all my pic
name listing there
gphoto2 --get-all-files //finally, I can download
pics from my digital camera to my linux box, evenit
Iis a challange then windows. gphoto2 --capture-preview //no, erro information.
10. Since I can not read pic from camera directly,
anyuse kuikshow to read the download pics on the harddisk. Still good to go. ;)
11. I must do something extra, coz I can not issue
gphoto2 command when I am a universal user( NOTROOT
user). Go to read DOC pdf file, it tells me how todo
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'tsupport
too.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
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

