Magic Lantern Forum

Developing Magic Lantern => General Development => Topic started by: Dman65 on December 28, 2012, 06:29:04 PM

Title: Protocol for communicating over the USB port
Post by: Dman65 on December 28, 2012, 06:29:04 PM
Hello,

I was wondering if anyone knows where documentation can be found that discusses the protocol the Canon 5D Mark II uses for communicating with a PC for LiveView transmissions and camera control.

I have the SDK, but I would like to be able to access the camera directly over the USB so I can program for devices other than Windows.

Thank You
Title: R: Protocol for communicating over the USB port
Post by: nanomad on December 28, 2012, 08:31:49 PM
It talks via PTP but it also uses custom Canon ptp commands. you can check the ptp stuff under contrib on the repository if you want to have a look at a cross platform implementation
Title: Re: Protocol for communicating over the USB port
Post by: Indy on December 28, 2012, 08:42:38 PM
...and do not forget the Wiki
http://magiclantern.wikia.com/wiki/PTP

indy