Difference between revisions of "Digital Cameras"

From ArchWiki
Jump to: navigation, search
m
m (Style, removed rawtherapee as it seems unrelated to libgphoto2)
Line 6: Line 6:
 
{{Article summary start}}
 
{{Article summary start}}
 
{{Article summary text|Infos on digital cameras support.}}
 
{{Article summary text|Infos on digital cameras support.}}
 +
{{Article summary heading|Related}}
 +
{{Article summary wiki|Jalbum}}: Freeware for creating professional albums/galleries.
 +
{{Article summary wiki|HCL/Digital Cameras}}: Partial list of supported cameras for gphoto2.
 
{{Article summary end}}
 
{{Article summary end}}
This article documents the configuration of {{ic|libgphoto2}} to access digital cameras. Some digital cameras will mount as normal [[USB Storage Devices]] and may not require the use of libgphoto2.
+
This article documents the configuration of {{ic|libgphoto2}} to access digital cameras. Some digital cameras will mount as normal [[USB Storage Devices|USB storage devices]] and may not require the use of libgphoto2.
  
 
{{Note|As of libgphoto2 version 2.14.13, users do not need to be part of the {{ic|camera}} group.}}
 
{{Note|As of libgphoto2 version 2.14.13, users do not need to be part of the {{ic|camera}} group.}}
  
==Libgphoto2==
+
== libgphoto2 ==
 +
 
 
