Share

gPhoto

Tracker: Bugs

5 Canon IXUS IIs can not download pictures - ID: 1790633
Last Update: Comment added ( marcusmeissner )

Downloading pictures from the Canon IXUS IIs stopped working around an
upgrade to libgphoto 2.4.0. Camera is dectected correctly with 'gphoto2
--auto-detect', but when running 'gphoto2 --get-all-files it reports an
Canon PowerShot SD110 Digital ELPH and *** Error (-114: 'OS error in camera
communication') ***

attached file shows the output of
env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --get-all-files

I'm running debian testing, kernel 2.6.22, and the following gphoto2
package versions:
ii gphoto2 2.3.1-5 The
gphoto2 digital camera command-line client
ii libgphoto2-2 2.4.0-2 gphoto2
digital camera library
ii libgphoto2-2-dev 2.4.0-2 gphoto2
digital camera library (development file
ii libgphoto2-port0 2.4.0-2 gphoto2
digital camera port library
ii libwine-gphoto2 0.9.41-1 Windows
API Implementation (Camera Module)

I hope this problem can be resolved quickly.

Regards,

Bert Haverkamp


Bert Haverkamp ( brjhaverkamp ) - 2007-09-08 11:59

5

Closed

Fixed

Marcus Meissner

None

None

Public


Comments ( 11 )

Date: 2008-10-20 06:50
Sender: marcusmeissnerProject Admin

should be all better in 2.4.3 now.


Date: 2007-11-27 13:35
Sender: shaiberger


I see the same problem with a Canon PowerShot A85.

Following Marcus' suggestion and Bert's success from September,
I also enlarged CANON_FAST_TIMEOUT to 750, and indeed it seems
to solve the problem.

I am using libgphoto2 from debian package libgphoto2-2 version 2.4.0-7.

Thanks,
Shai.


Date: 2007-10-04 15:21
Sender: denisram


The problem also occurs with a Canon G5 and Canon 350D (see
http://www.nabble.com/Canon-Digital-Rebel-XT-problems---any-resolution--t4502043.html)


Date: 2007-10-01 15:23
Sender: dominicba


I can confirm the error with a Canon Ixus 430


Date: 2007-09-30 18:16
Sender: brjhaverkamp


Small update: In debian package libgphoto2-2 2.4.0-2 I have the same
problem. I had to compile my own version again.
This time I set CANON_FAST_TIMEOUT to a more sensible 150ms. This works
fine. Same symptoms though:
first gphoto2 --get-all-files works fine
second gphoto2 --get-all-files fails with
Detected a 'Canon:PowerShot SD110 Digital ELPH'.
*** Error (-114: 'OS error in camera communication') ***
After camera reboot, it works again for one download cycle.

I don't know what the cause can be with the second try problem, but please
change the TIMEOUT from 75 to 150, as this improves things infinitely
times(from zero to one;-)

Bert


Date: 2007-09-16 17:59
Sender: brjhaverkamp


Hello Marcus,

I changed CANON_FAST_TIMEOUT to 750.
It improves things indeed. I can now download the files.
That is... only the first time after I connect the camera. The second
time, I get the same error as before. I then have to power off/power on the
camera and it works again for one round. This pattern has occured now for
about 5-7 times, so I think it is reliable.



Regards,

Bert



Date: 2007-09-09 17:46
Sender: marcusmeissnerProject Admin


if you can try larger values in
camlibs/canon/usb.c: #define CANON_FAST_TIMEOUT 75
please?


Date: 2007-09-09 10:31
Sender: abax


I have exactly the same problem with a Canon Powershot A520.
gphoto2 2.3.1 gcc, popt(m), exif, cdk, no aa, jpeg,
readline
libgphoto2 2.4.0 gcc, ltdl, EXIF
libgphoto2_port 0.8.0 gcc, ltdl, USB, serial without locking
Debian Linux 2.6.21-2-486 #1 Wed Jul 11 03:17:09 UTC 2007 i686 GNU/Linux


Date: 2007-09-09 06:38
Sender: brjhaverkamp


Hello hfiguiere,

I checked google for the SD110. And indeed, it looks very much like my
IXUS IIs.
So that solves that part;-)

Regarding the Error -114. I think it is a timing issue, looking at the
logfile.
However, this used to work flawlessly, and the problems started after an
upgrade.
I discovered that if I try often enough, I can _sometimes_ get access to
the camera, but it is a 1 in ~100 chance.


Date: 2007-09-08 18:43
Sender: hfiguiereProject Admin


> 1)In camlib/canon/canon.c the IXUS IIs and Powershot SD110 have the
same
USB ID.

That's because Canon market identical cameras with different names on
different market. So we have to list both. This change is totally
irrelevant.

The Error -114, I get it with my SD410.
If I try again right after it just work.


Date: 2007-09-08 14:04
Sender: brjhaverkamp


Did some investigation myself.
There appear to be two separate problems:
1)In camlib/canon/canon.c the IXUS IIs and Powershot SD110 have the same
USB ID.
2) After commenting out the SD110 in canon.c my problem still exists...
Same error:
Detected a 'Canon:Digital IXUS IIs'.
*** Error (-114: 'OS error in camera communication') ***
I didn't attach a new debug logfile. The information is identical, except
for the SD110 not being mentioned anymore.


Attached File ( 1 )

Filename Description Download
my-logfile.txt debug logfile Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2008-10-20 06:50 marcusmeissner
resolution_id None 2008-10-20 06:50 marcusmeissner
assigned_to nobody 2008-10-20 06:50 marcusmeissner
close_date - 2008-10-20 06:50 marcusmeissner
File Added 244716: my-logfile.txt 2007-09-08 11:59 brjhaverkamp