Debian Bug report logs - #760096
gphoto2: Fails to initialize CanonPowerShot G5 after upgrade from stable

version graph

Package: gphoto2; Maintainer for gphoto2 is Debian PhotoTools Maintainers <[email protected]>; Source for gphoto2 is src:gphoto2 (PTS, buildd, popcon).

Reported by: Helge Kreutzmann <[email protected]>

Date: Sun, 31 Aug 2014 18:21:01 UTC

Severity: important

Found in version gphoto2/2.5.4-1

Full log


Message #15 received at [email protected] (full text, mbox, reply):

Received: (at 760096) by bugs.debian.org; 26 Jul 2016 14:04:59 +0000
From [email protected] Tue Jul 26 14:04:59 2016
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-9.0 required=4.0 tests=BAYES_00,DIGITS_LETTERS,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FOURLA,FREEMAIL_FROM,HAS_BUG_NUMBER,
	HELO_DYNAMIC_IPADDR,PGPSIGNATURE,RCVD_IN_DNSWL_NONE autolearn=ham
	autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 40; hammy, 150; neutral, 184; spammy,
	0. spammytokens: hammytokens:0.000-+--H*c:pgp-sha512,
	0.000-+--H*c:pgp-signature, 0.000-+--H*c:protocol, 0.000-+--H*c:micalg,
	0.000-+--H*c:signed
Return-path: <[email protected]>
Received: from saul0002-67.ig.correio.biz ([177.153.28.67] helo=relay-177.153.28.67.ig.com.br)
	by buxtehude.debian.org with esmtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1bS2yg-0001M2-Ma
	for [email protected]; Tue, 26 Jul 2016 14:04:58 +0000
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=1385155620.ig; d=ig.com.br;
 h=Message-ID:Subject:From:To:Date:In-Reply-To:References:Content-Type:Mime-Version;
 bh=wKc3JBJgyWINYKhXiwc8f926x3I=;
 b=m0Qn28CXWTftSpi5/AkOtdTX2bBYknKxmahe8S9XosORQBYJsl2tT5M2WP+1Um9lvGzZ7AJuUlLL
   Byjr3viZyIaY7ic7xPLR9na+fv1SgGLpos4c/LXqewA3/WJvwXc/1UGeX82TCwkU+Jj1a+ACaUjp
   FbDugvp0ph7VO04K7LM=
Received: from saul0002.ig.correio.biz (127.0.0.1) by ig.com.br id hitn0k1oqj85 for <[email protected]>; Tue, 26 Jul 2016 11:04:48 -0300 (envelope-from <[email protected]>)
Received: from skyler0002.ig.correio.biz (skyler0002.ig.correio.biz [10.30.248.9])
	by saul0002.ig.correio.biz (Postfix) with ESMTP id C6C119C2027;
	Tue, 26 Jul 2016 11:04:45 -0300 (BRT)
x-ig-id: xBXJQksCwHp4Lr0HP9DTZ4RqB5JuVM0djsml8yyNO1yzrX38r-AqOisqgb63tBoevUfrIHQnj4ITW1fQ0tnf8V4RTrrO8H4xZPb1QbZOY2folCr_ZxTCVBpnWN8i7Uci-0ttrYPhsPcKIeLio7o_T-30zMrqBDyOcgo151lYHbK1Hw3LWZknSkd_vizjPPqs Njg3MDY2NmU0MDY5NjcyZTYzNmY2ZDJlNjI3Mg==
x-ig-id: xBXJQksCwHp4Lr0HP9DTZ4RqB5JuVM0djsml8yyNO1yzrX38r-AqOisqgb63tBoevUfrIHQnj4ITW1fQ0tnf8V4RTrrO8H4xZPb1QbZOY2folCr_ZxTCVBpnWN8i7Uci-0ttrYPhsPcKIeLio7o_T-30zMrqBDyOcgo151lYHbK1Hw3LWZknSkd_vizjPPqs Njg3MDY2NmU0MDY5NjcyZTYzNmY2ZDJlNjI3Mg==
Received: from debian-free (unknown [177.142.127.158])
	(Authenticated sender: [email protected])
	by skyler0002.ig.correio.biz (Postfix) with ESMTPA id A7B4C150008E;
	Tue, 26 Jul 2016 11:04:45 -0300 (BRT)
