Extract photo from digital camera that is not USB mass storage device

David Demelier demelier.david at gmail.com
Thu Jan 19 10:29:10 UTC 2012


On 19/01/2012 09:59, Polytropon wrote:
> On Thu, 19 Jan 2012 08:27:38 +0100, David Demelier wrote:
>> Hello,
>>
>> I've bought a new digital camera Canon IXUS 220, it works well (but
>> nothing to do with FreeBSD). But I've been very sad when I saw that I
>> can't set it to mass storage device
>>
>> The device can only be used as PTP device I guess, that's why I don't
>> have any da* device when I connect it.
>>
>> ugen7.2:<Canon Inc.>  at usbus7
>>
>> What can I do to copy photo without extracting the SD card each time,
>> does gphoto (or something similar) support this kind of generic device?
>
> If the camera supports PTP, use a gphoto2 (CLI program)
> or a GUI tool that uses it (e. g. Gtkam for Gnome,
> Digikam for KDE).
>
> You'll find them in the ports collection.
>
> Also check the menu of the camera if it can be switched
> between PTP mode and DA mode. I have a Canon S3 IS myself
> and it can do both modes, but I prefer extracting the
> memory card and using it with the internal reader of the
> computer instead of messing with the USB cable. :-)
>
> In the past, I had a camera that worked very well with
> gphoto2. It did identify to the system as ugen (USB
> generic), no further messages appeared.
>
> See "man gphoto2" on how to scan for devices and how to
> copy (and maybe delete) pictures from the camera. You
> can also automate this process (using devd) or use a
> GUI solution for it. I've been using Gtkam in the past
> for the task of selectively dealing with pictures.
>
>

Thanks a lot, I used gphoto, at the beginning it didn't found the device 
because of lack of permissions. I've just added some rules in devfs to 
use it as normal user and it works !

add path 'usb/*' mode 0660 group operator

thanks for gtkam, it looks great :)

-- 
David Demelier


More information about the freebsd-questions mailing list