Today i need to download some of the picture from my digital camera-Canon A75. I’ve done this before using gphoto but at that time its quite troublesome for gphoto to detect my camera. I havent install gphoto yet so I run the following command

pkg_add -r gphoto2

Before this usually I install all the package from ports but because of the slower internet line here I just install the binary package. After 3 minutes the gphoto2 is installed.

Then I plug the camera to the usb port. When I run tail -f /var/log/messages it detect the camera.


Dec 23 15:45:23 gasing2 kernel: ugen0: Canon Inc. Canon Digital Camera, rev 1.10/0.01, addr 2

To see wether the gphoto2 can detect your camera run the following command

[dean@gasing2 /home/dean]# gphoto2 -l
Detected a 'Canon:PowerShot A75'.
There are 2 folders in folder '/':
- DCIM
- MISC

There are 4 folders in folder '/DCIM':
- 125CANON
- 126CANON
- 127CANON
- CANONMSC

There are no folders in folder '/DCIM/125CANON'.
There are no folders in folder '/DCIM/126CANON'.
There are no folders in folder '/DCIM/127CANON'.
There are no folders in folder '/DCIM/CANONMSC'.
There are no folders in folder '/MISC'.
[dean@gasing2 /home/dean]#

From the output it can detect my camera. What I like about gphoto2 is you can actually open a shell mode. Just run this command


[dean@gasing2 /home/dean]# gphoto2 --shell
gphoto2: {/usr/home/dean} />

The command that can be use in shell mode is just like ftp command. You can cd,ls,lcd,get and few other command. For the unpatient you can issue this command to download all the file to your computer

[dean@gasing2 /home/dean]# gphoto2 -P

The gphoto2 package has improve so much compare to couple years ago. Hope thats help.