From andrew@areilly.bpa.nu  Tue Dec 16 09:25:46 2008
Return-Path: <andrew@areilly.bpa.nu>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 238CD1065670
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Dec 2008 09:25:46 +0000 (UTC)
	(envelope-from andrew@areilly.bpa.nu)
Received: from nskntmtas01p.mx.bigpond.com (nskntmtas01p.mx.bigpond.com [61.9.168.137])
	by mx1.freebsd.org (Postfix) with ESMTP id A78C38FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 16 Dec 2008 09:25:45 +0000 (UTC)
	(envelope-from andrew@areilly.bpa.nu)
Received: from nskntotgx01p.mx.bigpond.com ([124.188.162.219])
          by nskntmtas01p.mx.bigpond.com with ESMTP
          id <20081216092541.FPVM6186.nskntmtas01p.mx.bigpond.com@nskntotgx01p.mx.bigpond.com>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Tue, 16 Dec 2008 09:25:41 +0000
Received: from areilly.bpa.nu ([124.188.162.219])
          by nskntotgx01p.mx.bigpond.com with ESMTP
          id <20081216092540.BTPB17478.nskntotgx01p.mx.bigpond.com@areilly.bpa.nu>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Tue, 16 Dec 2008 09:25:40 +0000
Received: (qmail 67855 invoked by uid 501); 16 Dec 2008 09:25:39 -0000
Message-Id: <20081216092539.67854.qmail@areilly.bpa.nu>
Date: 16 Dec 2008 09:25:39 -0000
From: Andrew Reilly <andrew@areilly.bpc-users.org>
Reply-To: Andrew Reilly <andrew@areilly.bpc-users.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: graphics/gphoto2 recognises but does not download from my camera over USB
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         129672
>Category:       ports
>Synopsis:       graphics/gphoto2 recognises but does not download from my camera over USB
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 16 09:30:02 UTC 2008
>Closed-Date:    Wed Dec 17 08:24:40 UTC 2008
>Last-Modified:  Wed Dec 17 08:24:40 UTC 2008
>Originator:     Andrew Reilly
>Release:        FreeBSD 7.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD duncan.reilly.home 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #40: Sat Dec 13 20:46:15 EST 2008 root@duncan.reilly.home:/usr/obj/usr/src/sys/DUNCAN amd64


	Machine is an Athlon64-X2 with 2G RAM.
>Description:
        Found that my new camera does not attach as a mass
        storage device, like my old one, so I can't just copy
        files off it.  System messages say the following, on
        connection:

Dec 16 19:48:01 duncan root: Unknown USB device: vendor 0x04b0 product 0x0422 bus uhub1
Dec 16 19:48:02 duncan kernel: ugen0: <NIKON NIKON DSC D700, class 0/0, rev 2.00/1.00, addr 3> on uhub1
        So, a bit of googling later, I discover gphoto2,
        which is in ports as graphics/gphoto2.  I installed
        that and gtkam (for good measure) and fired them up.
        Unfortunately gtkam didn't work, and gphoto2 didn't
        either, and suggested that I run it with debug options,
        which produced the attached trace.

>How-To-Repeat:
	gphoto2 -l
	produces:
                                                                               
*** Error ***              
PTP I/O error

*** Error ***              
An error occurred in the io-library ('Unspecified error'): No error description available
*** Error (-1: 'Unspecified error') ***       

For debugging messages, please use the --debug option.
Debugging messages may help finding a solution to your problem.
If you intend to send any error or debug messages to the gphoto
developer mailing list <gphoto-devel@lists.sourceforge.net>, please run
gphoto2 as follows:

    env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -l

Please make sure there is sufficient quoting around the arguments.

	The debug options mentioned produce the attached log.

>Fix:

        Not known yet: investigating, but thought I'd send a -pr
        flag up anyway.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Dec 16 09:30:12 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129672 
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Tue Dec 16 09:33:46 UTC 2008 
State-Changed-Why:  
Try running gphoto2 under root 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129672 
State-Changed-From-To: feedback->closed 
State-Changed-By: pav 
State-Changed-When: Wed Dec 17 08:24:29 UTC 2008 
State-Changed-Why:  
Confirmed to be a permission problem 

http://www.freebsd.org/cgi/query-pr.cgi?pr=129672 
>Unformatted:
