16.2. Accessing the Camera

There are three possibilities for accessing the pictures on the camera. It depends on your camera and which protocol it supports. Usually it is USB mass storage, which is handled by the hotplug system, PTP (Picture Transfer Protocol), and some proprietary protocols by gphoto2.

The easiest way is if your camera supports USB mass storage. Read the documentation of your camera if you are unsure if this is possible. Some support two protocols, like both PTP and USB mass storage. Unfortunately, there are also some that communicate with a proprietary protocol, which can complicate the tasks. If your camera does not support USB mass storage or PTP, the following descriptions will not work. Try gphoto2 --list-cameras and the information at http://www.gphoto.org/.

If your camera can be switched to a USB mass storage device, select this option. After you connect it with the USB port of your computer and turn it on, it is detected by the hotplug system. This takes care of mounting the device automatically, so it is easily accessible. The KDE desktop shows a camera icon after a successful mount.

After the camera is successfully mounted, see a new directory under /media, beginning with usb and lots of numbers. Each vendor and product has a number, so when you connect a device on your computer it has always the same name. Depending on what you have connected to the USB bus, find different entries. The only problem left is to find the correct entry for your camera. Try to list one of these directories and see what happens. Each camera has a different tree structure, so there is no general rule. If you can see JPEG files in a directory, you probably found it.

After you find your correct directory, you can copy, move, or delete the files of your camera with a file manager like Konqueror or simple shell commands (see Section 19.3, “Important Linux Commands” and the Administration Guide).


SUSE LINUX User Guide 9.3