Comment 7 for bug 158119

Revision history for this message
Jonas Christian (jonasvp) wrote :

I had a similar problem with a Canon IXUS 500/Powershot S500, it would hang on picture import and I could not get capture to work. My solution was to remove it from the list of cameras that the canon driver would feel responsible for. The PTP2-driver of libgphoto2 would then take over and work perfectly.

I'm attaching the patch that worked for me. Maybe an IXUS 30 would only need a similar patch, removing the lines pertaining to that model.

Step by step:
- install build-essential and libltdl3-dev
- get the source: apt-get source libgphoto2-port0
- patch canon.c
- ./configure --disable-nls; make; make install

I got errors while compiling, "--disable-nls" fixed that. The new library is installed under /usr/local/lib, I used
  export LD_LIBRARY_PATH=/usr/local/lib:/usr/lib
in order to use it. Good luck.