Difference between revisions of "Digital camera"

From Linuxintro
Line 26: Line 26:
 
  gphoto2 --get-all-files
 
  gphoto2 --get-all-files
  
= TroubleShooting =
+
Hehe. You know, this is actually my dream for SQL Server to make it OS aoisgtnc and the actual idea for this post was born around 3 years ago when I started to try to get SQL 2005 client tools such as SSMS installed on my Linux desktop. I *have* actually got a version of the .NET framework running within WINE (1.1 I believe) after following very specific guidelines from somewhere, but I think there are probably too many hurdles to get the SQL Client and/ or SQL Engine running right now even if .NET 3.5 was possible.Trust me you haven't been the only one fooled and I really appreciate you dropping by!
 
 
'''Symptom:''' When trying to mount your camera, you get  
 
mount: unknown filesystem type 'vfat'
 
 
 
'''Reason:''' Your kernel does not have vfat support compiled in nor does it have vfat compiled as a module. The following shows how it should look like:
 
 
 
# cat /proc/filesystems | grep vfat
 
        vfat
 
# lsmod | grep vfat
 
vfat                  11752  1
 
fat                    53592  1 vfat
 
  # zcat /proc/config.gz | grep -i fat
 
# DOS/FAT/NT Filesystems
 
CONFIG_FAT_FS=m
 
CONFIG_VFAT_FS=m
 
CONFIG_FAT_DEFAULT_CODEPAGE=437
 
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
 
 
 
'''Solution:''' Install a kernel with vfat support, best use the one from your distribution. SUSE Linux 11.1 is known to work.
 
  
 
= rescue pics from SD card =
 
= rescue pics from SD card =
 
[http://www.cgsecurity.org/wiki/PhotoRec photorec] is contained in the package "testdisk"
 
[http://www.cgsecurity.org/wiki/PhotoRec photorec] is contained in the package "testdisk"

Revision as of 18:07, 21 March 2012


Tutorial Factbox

Time to replay 20 min
Example Distro SUSE Linux 11.1
<html>Type</html> Howto

This article is about how you can use digital cameras that have a USB connection with Linux. There are two types of digital cameras: mass storage cameras and PTP cameras. With mass storage devices you connect the camera via USB and can read the photographs as if the camera was a USB hard disk. With PTP cameras, you need software to read the pictures. On most cameras, you can switch if you want to use them as PTP or mass storage cameras. In both cases, you can pull out the storage chip and use it in e.g. and SD-card-reader which will behave like a USB disk. This article uses SUSE Linux 11.1 as example, but it should work same or similar on every Linux distribution.

Find out what you have

In your digital camera's menu, try to find the menu item that makes the distinction between your camera acting as mass storage USB device and PTP device. Set it to the mass storage option. If you do not find the item and are still unsure which type of camera you have, you will have to try both options, PTP and mass storage.

TYVM you've solved all my proeblms

PTP cameras

If you have a PTP USB digital camera, you can get all its pictures transferred with gphoto2. To install and run it, open a console and type

mkdir photos
cd photos
sudo yast -i gphoto2
gphoto2 --get-all-files

Hehe. You know, this is actually my dream for SQL Server to make it OS aoisgtnc and the actual idea for this post was born around 3 years ago when I started to try to get SQL 2005 client tools such as SSMS installed on my Linux desktop. I *have* actually got a version of the .NET framework running within WINE (1.1 I believe) after following very specific guidelines from somewhere, but I think there are probably too many hurdles to get the SQL Client and/ or SQL Engine running right now even if .NET 3.5 was possible.Trust me you haven't been the only one fooled and I really appreciate you dropping by!

rescue pics from SD card

photorec is contained in the package "testdisk"