Re: Cannot capture image and download with Sony A7R4, libgphoto2 2.5.29

Marcus Meissner <[email protected]> Wed, 20 Apr 2022 15:57:48 +0200
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <YmARXGFE/s/FKzgM@jet>
--6Lj+UoGnmq5ojqF0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi Jude,

Perhaps it also needs the startup 3 second wait we do for the others.

Can you try attached patch or current git?

Ciao, Marcus
On Mon, Apr 18, 2022 at 06:48:20PM -0400, Jude Coelho wrote:
> Hello,
> 
> We are trying to get the Sony A7R4 up and running over at the Internet Archive with our digitization systems, but we are unable to get it to capture-image-and-download on Ubuntu 18.04.6. We are using libgphoto2 2.5.29 because it looks like that's where a previously reported A7R4 bug was fixed, but it is not working for us. Here is a summary of the debug output (full output linked below).
> 
> 0.000208 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
> 0.000282 main                        (2): gphoto2 2.5.28
> 0.000299 main                        (2): gphoto2 has been compiled with the following options:
> 0.000309 main                        (2):  + gcc (C compiler used)
> 0.000318 main                        (2):  + popt (mandatory, for handling command-line parameters)
> 0.000327 main                        (2):  + exif (for displaying EXIF information)
> 0.000335 main                        (2):  + cdk (for accessing configuration options)
> 0.000344 main                        (2):  + aa (for displaying live previews)
> 0.000353 main                        (2):  + jpeg (for displaying live previews in JPEG format)
> 0.000361 main                        (2):  + readline (for easy navigation in the shell)
> 0.000372 main                        (2): libgphoto2 2.5.29
> 0.000383 main                        (2): libgphoto2 has been compiled with the following options:
> 0.000395 main                        (2):  + standard camlib set (ax203 canon digigr8 dimagev directory docupen jl2005a jl2005c kodak_dc240 lumix mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801)
> 0.000405 main                        (2):  + gcc (C compiler used)
> 0.000413 main                        (2):  + no ltdl (for portable loading of camlibs)
> 0.000422 main                        (2):  + EXIF (for special handling of EXIF files)
> 0.000432 main                        (2): libgphoto2_port 0.12.0
> 0.000444 main                        (2): libgphoto2_port has been compiled with the following options:
> 0.000453 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
> 0.000462 main                        (2):  + gcc (C compiler used)
> 0.000471 main                        (2):  + no ltdl (for portable loading of iolibs)
> 0.000479 main                        (2):  + EXIF (for vusb)
> 0.000485 main                        (2):  + USB (libusb1, for USB cameras)
> 0.000491 main                        (2):  + serial (for serial cameras)
> 0.000496 main                        (2):  + no resmgr (serial port access and locking)
> 0.000502 main                        (2):  + no ttylock (serial port locking)
> 0.000508 main                        (2):  + no lockdev (serial port locking)
> 0.000514 main                        (2): CAMLIBS env var not set, using compile-time default instead
> 0.000520 main                        (2): IOLIBS env var not set, using compile-time default instead
> 0.000526 main                        (2): invoked with following arguments:
> 0.000532 main                        (2):   --capture-image-and-download
> 0.000538 main                        (2):   --debug
> 0.000546 main                        (2):   --debug-logfile
> 0.000555 main                        (2):   a7r4test.txt
> 0.000563 main                        (2):   --force-overwrite
> 0.000571 main                        (2):   --filename
> 0.000580 main                        (2):   a7r4test.jpg
> 
> The full debug output can be viewed here: https://archive.org/download/a7r4test/a7r4test.txt
> 
> Thanks in advance for any assistance.
> 
> Jude Coelho
> Software Manager
> Internet Archive
> 
> _______________________________________________
> Gphoto-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gphoto-user

--6Lj+UoGnmq5ojqF0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="xx.pat"

commit 758450afc4017e3c7594fed4733479f6ebe698a8
Author: Marcus Meissner <[email protected]>
Date:   Wed Apr 20 15:57:00 2022 +0200

    added ILCE-7RM4A also to wait list

diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c
index 5f1cb3349..05f21de41 100644
--- a/camlibs/ptp2/library.c
+++ b/camlibs/ptp2/library.c
@@ -4780,6 +4780,7 @@ camera_sony_capture (Camera *camera, CameraCaptureType type, CameraFilePath *pat
 		!strcmp(params->deviceinfo.Model, "ZV-1")		||
 		!strcmp(params->deviceinfo.Model, "DSC-RX100M7")	||
 		!strcmp(params->deviceinfo.Model, "ILCE-7RM4")		||
+		!strcmp(params->deviceinfo.Model, "ILCE-7RM4A")		||
 		!strcmp(params->deviceinfo.Model, "DSC-RX0M2")		||
 		!strcmp(params->deviceinfo.Model, "ILCE-7C")
 	)) {

--6Lj+UoGnmq5ojqF0
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--6Lj+UoGnmq5ojqF0
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Gphoto-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-user

--6Lj+UoGnmq5ojqF0--