Abstract
libgphoto2
identifies a camera by two values: the
port it is connected to
and the name of the
camera.
How these may be specified is discussed in this chapter.
are named like
serial:/dev/ttyS2
if you want to use the serial device
/dev/ttyS2
.
As USB works with auto detection, you do not have to specify a device
file. Therefore you just use the gphoto2 port
usb:
.
The port used is stored in
~/.gphoto/settings
, so you won't have
to specify it the second time you run your frontend, if
you're still using the same port.
The model name of the camera does not have to be specified when using
the usb:
port.
Otherwise you can specify a camera model like
Canon PowerShot G2
.
You will be better off choosing the model from
the list of supported models rather than just trying to type
your camera model.
alice@host:~$
gphoto2
--camera
"
Canon PowerShot G2
"--list-files
The camera used is stored in
~/.gphoto/settings
, so you won't have
to specify it the second time you run your frontend, if
you're still using the same camera.