From owner-freebsd-questions@FreeBSD.ORG Thu Sep 6 15:11:11 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2630A16A41A for ; Thu, 6 Sep 2007 15:11:11 +0000 (UTC) (envelope-from tuxgirl@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.freebsd.org (Postfix) with ESMTP id C824913C483 for ; Thu, 6 Sep 2007 15:11:10 +0000 (UTC) (envelope-from tuxgirl@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so129232nzf for ; Thu, 06 Sep 2007 08:11:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=DpaS5yCh6+/VUgt3ISu3APZyAuHyo9NFgP7pzs/UnXk=; b=ML+Q8JfZrxnRQuG0x3IR8A1m5SYnoYX7HDhYuTa5Fg8XluWv1lcgdZCIZq6nHLUCOwqkU+O7BWpXQy3GWHqLICZ3jVa0sZY3Z6lBYzVpt70wb4ZhsCsDNC9hcb75JqR0wk1TEZx8UUH1M/iDI+mk2Q5mZ6AlX1bzBhCzJ8SLTuw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=bMBmzxCpEGtH0cX+0NmAmO4fDxdYQh9U42kfvXMxzKXFZLdI6p33AkD77cabCbWegRq2fzONXUX3eApoDsHaJSwhT8J8/Y0zlZd7vVvpp7DCa/1VlXpYAEnxBcfQCpcxdbpSARiva8RiE3guvE38LanN3gcAGsvRB+U9i5Zm/10= Received: by 10.142.242.8 with SMTP id p8mr34496wfh.1189091460576; Thu, 06 Sep 2007 08:11:00 -0700 (PDT) Received: by 10.143.163.14 with HTTP; Thu, 6 Sep 2007 08:11:00 -0700 (PDT) Message-ID: <6e4453640709060811k46a13192hf68e50428b72a5d7@mail.gmail.com> Date: Thu, 6 Sep 2007 08:11:00 -0700 From: "Erin McNew" To: "Predrag Punosevac" , questions@freebsd.org In-Reply-To: <46DFA25F.7000504@math.arizona.edu> MIME-Version: 1.0 References: <6e4453640709052135k61dc4097nb79c03e4672e5489@mail.gmail.com> <46DFA25F.7000504@math.arizona.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Canon A620, FreeBSD and gphoto2 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, 06 Sep 2007 15:11:11 -0000 Thank you for the suggestions. I did try mounting the camera, but since I had to use gphoto2 in linux, I figured I'd probably need to do so in freebsd as well. It gave me the message saying it required a block device. I do not quite know what you mean about switching my camera to PTP mode. I did not need to do anything special under Linux, but I will google a bit to see what I can figure out related to that. I will look into your suggestions a bit more closely tonight when I get back home. If I'm understanding your explanation correctly, the fact that my camera is showing up as ugen0 instead of usb0 is not a problem, correct? Thanks! ~Erin On 9/5/07, Predrag Punosevac wrote: > > You should try to mount your camera manually first as > su - > password > mount_msdosfs /dev/ugen0 /mnt > > If you can not read the camera only then you should use gphoto2 but > logged as a supper user to avoid > permission problems. If that fails i.e. if you get the message BLOCK > DEVICE RECUIRED you > should try to use gphoto2. > > This is step by step for my Sony Cyber-Shot W70 > 1. Change into PTP mode on camera > 2. Go to su mode (this can be avoided but I left it so that my wife > cannot mess with it) > 3. gphoto2 --auto-detect will list your camera as Sony DSC-F707V (PTP > mode) usb: > 4. gphoto2 --help to get various commands > 5 gphoto2 --L will list all the files in numerical order > 6 gphoto2 --get-file=NUMBER Range (will get you files in that range) > 7 WARNING you may need to issue the commands some time multiple times > because > they fail. The following message is not uncommon > *** Error *** > > Note you might not need to go to PTP mode for your particular camera! > > If that fail then you can use cheap card reader which are well detected > by FreeBSD. > > There is an excellent thread that you can review > http://www.bsdforums.org/forums/showthread.php?t=12015&page=7&pp=15 > > maybe somebody left specific details for you camera but I think I gave > you a big push:-) > > Please let me know how it goes. > > Predrag > > > > Erin McNew wrote: > > I'm trying to get my Canon A620 camera to work with gphoto2 under > FreeBSD. > > > > dmesg is telling me that my camera is /dev/ugen0. > > > > [osiris temp] gphoto2 --list-ports > > Devices found: > > 2 > > Path Description > > -------------------------------------------------------------- > > ptpip: PTP/IP Connection > > usb: Universal Serial Bus > > > > [osiris temp] gphoto2 --port /dev/ugen0 -P > > *** Error *** > > An error occurred in the io-library ('I/O problem'): Failed to open > > '/dev/ugen0' (m). > > *** Error (-7: 'I/O problem') *** > > > > [osiris temp] gphoto2 -L > > > > 1 > > *** Error *** > > An error occurred in the io-library ('Bad parameters'): Could not find > USB > > device (vendor 0x4a9, product 0x30fc). Make sure this device is > connected to > > the computer. > > *** Error (-2: 'Bad parameters') *** > > > > I tried using --debug, but it didn't seem to give me that much more > detail, > > at least that I could understand. I also tried specifying the port as > "usb" > > and the camera as "Canon PowerShot A620 (PTP mode)" (as specified in > gphoto2 > > --list-cameras). None of this worked. Each gave me the "bad > parameters" > > error, which is slightly frustrating. > > > > I believe that this could be due to the fact that the camera is being > seen > > as ugen0 instead of usb. Is there a way to cause it to be seen as usb? > > > > Thanks! > > ~Erin > > > > > > > > > > -- http://www.tuxgirl.com