Penguin
Diff: DigitalCameraSetup
EditPageHistoryDiffInfoLikePages

Differences between current version and predecessor to the previous major change of DigitalCameraSetup.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 17 Last edited on Monday, August 8, 2005 8:15:46 am by JohnMcPherson
Older page: version 12 Last edited on Monday, October 25, 2004 1:51:49 pm by AristotlePagaltzis Revert
@@ -1,38 +1,49 @@
 This page attempts to describe how to get your DigitalCamera working under Linux. 
  
-!Software 
+!! !Software  
+  
+!!Front-end applications  
 Linux Frontend software for transfering pictures off cameras: 
 * [gphoto2|http://gphoto.sourceforge.net/] (the "main" software, it has all the low-level libraries and a CLI) 
-* gtkam ([GNOME] or [GTK]-only front-end to the gphoto2 libraries) 
+* __ gtkam__ ([GNOME] or [GTK]-only front-end to the gphoto2 libraries) 
 * [gthumb|http://gthumb.sourceforge.net/] - a GNOME thumbnail previewer that has the ability to import photos (using the gphoto2 libraries) 
 * kamera ([KDE] front-end to gphoto2, also allows you to use a camera:// URI in konqueror) 
-* [GIMP] 1.2 and later - if gphoto2 is installed (or the more specifically the gphoto gimp-plugin), you can use File -> Acquire 
+* [GIMP] 1.2 and later - if gphoto2 is installed (or the more specifically the gphoto2 gimp-plugin), you can use File -> Acquire  
+  
  
 These programs have [Debian] packages of the same name - I would guess [RPM]-based distros do too. 
  
-You can also "mount" many cameras onto your filesystem, so that the contents look like a normal directory. See the "mass-storage" notes below. 
+  
+ You can also "mount" some cameras onto your filesystem, so that the contents look like a normal directory. See the "mass-storage" notes below.  
+  
+!!Back-end 'automatic mounting' setup  
+* For [USB] devices, you can use HotPlug to automatically run something when a certain USB device is connected. This could either run one of the above photo-transfering programs, or it could mount the flash card onto your filesystem. If your distribution doesn't do this automatically, look at our HotPlugNotes page to see how to set this up manually.  
+*  
+[GNOME] (2.6 and later) have __gnome-volume-manager__, which will automatically launch a program (defaults to gthumb) when a camera is attached to the computer. On Debian Sarge or Ubuntu, installed the 'gnome-volume-manager' package - note that the script only allows people in the 'camera' group to use the connected camera, so make sure your user is in this group.  
+  
  
 ---- 
-!Notes/Trouble-shooting 
+!! !Notes/Trouble-shooting 
 * Almost all "recent" cameras use [USB], so make sure you have the correct USB support in your kernel (this seems fairly likely). 
 * See HotPlug for information on setting up using [USB] devices with linux. 
-* After the camera is setup as a USB device, there are two main ways the picture contents can be read: __USB Mass Storage__, or __PTP__.  
-**USB Mass Storage may not be compatibe if your system has Hotplug USB support setup properly, but the Camera is not emulated as a SCSI sevice. See the Mass-Storage Device notes below for details how compatible cameras function under this protocol.  
-** Also, many " recent" cameras (such as the Kodak DX series) use the Picture Transfer Protocol (PTP), which [gphoto2|http://www.gphoto.org/] supports. A list of comaptible devices can be found at [http://www.gphoto.org/proj/libgphoto2/support.php|http://www.gphoto.org/proj/libgphoto2/support.php] as of August 8, 2004. 
+* After the camera is setup as a USB device, there are two main ways the picture contents can be read: __USB Mass Storage__, or __PTP__. (gphoto2 also supports some other camera-specific/non-standard protocols.)  
+**USB Mass Storage may not be compatible if your system has Hotplug USB support setup properly and the Camera is not emulated as a SCSI sevice. See the Mass-Storage Device notes below for details how compatible cameras function under this protocol.  
+** Also, many recent cameras (such as the Kodak DX series) use the Picture Transfer Protocol (PTP), which [gphoto2|http://www.gphoto.org/] supports. A list of comaptible devices can be found at [http://www.gphoto.org/proj/libgphoto2/support.php|http://www.gphoto.org/proj/libgphoto2/support.php] as of August 8, 2004. 
 **Some other cameras might require kernel support for their own protocols, if neither of the above two methods work. 
  
  
 The Kodak DX3900 and DX4900, unlike the other DX cameras, don't allow uploading files from your computer to the camera - you get a write error. 
-(see [faq item1 |http://faqs.kodak.com/Digital _Cameras_English /dml _fetch.pl?CompanyID=101&ContentID=9708&FaqID=4104] and  
-[faq item2|http://faqs.kodak.com/Digital _Cameras_English/dml_fetch .pl?CompanyID=101&ContentID=19957&FaqID=8248 ].) 
+(see [kodak faq item |http://faqs.kodak.com/101 _en /FAQ _27 _7376 .shtm ].) 
 ---- 
 There are two main ways to read (and write) files from (and to) a digital camera: using __gphoto2__, or accessing the raw filesystem as a __mass-storage__ device. 
  
 ---- 
 !!GPhoto2 
  
-These are pretty generic instructions, using a __Kodak CX4230__ as an example). 
+The __gphoto2__ libraries can access many different cameras, via different connection methods (such as via a [USB] port, or a serial port, or a parallel port).  
+  
+There are several programs that are front-ends to this library - these are listed above. These instructions are for the __gphoto2__ command line application, and these are pretty generic instructions, using a __Kodak CX4230__ as an example). 
  
 You need to load the USB modules (not sure which ones, I have them built in), assuming you have a USB camera, of course. 
  
 Under Debian, you can 
@@ -69,12 +80,29 @@
  
 ---- 
 !!Mass-Storage device 
  
-If you have a camera not supported by gphoto, you can probably still mount it as a USB drive. (Note that in Linux, the USB Mass storage support also requires SCSI emulation support.) 
+If you have a camera not supported by gphoto, you can probably still mount it as a USB drive. (The [ USB] page has notes on setting up Mass Storage support.) 
  
-Under a stock RedHat just plug it in and check what it got detected as;  
+The following makes and models of cameras are known to have USB mass-storage support:  
+* Casio (QV 2x00/3x00/4000/8000)  
+* ~FinePix (19400,2400,4700 Zoom, 1300, 2800 Zoom, 4500)  
+* HP (~PhotoSmart 315, 618, 912)  
+* Leica (Digilux 4.3)  
+* Kyocera (Finecam s3)  
+* Konica (KD300, Revio C2*)  
+* Minolta (Dimage 7)  
+* Nikon (Coolpix 995, Coolpix 2000*, Coolpix 2500, D70)  
+* Olympus (C1, C-100, C-200Z, C-700, C-860L, C-2040, C-3040Z, D-510, E-10)  
+* Samsung (Digimax V4)  
+* Sony (DSC-F505(V), DSC P5, DSC-F707)  
  
+~* Note - requires manually adjusting some settings on the camera first. The Nikon can use either PTP mode (use gphoto2/gthumb above) or USB Mass storage: go into the "Setup" menu, then "USB", then choose either PTP or Mass Storage.  
+  
+(Please add any other mass-storage cameras to this page. This list originally based on information at http://aamot.org/ole/photography.html.)  
+  
+Under a stock RedHat just plug it in and check what it got detected as;  
+<verbatim>  
  #dmesg 
  ~~~ 
  USB Mass Storage device found at 4 
  SCSI device sda: 14528 512-byte hdwr sectors (7 MB) 
@@ -84,12 +112,13 @@
  #cdrecord --scanbus 
  ~~~ 
  0,0,0 0) 'CONCORD ' 'DIGITAL CAMERA ' '1.00' Removable Disk 
  ~~~ 
-  
+</verbatim>  
 then mount it (make sure the /mnt/usbfs directory or whereever you decide to mount it exists): 
+<verbatim>  
  #mount /dev/sda1 /mnt/usbfs 
-  
+</verbatim>  
 (A good place to mount the device would be the /media/camera directory, although you will need to create the directory if it isn't already there). 
  
 Your piccies will appear somewhere under this directory and you can copy, move, delete them like any other filesystem. 
  
@@ -110,9 +139,9 @@
  
 I have a CD burner so I already have the SCSI emulation compiled into my kernel (or as modules). The only extra SCSI module I needed is the SCSI Disk driver (sd_mod.o). I also had Mass Storage support (usb-storage.o) and the USB virtual filesystem support. 
  
 After connecting my camera to the USBus, a quick 'dmesg' showed that the camera had been detected. I loaded the usb-storage driver and the SCSI disk driver. I confirmed that it had been picked up as an emulated SCSI device by: 
-  
+<verbatim>  
  $ cat /proc/scsi/usb-storage-0/1 
  Host scsi1: usb-storage 
  Vendor: SAMSUNG 
  Product: DIGIMAX V4 
@@ -120,15 +149,15 @@
  Protocol: 8070i 
  Transport: Bulk 
  GUID: 083910090000000000000000 
  Attached: Yes 
-  
+</verbatim>  
 Also, /dev/sda1 appeared. 
  
 To mount the filesystem on the camera's SD card, I simply: 
-  
+<verbatim>  
  $ mount -t msdos /dev/sda1 /mnt/usbfs 
-  
+</verbatim>  
 And voila! 
  
 I think that was all. The hardest part was working out what drivers I needed. 
 ----