From b19a0ce177e9e8cc21603e816ee75168fa05f2a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= Date: Fri, 6 Feb 2026 20:31:34 -0500 Subject: [PATCH 1/2] ptp: Added Fujifilm X-E5 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hubert Figuière --- camlibs/ptp2/library.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index fa1d148cc..7d2556e51 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -2735,6 +2735,8 @@ static struct { /* https://github.com/gphoto/libgphoto2/issues/964 */ {"Fuji:Fujifilm X100VI", 0x04cb, 0x0305, 0}, {"Fuji:Fujifilm X-M5", 0x04cb, 0x030c, 0}, + /* No capture support. */ + {"Fuji:Fujifilm X-E5", 0x04cb, 0x0313, 0}, {"Ricoh:Caplio R5 (PTP mode)", 0x05ca, 0x0110, 0}, {"Ricoh:Caplio GX (PTP mode)", 0x05ca, 0x0325, 0}, From a2947b394d12e68417d2ec9758ae4fac97cc26be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= Date: Sat, 7 Feb 2026 00:03:03 -0500 Subject: [PATCH 2/2] ptp: X-M5 capture MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The camera needs be in Tether mode Signed-off-by: Hubert Figuière --- camlibs/ptp2/library.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/camlibs/ptp2/library.c b/camlibs/ptp2/library.c index 7d2556e51..f31d7665c 100644 --- a/camlibs/ptp2/library.c +++ b/camlibs/ptp2/library.c @@ -2734,7 +2734,8 @@ static struct { {"Fuji:Fujifilm GFX100 II", 0x04cb, 0x02fe, PTP_CAP|PTP_CAP_PREVIEW}, /* https://github.com/gphoto/libgphoto2/issues/964 */ {"Fuji:Fujifilm X100VI", 0x04cb, 0x0305, 0}, - {"Fuji:Fujifilm X-M5", 0x04cb, 0x030c, 0}, + /* Capture when camera set in Tether. */ + {"Fuji:Fujifilm X-M5", 0x04cb, 0x030c, PTP_CAP|PTP_CAP_PREVIEW}, /* No capture support. */ {"Fuji:Fujifilm X-E5", 0x04cb, 0x0313, 0},