From affa72c60d261e657e283ce0a32d6460e39a6880 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 2 Sep 2023 11:12:39 +0200 Subject: [PATCH] do not uilock around pcchdcpacity, as this breaks EOS 2000D/1500D for some reason --- camlibs/ptp2/library.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index 1571c9ea2..c6626d2ef 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -5951,11 +5951,15 @@ camera_trigger_canon_eos_capture (Camera *camera, GPContext *context) C_PTP (ptp_canon_eos_getdevicepropdesc (params, PTP_DPC_CANON_EOS_AvailableShots, &dpd)); if (dpd.CurrentValue.u32 < 100) { /* Tell the camera we have enough free space on the PC */ +#if 0 if (!params->uilocked) ptp_canon_eos_setuilock(params); +#endif LOG_ON_PTP_E (ptp_canon_eos_pchddcapacity(params, 0x0fffffff, 0x00001000, 0x00000001)); +#if 0 if (!params->uilocked) ptp_canon_eos_resetuilock(params); +#endif } } }