From owner-freebsd-questions@FreeBSD.ORG Tue May 18 09:16:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37EFE16A54A for ; Tue, 18 May 2004 09:15:59 -0700 (PDT) Received: from mail.infinitebubble.com (pia140-70.pioneernet.net [66.114.140.70]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D67643D1D for ; Tue, 18 May 2004 09:15:42 -0700 (PDT) (envelope-from jason@infinitebubble.com) Received: from infinitebubble.com (mail2.bastyr.edu [204.203.216.252]) by mail.infinitebubble.com (Postfix) with ESMTP id 8FE0935273; Tue, 18 May 2004 09:15:40 -0700 (PDT) Message-ID: <40AA36A6.2060004@infinitebubble.com> Date: Tue, 18 May 2004 09:15:34 -0700 From: Jason Taylor User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Jeays References: <200405172050.45546.ben@spooty.net> <40A947B6.3050102@infinitebubble.com> <1084849352.10631.54.camel@chaucer> <200405180909.41418.ben@spooty.net> <1084879863.10631.61.camel@chaucer> In-Reply-To: <1084879863.10631.61.camel@chaucer> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org cc: Ben Paley Subject: Re: mounting usb camera - no /dev/da* !!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 16:16:00 -0000 Mike Jeays wrote: > On Tue, 2004-05-18 at 04:09, Ben Paley wrote: > >>On Tuesday 18 May 2004 04:02, Mike Jeays wrote: >> >>>On Mon, 2004-05-17 at 19:16, Jason Taylor wrote: >>> >>>>I have a similar situation with a Cannon Powershot A40. I can't mount >>>>it, but gphoto is able to access it. I had to modify a config file or >>>>two in order for the ugen devices to be created writable by anyone other >>>>than root. Sorry, I don't have access to that box at the moment or I'd >>>>offer something a bit more concrete. >> >>gphoto2 turns out to work fine, thanks very much! I wonder why Digikam doesn't >>work, then? >> >> >>>I have a Canon Powershot A70, and the same problem. I bought a SanDisk >>>card reader, and it works perfectly with a Compact Flash card that has >>>been used in the A70. It can be mounted as >>>mount -t msdos /dev/da0s1 /mnt >> >>This may turn out to be the easiest thing in the long run: certainly my wife >>and kids aren't going to want to learn a CLI for getting at their snaps. I >>guess it's either a) buy a cardreader, b) get Digikam to work or c) something >>else I don't know about yet. >> >>Thanks for both your help, >>Ben > > > My trivial shell-script called "getphotos" does what I need, with the > appropriate entry in /etc/fstab, of course. If you called it from a > desktop icon, it should meet the "wife and even quite young kids" > standard - with absolutely no disrespect intended to your wife and/or > kids! And I am quite sure several people will point out how to simplify > the script. > > #!/bin/sh > mount /flash > find /flash/dcim -name "*.jpg" >/tmp/photos.txt > x1=`cat /tmp/photos.txt` > for f in $x1 > do > cp $x1 ~/pics/Raw/ > done > cd ~/pics/Raw > chown mike * > chmod -x * > umount /flash gtkam is a GUI front-end for gphoto. I added an entry to /etc/usb.conf to launch gtkam when the camera is connected. Honestly, I've only tried it once since setting it all up, but it worked wonderfully that one time.