Magic Lantern Forum

Developing Magic Lantern => Reverse Engineering => Topic started by: dorkbydesign on September 29, 2012, 07:36:57 AM

Title: USB, PTP...
Post by: dorkbydesign on September 29, 2012, 07:36:57 AM
Hmm... Do you think we could send raw serial data over USB? If we could, we'd be able to just push the image buffer over it and get 4:2:2 colour which would be bangin'.
Title: Re: USB, PTP...
Post by: nanomad on September 29, 2012, 09:22:39 AM
You can implement a custom PTP message and do pretty much whatever you want, including sending a raw video frame.
Title: Re: USB, PTP...
Post by: ilguercio on October 01, 2012, 02:38:03 AM
So that means data can only be sent OUT of the camera, right?
What about feeding something to the camera?
Or, what can you do with the HDMI port?
Title: Re: USB, PTP...
Post by: nanomad on October 01, 2012, 10:11:41 AM
The ptp protocol is bidirectional but from the USB point of view the camera is the device while the computer is the host.
I've never looked at the HDMI port bug i think it is handled by a separate chip