Dear Developers,
I am currently stuck with the following problem: Each capture I take needs 
about 9 Seconds, 6 of these neither the camera nor the software are doing 
anything but wait. I truncated the log to show you where the time is being 
lost, see below. As you can see gphoto2 is waiting twice for an event that 
doesn't happen after all. My question: Can I avoid gphoto waiting for that 
event (e.g. by reducing the timeout for that step to 0.5) as it is not used and 
therefor unnecessary anyway?

Best wishes and thanks a lot
Daniel


0.000899 main                        (2): BITTE IMMER FOLGENDE ZEILE EINFÜGEN 
WENN DEBUG MESSAGES AN DIE MAILINGLISTE GESCHICKT WERDEN:
0.001121 main                        (2): gphoto2 2.5.20
0.001180 main                        (2): gphoto2 wurde mit den folgenden 
Optionen übersetzt:
0.001214 main                        (2):  + gcc (C compiler used)
0.001245 main                        (2):  + popt (mandatory, for handling 
command-line parameters)
0.001275 main                        (2):  + exif (for displaying EXIF 
information)
0.001304 main                        (2):  + no cdk (for accessing 
configuration options)
0.001334 main                        (2):  + no aa (for displaying live 
previews)
0.001363 main                        (2):  + jpeg (for displaying live previews 
in JPEG format)
0.001392 main                        (2):  + no readline (for easy navigation 
in the shell)
0.001430 main                        (2): libgphoto2 2.5.22
0.001464 main                        (2): libgphoto2 wurde mit den folgenden 
Optionen übersetzt:
0.001494 main                        (2):  + all camlibs
0.001523 main                        (2):  + gcc (C compiler used)
0.001552 main                        (2):  + ltdl (for portable loading of 
camlibs)
0.001581 main                        (2):  + EXIF (for special handling of EXIF 
files)
0.001617 main                        (2): libgphoto2_port 0.12.0
0.001651 main                        (2): libgphoto2_port wurde mit den 
folgenden Optionen übersetzt:
0.001682 main                        (2):  + iolibs: disk ptpip serial usb1 
usbdiskdirect usbscsi
0.001712 main                        (2):  + gcc (C compiler used)
0.001741 main                        (2):  + ltdl (for portable loading of 
iolibs)
0.001770 main                        (2):  + USB (libusb1, for USB cameras)
0.001799 main                        (2):  + serial (for serial cameras)
0.001828 main                        (2):  + no resmgr (serial port access and 
locking)
0.001857 main                        (2):  + no ttylock (serial port locking)
0.001886 main                        (2):  + no lockdev (serial port locking)
0.001916 main                        (2): CAMLIBS env var not set, using 
compile-time default instead
0.001945 main                        (2): IOLIBS env var not set, using 
compile-time default instead
0.001974 main                        (2): invoked with following arguments:
0.002003 main                        (2):   --debug
0.002033 main                        (2):   
--debug-logfile=/home/pi/HDD/speedTest.txt
0.002062 main                        (2):   --capture-image


3.563262 gp_port_check_int           (3): Reading 24 = 0x18 bytes from 
interrupt endpoint...
3.713562 gp_port_set_timeout         (2): Setting port timeout to 20000 
milliseconds.
3.713747 camera_wait_for_event       (2): waiting for events timeout 3000 ms
3.713797 gp_port_get_timeout         (2): Current port timeout is 20000 
milliseconds.
3.713813 gp_port_set_timeout         (2): Setting port timeout to 3000 
milliseconds.
3.713833 gp_port_check_int           (3): Reading 24 = 0x18 bytes from 
interrupt endpoint...
6.715597 gp_port_check_int           (3): Reading 24 = 0x18 bytes from 
interrupt endpoint...
9.719013 ptp_usb_event [usb.c:587]   (0): Reading PTP event failed: 
Zeitüberschreitung beim Lesen oder Schreiben des Ports (-10)
9.719172 gp_port_set_timeout         (2): Setting port timeout to 20000 
milliseconds.
9.722093 gp_camera_free              (2): Freeing camera...
9.722174 gp_camera_exit              (2): Exiting camera ('Fuji Fujifilm 
X-T2')...
9.722212 camera_unprepare_capture    (2): Unprepare_capture
_______________________________________________
Gphoto-devel mailing list
Gphoto-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gphoto-devel

Reply via email to