initial findings

This commit is contained in:
Antonin Kaplan
2026-02-17 18:52:26 +01:00
parent 9404ede255
commit 44383a2785
3 changed files with 49 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
# Sony-e-mount
My RE findings about sony e-mount
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

12
aperture.md Normal file
View File

@@ -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 |

34
focus.md Normal file
View File

@@ -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
```