Having trouble with Canon Camera. Won't Mount.

Hi there,

I’m trying to get photos off my Canon PowerShot SD1100 IS but while Device Notifier pops up telling me I’ve attached a canon, and I can see it when I run lsusb, It’s not actually being mounted anywhere, or creating a device for itself to be mounted with…

I plug the camera in to the computer while it’s still off, and I turn it off again before disconnecting (As I’ve heard this is the proper way to do this.) but I am still not getting a device.

I’ve also tried the following advice (Although I’m obviously on openSUSE not Ubuntu).
Ubuntu Forums - View Single Post - Unable to mount camera or import digital pictures
Which leaves me with the following:

matt@matt:~> ls /dev > unplugged.txt
matt@matt:~> ls /dev > plugged.txt
matt@matt:~> sort plugged.txt unplugged.txt | uniq -u
matt@matt:~> 

And the output from lsusb:

matt@matt:~> lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 008: ID 04a9:3184 Canon, Inc. Digital IXUS 80 IS (PTP mode)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c068 Logitech, Inc. 
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

The last bit of information I can think to provide is to say that this camera is a “PTP” camera. I also have gphoto2 installed.

Other information:

OpenSUSE 11.3
KDE 4.6 RC 2

Thanks so much for the help,
Matt

I had the same problem with my girlfriend’s Canon. I didn’t try to access it via photo management software, just a simple mount to be able to transfer files. My conclusion was that Canon modified the file structure through their firmware, probably to force use of their proprietary software. I gave up and bought a USB card reader for her. I’m not happy with the solution as she takes a LOT of photos and I fear continued pulling and insertion of the card will cause problems in the future. Then again cameras don’t last very long these days.

Oof. That’s disconcerting. I have a dual-boot setup, so maybe I’ll boot into Windows, copy the files there, and then grab them back from OpenSUSE. Not the most elegant solution either, but if it works, it works.

I am curious to know whether it mounts properly under WinDoze without starting up any photo management software. Please post your findings so other Canon users can benefit from your efforts.

Thanks.

Can’t it be set to data transfer mode (where it works as common storage), instead of the proprietary connect mode? Most cameras do.

@LostChild1: The KDE device notifier tries to handle cameras with a photo management app (as ionmich has already mentioned). However, if you have the ‘gphoto’ package installed, you can do a very simple

gphoto2 --auto-detect

to see if your camera is supported. If all is well, change to the directory you want to download to, then type

gphoto2 --get-all-files

to download all the photos.

More info to get you started:

man gphoto2

Download digital camera photos with gphoto2 | WiredRevolution.com

PTP cameras (most or all of them these days) are not mounted as USB storage. You run a photo app such as digikam to fetch the photos.

Too add to this discussion, I have just updated to KDE4.5.95, and it is possible to teach KDE4 about your camera (if it is supported) via PTP

System Settings > Digital Camera

From memory there is a similar config tool with KDE4.4.4.

I have a Canon Powershot A1000 that is not in the list, but I will try selecting some similar models and test with that. (It should then be possible to use the Dolphin file manager).

There’s always the generic PTP camera entry you can try.

There’s always the generic PTP camera entry you can try.

Yes, I was just trying to find that…

The generic ‘USB PTP Class Camera’ setting worked for me (during the test)

If I launch dolphin as root with

kdesu dolphin

then type

camera:/

it works well, but I haven’t managed to get this working as a regular user yet without errors:

Unknown error
Unknown model

It’s got to do with the udev rules which are generated from the libgphoto2 XML data. Try editing /usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2 to add your camera’s USB IDs and then regenerating /etc/udev/rules.d/60-camera.rules.

Sorry to just be getting back to you now.

Anyway, I booted into Windows, plugged the camera in, it recognized it and gave me “AutoPlay” options, from which I just said to “Open Folder to View Files”, I copied and pasted into any random folder, booted back into Linux and grabbed my folder from there. Worked like a charm. :slight_smile:

It’s got to do with the udev rules which are generated from the libgphoto2 XML data. Try editing /usr/share/hal/fdi/information/20thirdparty/10-camera-libgphoto2 to add your camera’s USB IDs and then regenerating /etc/udev/rules.d/60-camera.rules.

Actually, I had no udev rules associated with the camera, although they can be genrated via the gphoto2 utility if required.

For reference, check out gphoto manual. Editing 10-camera-libgphoto2.fdi (with chipset details etc) did not assist in getting the camera recognised either.

However, after an upgrade to KDE4.6, I now seem to be able to view files with Dolphin (with camera:/)

This action (for device notifier) can be configured via System Settings > Device Actions

I have these actions defined for my camera:

Open with File Manager Camera (which uses command kioclient exec camera:/)
Download Photos with Gwenview Camera (which launches gwenview with gwenview_importer camera:/)

So now, (even though my Canon camera only behaves as a PTP device), I can browse the files with Dolphin if preferred. Hope this helps others.