Capture error - EOS 5Dsr

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Capture error - EOS 5Dsr

Daniel Muller, jednatel SourcePaint s.r.o.
Hi everybody including Marcus,
I have issues using ligphoto2 with this Canon 5DSR ..
It very often loses connection or part of commuication while doing various things..

Attached, is a log of one of them during the capture image..
I have no idea, how to fix this kind of issue. I was thinking maybe it is in libusb..

I am running  4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

I have built (lib)gphoto 2.5.10 ..
the libusb packages hat i have (or don't) - if the information is useful anyhow..

ii  libusb-0.1-4:amd64                              2:0.1.12-27                  amd64                        userspace USB programming library
ii  libusb-1.0-0:amd64                              2:1.0.19-1                   amd64                        userspace USB programming library
ii  libusb-1.0-0:i386                               2:1.0.19-1                   i386                         userspace USB programming library
ii  libusb-1.0-0-dev:amd64                          2:1.0.19-1                   amd64                        userspace USB programming library development files
ii  libusb-1.0-doc                                  2:1.0.19-1                   all                          documentation for userspace USB programming
ii  libusb-dev                                      2:0.1.12-27                  amd64                        userspace USB programming library development files
un  libusbmuxd-tools                                <none>                       <none>                       (no description available)
ii  libusbmuxd2:amd64                               1.0.9-1build1                amd64                        USB multiplexor daemon for iPhone and iPod Touch devices - library

Any ideas what it is?
Any ideas how to get more relevant info?
Any ideas what to try?

Thanks

Daniel

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Gphoto-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

capture_error.log (722K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Capture error - EOS 5Dsr

Marcus Meissner-4
On Wed, Apr 13, 2016 at 11:20:36AM +0200, Daniel Muller, jednatel SourcePaint s.r.o. wrote:

> Hi everybody including Marcus,
> I have issues using ligphoto2 with this Canon 5DSR ..
> It very often loses connection or part of commuication while doing various
> things..
>
> Attached, is a log of one of them during the capture image..
> I have no idea, how to fix this kind of issue. I was thinking maybe it is
> in libusb..
>
> I am running  4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016
> x86_64 x86_64 x86_64 GNU/Linux
>
> I have built (lib)gphoto 2.5.10 ..
> the libusb packages hat i have (or don't) - if the information is useful
> anyhow..
>
> 0.000216 main                        (2): libgphoto2 2.5.8

you are still using libgphoto2 2.5.8 though ...

The busy at the end signals we had a hickup during capture, like loss of focus
or something.

2.5.9 and 2.5.10 improve on the capture method for the newer EOS cameras, so it
is worth trying them.

Ciao, Marcus

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Gphoto-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel
Reply | Threaded
Open this post in threaded view
|

Re: Capture error - EOS 5Dsr

Daniel Muller, jednatel SourcePaint s.r.o.
Allright, sorry, I have not noticed that 2.5.8 is still in use..
F**k, the whole ubuntu depends on the on old version..
Let's try to set LD_LIBRARY_PATH CAMLIBS and IOLIBS..
It seems like 2.5.10 now. I cropped the log before the downloading..
Just to note, those communication errors seem not to be specific to capture, though, they often happen during capture..
I hope this log would show, where is the issue..

Thanks and sorry for the previous useless log..



Daniel Muller, MSc. Ing d'Ecole Centrale Paris
jednatel SourcePaint s.r.o.
Tel: +420 739 384848
IC: 02313014
DIC: CZ02313014


On Wed, Apr 13, 2016 at 9:12 PM, Marcus Meissner <[hidden email]> wrote:
On Wed, Apr 13, 2016 at 11:20:36AM +0200, Daniel Muller, jednatel SourcePaint s.r.o. wrote:
> Hi everybody including Marcus,
> I have issues using ligphoto2 with this Canon 5DSR ..
> It very often loses connection or part of commuication while doing various
> things..
>
> Attached, is a log of one of them during the capture image..
> I have no idea, how to fix this kind of issue. I was thinking maybe it is
> in libusb..
>
> I am running  4.2.0-35-generic #40-Ubuntu SMP Tue Mar 15 22:15:45 UTC 2016
> x86_64 x86_64 x86_64 GNU/Linux
>
> I have built (lib)gphoto 2.5.10 ..
> the libusb packages hat i have (or don't) - if the information is useful
> anyhow..
>
> 0.000216 main                        (2): libgphoto2 2.5.8

you are still using libgphoto2 2.5.8 though ...

The busy at the end signals we had a hickup during capture, like loss of focus
or something.

2.5.9 and 2.5.10 improve on the capture method for the newer EOS cameras, so it
is worth trying them.

Ciao, Marcus


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Gphoto-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

canon5dsr_2.5.10.log (509K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Capture error - EOS 5Dsr

Marcus Meissner-4
On Thu, Apr 14, 2016 at 09:40:12AM +0200, Daniel Muller, jednatel SourcePaint s.r.o. wrote:
> Allright, sorry, I have not noticed that 2.5.8 is still in use..
> F**k, the whole ubuntu depends on the on old version..
> Let's try to set LD_LIBRARY_PATH CAMLIBS and IOLIBS..
> It seems like 2.5.10 now. I cropped the log before the downloading..
> Just to note, those communication errors seem not to be specific to
> capture, though, they often happen during capture..
> I hope this log would show, where is the issue..


 
....
> 0.399095 camera_canon_eos_capture    (2): detected manual focus. skipping focus detection logic

> 0.399119 ptp_usb_sendreq             (2): Sending PTP_OC 0x9128 (PTP_OC_CANON_EOS_RemoteReleaseOn) request...
> 0.399129 gp_port_write               (3): Writing 20 = 0x14 bytes to port...
> 0.399174 gp_port_write               (3): Wrote   20 = 0x14 bytes to port: (hexdump of 20 bytes)
> 0000  14 00 00 00 01 00 28 91-1b 00 00 00 01 00 00 00  ......(.........
> 0010  00 00 00 00            -                         ....            
>
> 0.399185 ptp_usb_getresp             (2): Reading PTP_OC 0x9128 (PTP_OC_CANON_EOS_RemoteReleaseOn) response...
> 0.399195 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
> 0.417560 gp_port_read                (3): Read    16 = 0x10 out of 1024 bytes from port: (hexdump of 16 bytes)
> 0000  10 00 00 00 03 00 01 20-1b 00 00 00 00 00 00 00  ....... ........
We (emulate) pressing the shutter button down half way.
 

> 0.417620 ptp_usb_sendreq             (2): Sending PTP_OC 0x9116 (PTP_OC_CANON_EOS_GetEvent) request...
> 0.417640 gp_port_write               (3): Writing 12 = 0xc bytes to port...
> 0.417686 gp_port_write               (3): Wrote   12 = 0xc bytes to port: (hexdump of 12 bytes)
> 0000  0c 00 00 00 01 00 16 91-1c 00 00 00              ............    
>
> 0.417707 ptp_usb_getdata             (2): Reading PTP_OC 0x9116 (PTP_OC_CANON_EOS_GetEvent) data...
> 0.417723 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
> 0.425995 gp_port_read                (3): Read    20 = 0x14 out of 1024 bytes from port: (hexdump of 20 bytes)
> 0000  14 00 00 00 02 00 16 91-1c 00 00 00 08 00 00 00  ................
> 0010  00 00 00 00            -                         ....            
>
> 0.426051 ptp_usb_getresp             (2): Reading PTP_OC 0x9116 (PTP_OC_CANON_EOS_GetEvent) response...
> 0.426069 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
> 0.426999 gp_port_read                (3): Read    12 = 0xc out of 1024 bytes from port: (hexdump of 12 bytes)
> 0000  0c 00 00 00 03 00 01 20-1c 00 00 00              ....... ....    
And here we emulate pressing the shutter button fully, right afterwards.

> 0.427044 ptp_usb_sendreq             (2): Sending PTP_OC 0x9128 (PTP_OC_CANON_EOS_RemoteReleaseOn) request...
> 0.427055 gp_port_write               (3): Writing 20 = 0x14 bytes to port...
> 0.427092 gp_port_write               (3): Wrote   20 = 0x14 bytes to port: (hexdump of 20 bytes)
> 0000  14 00 00 00 01 00 28 91-1d 00 00 00 02 00 00 00  ......(.........
> 0010  00 00 00 00            -                         ....            
>
> 0.427106 ptp_usb_getresp             (2): Reading PTP_OC 0x9128 (PTP_OC_CANON_EOS_RemoteReleaseOn) response...
> 0.427115 gp_port_read                (3): Reading 1024 = 0x400 bytes from port...
> 20.427211 gp_libusb1_read [libusb1.c:571](0): 'libusb_bulk_transfer (port->pl->dh, port->settings.usb.inep, (unsigned char*)bytes, size, &curread, port->timeout)' failed: Operation timed out (-7)
> 20.427271 gp_port_read [gphoto2-port.c:437](0): Reading 1024 = 0x400 bytes from port failed: Timeout reading from or writing to the port (-10)
> 20.427292 ptp_usb_getresp [usb.c:438] (0): PTP_OC 0x9128 receiving resp failed: PTP I/O Error (0x02ff)
> 20.427314 camera_canon_eos_capture [library.c:3150](0): 'ptp_canon_eos_remotereleaseon (params, 2, 0)' failed: Canon EOS Full-Press failed (0x02ff: PTP I/O Error)
> 20.427332 gp_context_error            (0): Canon EOS Full-Press failed (0x02ff: PTP I/O Error)
> 20.427397 gp_camera_capture [gphoto2-camera.c:1340](0): 'camera->functions->capture (camera, type, path, context)' failed: -7
And that hangs for 20 seconds.

Hard to say.

Can you try attached patch?

Ciao, Marcus

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Gphoto-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

xx.pat (1K) Download Attachment