Comment 2 for bug 337990

Revision history for this message
b (ben-ekran) wrote : gphoto capture-image not working in ubuntu? (intrepid)

Hey all,

I've been developing on my lenny machine for my Canon S5 IS camera.

Things have been working well (except for the awkward udev stuff).

I wanted to run my application on my eeepc laptop (ubuntu intrepid) when
I got this error when I try to do an image capture, set-config
capture=on works fine:

$ gphoto2 --set-config capture=on
 value on, t 1

No event yet, we'll try later.

$ gphoto2 --capture-image

*** Error ***
Canon Capture failed: 2019
ERROR: Could not capture.
*** Error (-1: 'Unspecified error') ***

So I thought it was a buggy gphoto ubuntu package (reported as bug
#337990
), and compiled gphoto and libghoto 2.4.4 from source.

Problem is that the same error happens! :(

I've tried 2.4.2, 2.4.3 and 2.4.4 in packages and compiled from source
on two different ubuntu machines.

I really need to be able to use my app with the laptop, and would rather
not reinstall it with debian (though I may need to).

Attached is the gphoto logfile.

Please let me know what I can do to debug this issue.

Since it works in lenny, with the same version of gphoto/libgphoto it
must be something else. Here are the libs ldd listed libs for ubuntu:

 linux-gate.so.1 => (0xb7f3d000)
 libcdk.so.5 => /usr/lib/libcdk.so.5 (0xb7ed1000)
 libncurses.so.5 => /lib/libncurses.so.5 (0xb7ea1000)
 libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb7e81000)
 libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7e68000)
 libreadline.so.5 => /lib/libreadline.so.5 (0xb7e37000)
 libgphoto2.so.2 => /usr/lib/libgphoto2.so.2 (0xb7dbb000)
 libgphoto2_port.so.0 => /usr/lib/libgphoto2_port.so.0 (0xb7db1000)
 libexif.so.12 => /usr/lib/libexif.so.12 (0xb7d87000)
 libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7d61000)
 libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0xb7d58000)
 libpopt.so.0 => /lib/libpopt.so.0 (0xb7d4e000)
 libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7bf0000)
 libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7beb000)
 /lib/ld-linux.so.2 (0xb7f23000)
 libltdl.so.7 => /usr/lib/libltdl.so.7 (0xb7be2000)

and lenny:

 linux-gate.so.1 => (0xf7f09000)
 libcdk.so.5 => /usr/lib/libcdk.so.5 (0xf7eb2000)
 libncurses.so.5 => /lib/libncurses.so.5 (0xf7e7f000)
 libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xf7e5f000)
 libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xf7e46000)
 libreadline.so.5 => /lib/libreadline.so.5 (0xf7e14000)
 libgphoto2.so.2 => /usr/lib/libgphoto2.so.2 (0xf7d9a000)
 libgphoto2_port.so.0 => /usr/lib/libgphoto2_port.so.0 (0xf7d92000)
 libexif.so.12 => /usr/lib/libexif.so.12 (0xf7d68000)
 libm.so.6 => /lib/i686/cmov/libm.so.6 (0xf7d42000)
 libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0xf7d3a000)
 libpopt.so.0 => /lib/libpopt.so.0 (0xf7d31000)
 libc.so.6 => /lib/i686/cmov/libc.so.6 (0xf7bd0000)
 libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xf7bcc000)
 /lib/ld-linux.so.2 (0xf7f0a000)
 libltdl.so.3 => /usr/lib/libltdl.so.3 (0xf7bc4000)

Let me know what else I can do to debug.
.b.