Bug 167347 - Canon IXUS 700 support
Canon IXUS 700 support
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gphoto2 (Show other bugs)
4
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Radek Vokal
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-09-01 16:10 EDT by Clément MATHIEU
Modified: 2007-11-30 17:11 EST (History)
2 users (show)

See Also:
Fixed In Version: 2.1.99-13
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-05-29 07:34:12 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Patch against libgphoto (740 bytes, patch)
2005-09-01 16:14 EDT, Clément MATHIEU
no flags Details | Diff
debug output with canon ixus 700 and gphoto2-2.1.99-10 (24.40 KB, text/plain)
2006-04-15 05:25 EDT, Daniel Qarras
no flags Details

  None (edit)
Description Clément MATHIEU 2005-09-01 16:10:46 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6

Description of problem:
Canon ixus cameras have two transfert protocols, PTP and "another one than USB mass storage". gphoto2 implements them both but only PTP works. The second one is know to be broken [1]

Gphoto2 tries to autodetect camera by alphabetic order. And as you can see from the output of "gphoto2 --list-camera" 

     "Canon Digital IXUS 700 (normal mode)" (EXPERIMENTAL)
     "Canon Digital IXUS 700 (PTP mode)"

the broken protocol comes before the working one, so the autodetect feature can't be used (read gthumb does not work).

[1] http://sourceforge.net/mailarchive/forum.php?thread_id=7953860&forum_id=32960 for the most recent message.


Version-Release number of selected component (if applicable):
gphoto2-2.1.6-1

How reproducible:
Always

Steps to Reproduce:
1. Plug the camera
2. gphoto2 --list-file
3. read the error message about lock key
  

Actual Results:  In short photos cannot be retrieved. You get an error message like this one:

*** Erreur (-114: 'OS error in camera communication') ***


Additional info:

A trivial patch is to remove the broken protocol from libgphoto2, the camera will be detected as a normal PTP camera and will be supported.

Canon IXUS 700 is also known as PowerShot SD500 or IXY Digital 60
Comment 1 Clément MATHIEU 2005-09-01 16:14:12 EDT
Created attachment 118367 [details]
Patch against libgphoto

I have rebuild the RPM with this patch applied and all is working fine !
Comment 2 Radek Vokal 2006-01-08 11:09:13 EST
Can you please retest your issue with gphoto2-2.1.99 from rawhide? 
Comment 3 Radek Vokal 2006-02-08 04:32:30 EST
I believe this is fixed in rawhide. 
Comment 4 Clément MATHIEU 2006-02-08 05:31:11 EST
Sorry for the delay but I missed your previous comment.

I just tested gphoto2 on a FC2t5 and it seems the bug hasn't been fixed

# rpm -qa | grep gphoto2
gphoto2-2.1.99-5

# env LANG=C gphoto2 --auto-detect
Model                          Port
----------------------------------------------------------
Canon Digital IXUS 700 (normal mode) usb:

# env LANG=C gphoto2 -P
Detected a 'Canon:PowerShot SD500 (normal mode)'.

*** Error ***
lock keys failed.
*** Error (-114: 'OS error in camera communication') ***

# env LANG=C gphoto2 --camera "USB PTP Class Camera" --port "usb:" -P
Downloading 'IMG_3941.JPG' from folder '/store_00010001/DCIM/639CANON'...
Saving file as IMG_3941.JPG

Normal mode is still the default mode and still does not work, so you will be
unable to import photos using gthumb.

I can attach a full debug log if needed.

Thanks
Comment 5 Daniel Qarras 2006-04-15 05:24:09 EDT
I am having the problem with my Canon IXUS 700. I tried both gphoto2-2.1.99-8
and gphoto2-2.1.99-10 to no avail. I'll attached debug output generated with:

env LANG=C gphoto2 --debug --summary

I'll gladly test new gphoto2 RPMs if needed.

Thanks.
Comment 6 Daniel Qarras 2006-04-15 05:25:23 EDT
Created attachment 127774 [details]
debug output with canon ixus 700 and gphoto2-2.1.99-10
Comment 7 Daniel Qarras 2006-04-17 17:10:19 EDT
More information! Ixus 700 must use PTP mode. I got this info from gphoto2 list.
See
http://sourceforge.net/mailarchive/forum.php?thread_id=10181609&forum_id=32960
for more.

But, as said, even the latest RPM does not work yet at the moment.
Comment 8 Marcus Meissner 2006-04-19 02:42:51 EDT
you need to remove all 3 occurences of the USB id pair, not just 1. (the line 
above and below) 
Comment 9 Marcus Meissner 2006-04-19 02:43:17 EDT
you need to remove all 3 occurences of the USB id pair, not just 1. (the line 
above and below) 
Comment 10 Daniel Qarras 2006-05-29 04:54:07 EDT
So what's the status with this? All information needed should be available to
roll out a package containing needed fixes. Thanks.
Comment 11 Clément MATHIEU 2006-05-29 05:25:07 EDT
Still does not work out of box.

For IXUS 700 patch #1 is needed. I'm running this patch since one year...

Others IXUS probably need the same kind of patch but I only own an IXUS 700 so I
can't tell if it is needed or working...

I can test new package if needed.
Comment 12 Radek Vokal 2006-05-29 07:34:12 EDT
Ok, I've remmoved Ixus 700 in gphoto2-2.1.99-13. Can you please retest this
package? Thanks
Comment 13 Clément MATHIEU 2006-05-29 11:05:54 EDT
Probably stupid question but Where can I find gphoto2-2.1.99-13 ?

In /pub/fedora/linux/core/development/i386/os/Fedora/RPMS on
download.fedora.redhat.com only -12 is available not -13.

Thanks
Comment 14 Radek Vokal 2006-05-29 11:17:55 EDT
Just give it some time to synchronise. It went through build system and will
appear there really soon. 
Comment 15 Daniel Qarras 2006-05-31 12:36:53 EDT
I am happy to confirm that with gphoto2-2.1.99-13 my Canon IXUS 700 works now
all ok!

Thanks!

Note You need to log in before you can comment on or make changes to this bug.