From owner-freebsd-questions@FreeBSD.ORG Thu Jan 19 10:29:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32639106566B for ; Thu, 19 Jan 2012 10:29:10 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-lpp01m010-f54.google.com (mail-lpp01m010-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id A5B048FC0A for ; Thu, 19 Jan 2012 10:29:09 +0000 (UTC) Received: by lahe6 with SMTP id e6so2025324lah.13 for ; Thu, 19 Jan 2012 02:29:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=bbuocQxxwbQoMOjgS8VZxGmPvUoJCCAzyUAHFlq2Bek=; b=iZmHCtUchbSsU/XxoNcsDdt0szkA6YVTzuuHV5y3u3xGKv1ZYKDNNaXADmGqhZCdIy ZnN4SQ5nXXz6NKFW1cXQvGkgESz5MmkFUvfGMKIHymKR2yJkFR09+21NDtsYCVTCDPwP fLtYIOftRHPa6u8pOr91n4t0UuhHgl9yuNuz0= Received: by 10.152.122.240 with SMTP id lv16mr10891122lab.34.1326968948428; Thu, 19 Jan 2012 02:29:08 -0800 (PST) Received: from Groseille.malikania.fr (197.21.102.84.rev.sfr.net. [84.102.21.197]) by mx.google.com with ESMTPS id oy18sm20750979lab.3.2012.01.19.02.29.06 (version=SSLv3 cipher=OTHER); Thu, 19 Jan 2012 02:29:07 -0800 (PST) Message-ID: <4F17F073.6070905@gmail.com> Date: Thu, 19 Jan 2012 11:29:07 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120114 Thunderbird/9.0 MIME-Version: 1.0 To: Polytropon References: <4F17C5EA.9020304@gmail.com> <20120119095940.37dfbe80.freebsd@edvax.de> In-Reply-To: <20120119095940.37dfbe80.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Extract photo from digital camera that is not USB mass storage device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2012 10:29:10 -0000 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: 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