As you may know, I'm trying to port CHDK PTP functions to ML.
Background:
There were two efforts of reverse engineering for PTP communications:
- from Trammell Hudson (search for PTP in this mailing list)
- from Mweerden:
http://www.mweerden.net/chdk_ptp.htmlAn interesting discussion between Trammell and Mweerden regarding this:
http://chdk.setepontos.com/index.php?topic=4338.0;wap2
And here are my attempts to find some code equivalence between CHDK and ML PTP implementations:
http://chdk.setepontos.com/index.php?topic=3290.msg62079#msg62079
Short term goal: to be able to upload autoexec.bin via USB (in order to protect the SD card slot from mechanical wear).
First step of progress: I'm able to read camera memory via PTP, with ptpcam:
alex@karmic:~/src/ml/my109/550d/ptp/libptp2-1.1.10/src$ ./ptpcam --chdk
<conn> m 0x350080-0x35018000350080 c8 24 00 00 92 32 b6 5d 5b 4d 41 47 49 43 5d 20 |.$...2.][MAGIC] |
00350090 64 65 62 75 67 5f 6c 6f 6f 70 5f 74 61 73 6b 3a |debug_loop_task:|003500a0 31 31 38 30 3a 20 4d 6f 76 52 65 63 53 74 61 74 |1180: MovRecStat|
003500b0 65 3a 20 30 00 00 00 00 00 00 00 00 00 00 00 00 |e: 0............|...