Shell Person Help me keep the shell people alive.

21Apr/100

Mounting Canon PowerShot A590

First I should note that I assume GNOME or KDE probably does a great job automounting the Canon PowerShot A590, or at least getting the pictures off of it. Not having GNOME or KDE, however, I'd like to do it from the command line.

Lots of cameras will automatically be recognized as USB mass-storage devices. If this is your camera, great. Just find the camera with "fdisk -l" (as root), and mount it. Then use it like any other mounted drive. Unfortunately, The PowerShot A590 does not work that way (I think it may use PTP - Photo Transfer Protocol). For these kinds of devices, "fdisk -l" yields nothing. You can, however, see that the system took note of the camera if you look at /var/log/messages

Apr 21 11:28:42 tv kernel: [ 8006.701357] usb 6-2: new high speed USB device using ehci_hcd and address 6
Apr 21 11:28:42 tv kernel: [ 8006.839278] usb 6-2: configuration #1 chosen from 1 choice
Apr 21 11:28:42 tv kernel: [ 8006.842357] usb 6-2: New USB device found, idVendor=04a9, idProduct=3176
Apr 21 11:28:42 tv kernel: [ 8006.842357] usb 6-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Apr 21 11:28:42 tv kernel: [ 8006.842357] usb 6-2: Product: Canon Digital Camera
Apr 21 11:28:42 tv kernel: [ 8006.842357] usb 6-2: Manufacturer: Canon Inc.
Apr 21 11:28:42 tv kernel: [ 8006.842357] usb 6-2: SerialNumber: 9CA872EC36E04292B3602599D62AC848

I had heard of gphoto2, so I did an apt-cache search to see what was available.