From 44383a278504b1d5e56022fe6d9db383d121b14d Mon Sep 17 00:00:00 2001 From: Antonin Kaplan Date: Tue, 17 Feb 2026 18:52:26 +0100 Subject: [PATCH] initial findings --- README.md | 4 +++- aperture.md | 12 ++++++++++++ focus.md | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 aperture.md create mode 100644 focus.md diff --git a/README.md b/README.md index d639b88..fd5d3cd 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # Sony-e-mount -My RE findings about sony e-mount \ No newline at end of file +My RE findings about sony e-mount + +Reverse engineering was done on alpha 5000 and tamron 28-200mm F2.8-5.6 Di III RXD lens diff --git a/aperture.md b/aperture.md new file mode 100644 index 0000000..5d29f01 --- /dev/null +++ b/aperture.md @@ -0,0 +1,12 @@ +# Aperture messages +## Control (from Body to Lens) +Example message, space separated header, payload and checksum: +``` +f02000018503 3f7500001400141c0000020101030002010000002f1516 050255 +``` +| payload byte no. | vales, meaning | +| ---------------- | -------------- | +| 1 | changes when focusing: 1d = AF, 4C = MF, 3F = when no focus is done | +| 4,5 | aperture control range: 1413 for F2.8 -- f417 for F16 | +| 6,7 | same values as 4,5 | +| 12,13 | each oscillate between 00 and 01, so I use them as odd or even counter | diff --git a/focus.md b/focus.md new file mode 100644 index 0000000..2c84b1e --- /dev/null +++ b/focus.md @@ -0,0 +1,34 @@ +# Focus messages +## Control (from Body to Lens) +Sample message: +``` +f01600017904 00001983000066000000410000 d70155 +``` +| Byte | meaning | +| ---- | ------- | +| 4 | auto or manual focus switch: 81 = MF, 83 = AF +| 7 | d6 when in DMF and focusing, else 66 | +| 10 | 80 when autofocus, else 00 | +| 11 | 09 when in DMF and manually focusing, 01 normally, 41 autofocus active | +| ... | ??? | + +## Info (from Lens to Body) +Sample message: +``` +f03000014506 0204db49000010f23ed74bd5000c0000000000007b4a00008a0000000000000019131416141515 cc0655 +``` +| Byte | meaning | range / note | +| ---- | ------- | ----- | +| 1 | limit flags | normal 02, 0A bottom limit, 12 top limit | +| 2 | focus speed?? | | +| 3-4 | focus pos | closest: d74b, furthest: f43e | +| ... | ??? | | + +minpos: +``` +f0 3000 01 47 06 0a 00 d74b 000010f23ed74bd5000c000000000000d24b00408a0000000000000000000000000000d40655 +``` +maxpos: +``` +f0 3000 01 b7 06 12 00 f43e 000010f43ed54bd5000b000000000000f43e00408a0000000000000000000000000000700755 +```