Re: Canon EOS R - gphoto --get-config

Marcus Meissner <[email protected]>
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <[email protected]>
Hi Michael,

This was helpful, and I found a bug in one of our decoders for aperture and iso.

I have added a fix in libgphoto2 master, which should decode aperture and iso now.

Ciao, Marcus

_______________________________________________
Gphoto-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-user
xx.pat (text/plain, 536 B)
diff --git a/camlibs/ptp2/ptp-pack.c b/camlibs/ptp2/ptp-pack.c
index 9cb13404c..f5ee4e592 100644
--- a/camlibs/ptp2/ptp-pack.c
+++ b/camlibs/ptp2/ptp-pack.c
@@ -2525,7 +2528,8 @@ ptp_unpack_CANON_changes (PTPParams *params, unsigned char* data, int datasize,
 				/* hack to differ between older EOS and EOS 200D newer */
 				switch (olcver) {
 				case 0xf:
-					curoff += 7;	/* f (200D), 8 (M10) */
+				case 0x11:
+					curoff += 7;	/* f (200D), 8 (M10) ???, 11 is EOS R */
 					break;
 				case 0x7:
 				case 0x8: /* EOS 70D */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.