Canon Powershot Elph 310hs camera not automatically mounted

Archived topics about LMDE 1
Forum rules
robertb
Level 1
Level 1
Posts: 30
Joined: Sun May 22, 2011 9:36 pm

Canon Powershot Elph 310hs camera not automatically mounted

Postby robertb » Tue Nov 29, 2011 12:56 am

We recently bought a canon point-and-shoot camera. It has a USB interface. I was expecting that, when I plugged it into the computer, it would automount the camera. It did not do that.

I found this thread
and I used the gvfs-mount trick which allowed me to import the photos via f-spot.

This thread refers to another bug which indicates that there is a problem with the udev rule to mount cameras via libgphoto2/gphoto2 .

Does the above referenced bug exist in the LMDE Gnome version of Linux Mint? If so, is it worth it to hand-hack the udev rules file to fix this problem.

Thanks.

robertb
Level 1
Level 1
Posts: 30
Joined: Sun May 22, 2011 9:36 pm

Re: Canon Powershot Elph 310hs camera not automatically moun

Postby robertb » Sun Dec 04, 2011 12:02 pm

I found http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=625872. It appears that this problem has not been fixed.

I whipped up a script which mounts the camera until this gets fixed:

Code: Select all

#!/bin/bash
lsusb | grep Canon > /tmp/canon.lsusb
if [ -s /tmp/canon.lsusb ]; then
        sed -e 's%^Bus \(.*\) Device \([^:]*\).*%gvfs-mount "gphoto2://[usb:\1,\2]"%' /tmp/canon.lsusb \
                | sh -xv
else
        echo mount_canon: cannot find Canon device! 1>&2
fi
It seems that shotwell should work better than either gthumb or f-spot (maybe it uses libgphoto2 directly?) and that would be the best long-term solution.


Return to “Archive”

Who is online

Users browsing this forum: linux22 and 5 guests