[http://www.gphoto.org/proj/libgphoto2/ Libgphoto2] is the core library designed to allow access to digital cameras by external (front end) programs, such as Digikam and gphoto2. The current 'officially' supported cameras are [http://www.gphoto.org/proj/libgphoto2/support.php here] (though more may work).
 
[http://www.gphoto.org/proj/libgphoto2/ Libgphoto2] is the core library designed to allow access to digital cameras by external (front end) programs, such as Digikam and gphoto2. The current 'officially' supported cameras are [http://www.gphoto.org/proj/libgphoto2/support.php here] (though more may work).
 
   
 
   
===Installation and Configuration===
+
=== Installation ===
Core library:
+
# pacman -S libgphoto2
+
  
(Optional) [http://en.wikipedia.org/wiki/GVFS gvfs] (for Nautilus integration):
+
[[pacman|Install]] {{Pkg|libgphoto2}} from the [[official repositories]], and optionally {{Pkg|gvfs-gphoto2}} for Nautilus integration and {{Pkg|gphoto2}} to have a command line interface.
# pacman -S gvfs-gphoto2
+
  
(Optional) Command line interface:
+
=== Permission issues ===
# pacman -S gphoto2
+
 
+
===Permission issues===
+
  
 
Users with a local session have permissions granted for cameras using [[Wikipedia:Access control list|ACLs]]. See [[General Troubleshooting#Session permissions]] if it does not work.
 
Users with a local session have permissions granted for cameras using [[Wikipedia:Access control list|ACLs]]. See [[General Troubleshooting#Session permissions]] if it does not work.
Line 35: Line 33:
  
 
If the camera is not present in any [[udev]] rule, can check vendor and product id and add it. To check it just run:
 
If the camera is not present in any [[udev]] rule, can check vendor and product id and add it. To check it just run:
# lsusb
+
 
 +
{{hc|# lsusb|
 
  ...
 
  ...
 
  Bus 001 Device 005: ID 04a9:318e Canon, Inc.
 
  Bus 001 Device 005: ID 04a9:318e Canon, Inc.
 
  ...
 
  ...
 +
}}
  
==GPhoto2 Usage==
+
=== GPhoto2 usage ===
GPhoto2 is a command line client for libgphoto2. GPhoto2 allows access to the libgpohoto2 library from a terminal or from a script shell to perform any camera operation that can be done. This is the main user interface.  
+
 
 +
GPhoto2 is a command line client for libgphoto2. GPhoto2 allows access to the libgphoto2 library from a terminal or from a script shell to perform any camera operation that can be done. This is the main user interface.  
  
 
GPhoto2 also provides convenient debugging features for camera driver developers.
 
GPhoto2 also provides convenient debugging features for camera driver developers.
Line 55: Line 56:
 
* {{ic|gphoto2 --shell}}
 
* {{ic|gphoto2 --shell}}
  
==Frontend (external) Applications for GPhoto2==
+
==== Other frontend applications for libgphoto2 ====
*[http://www.gphoto.org/proj/gphotofs/ gphotofs] - allow using cameras with any tool able to read from a mounted filesystem.
+
*[http://www.rawtherapee.com/ RawTherapee]
+
*[http://darktable.org/ darktable]
+
*[[Digikam]]
+
*[http://f-spot.org/ F-Spot]
+
*[http://live.gnome.org/gthumb Gthumb]
+
*[http://www.gphoto.org/proj/gtkam/ GTKam]
+
  
==Miscellaneous Troubleshooting==
+
* [http://www.gphoto.org/proj/gphotofs/ gphotofs] - allow using cameras with any tool able to read from a mounted filesystem.
===Groups===
+
* [http://darktable.org/ darktable]
Make sure that the user to which access should be granted is part of the [[Users and Groups#Groups|storage group]].
+
* [[Digikam]]
 +
* [http://f-spot.org/ F-Spot]
 +
* [http://live.gnome.org/gthumb Gthumb]
 +
* [http://www.gphoto.org/proj/gtkam/ GTKam]
  
==Wiki Articles Relating to Photo/Cameras==
+
== Troubleshooting ==
*[[Jalbum]] - Freeware for creating professional albums/galleries.
+
 
*[[HCL/Digital Cameras]] - Partial list of supported cameras for gphoto2
+
=== Groups ===
 +
 
 +
Make sure that the user to which access should be granted is part of the [[Users and Groups#Groups|storage group]].

Revision as of 10:10, 3 June 2013

Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki: Freeware for creating professional albums/galleries. Template:Article summary wiki: Partial list of supported cameras for gphoto2. Template:Article summary end This article documents the configuration of libgphoto2 to access digital cameras. Some digital cameras will mount as normal USB storage devices and may not require the use of libgphoto2.

Note: As of libgphoto2 version 2.14.13, users do not need to be part of the camera group.

libgphoto2

Libgphoto2 is the core library designed to allow access to digital cameras by external (front end) programs, such as Digikam and gphoto2. The current 'officially' supported cameras are here (though more may work).

Installation

Install libgphoto2 from the official repositories, and optionally gvfs-gphoto2 for Nautilus integration and gphoto2 to have a command line interface.

Permission issues

Users with a local session have permissions granted for cameras using ACLs. See General Troubleshooting#Session permissions if it does not work.

If you want these permissions to work for remote (SSH) sessions too, you can use the old 'camera' group, by adding the requisite users to the deprecated camera group and create a new udev rules file as follows:

# /usr/lib/libgphoto2/print-camera-list udev-rules version 175 group camera > /etc/udev/rules.d/40-gphoto.rules

These rules will use the group for newly added camera devices.

If the camera is not present in any udev rule, can check vendor and product id and add it. To check it just run:

# lsusb
 ...
 Bus 001 Device 005: ID 04a9:318e Canon, Inc.
 ...

GPhoto2 usage

GPhoto2 is a command line client for libgphoto2. GPhoto2 allows access to the libgphoto2 library from a terminal or from a script shell to perform any camera operation that can be done. This is the main user interface.

GPhoto2 also provides convenient debugging features for camera driver developers.

Quick Commands

  • gphoto2 --list-ports
  • gphoto2 --auto-detect
  • gphoto2 --summary
  • gphoto2 --list-files
  • gphoto2 --get-all-files

For advanced file manipulation, use

  • gphoto2 --shell

Other frontend applications for libgphoto2

Troubleshooting

Groups

Make sure that the user to which access should be granted is part of the storage group.