Message-ID: <[email protected]>
Subject: Re: [Pkg-phototools-devel] Bug#760096: Acknowledgement (gphoto2:
 Fails to initialize CanonPowerShot G5 after upgrade from stable)
From: Herbert Fortes <[email protected]>
To: Helge Kreutzmann <[email protected]>, [email protected]
Date: Tue, 26 Jul 2016 11:04:30 -0300
In-Reply-To: <20160726101343.GA13219@Debian-50-lenny-64-minimal>
References: <20140831181844.GA10923@Debian-50-lenny-64-minimal>
	
 <[email protected]>
	 <20160726101343.GA13219@Debian-50-lenny-64-minimal>
Content-Type: multipart/signed; micalg="pgp-sha512";
	protocol="application/pgp-signature"; boundary="=-6OyyqXnurT4VIFTCj7w/"
X-Mailer: Evolution 3.20.3-1 
Mime-Version: 1.0
[Message part 1 (text/plain, inline)]
Hi Helge,

Thanks to stopping by.

Em Ter, 2016-07-26 às 12:13 +0200, Helge Kreutzmann escreveu:
> Hello,
> my stable machine died and I set up a testing machine having version
> 2.5.10-1.
> 
> However, gphoto2 does work even less: now the camera is not detected.
> When I plug it in, I see (in /var/log/syslog):
> 
> Jul 26 12:09:21 samd kernel: [11905.608945] usb 11-3: new full-speed USB device number 3 using ohci-pci
> Jul 26 12:09:22 samd kernel: [11905.780175] usb 11-3: New USB device found, idVendor=04a9, idProduct=3085
> Jul 26 12:09:22 samd kernel: [11905.780182] usb 11-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> Jul 26 12:09:22 samd kernel: [11905.780187] usb 11-3: Product: Canon Digital Camera
> Jul 26 12:09:22 samd kernel: [11905.780191] usb 11-3: Manufacturer: Canon Inc.
> Jul 26 12:09:22 samd mtp-probe: checking bus 11, device 3: "/sys/devices/pci0000:00/0000:00:16.0/usb11/11-3"
> Jul 26 12:09:22 samd mtp-probe: bus: 11, device: 3 was not an MTP device
> 
> However, gphoto2 does not see it, running
> env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt -L
> yields:
> *** Fehler ***
> Konnte keine Kamera finden
> *** Fehler (-105: »Unbekanntes Modell«) ***
> 
> (In english: Error, could not find a camera, error (-104, "unknown model")).
> 
> It worked in 2.4.x, however, I'm no longer able to (trivially) forward port 
> this version :-((
> 
> The log file is attached, any idea how to rectify this greatly
> appreciated.

A quick 'grep' shows that the camera is supported:
./libgphoto2/camlibs/canon/doc/Protocol.xml:            <row><entry>PowerShot G5</entry><entry>02-May-03</entry><entry>yes</entry></row>
./libgphoto2/camlibs/canon/doc/Protocol.xml:	  as the product ID, which is correct for the PowerShot G5.</para>
./libgphoto2/camlibs/canon/canon.c:        {"Canon:PowerShot G5 (normal mode)", CANON_CLASS_5,     0x04A9, 0x3085, CAP_SUP, SL_MOVIE_LARGE, SL_THUMB, SL_PICTURE, NULL},
./libgphoto2/camlibs/ptp2/library.c:	{"Canon:PowerShot G5 (PTP mode)",       0x04a9, 0x3085, PTPBUG_DELETE_SENDS_EVENT|PTP_CAP|PTP_CAP_PREVIEW},

Can you tell me which mode (normal/PTP) did you use ? 

Can you set '--camera MODEL' and see what happens ? It 
will necessary to use '--port' too. 

"--list-cameras" (List supported camera models.) and
"--list-ports" (List supported port devices) can be
a help.



regards,
-- Herbert Parentes Fortes Neto (hpfn)
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 11:46:12 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.