Hi all:
First of all, nice to meet you guys. I am new here BTW. I have a question and hopefully I can get some answers or helpful
feedback here. My question is as below:
===================
I am using a imx6qdl-sabresd board with freescale FW version 3.14.28 and 4.1.15, and my goal is to
establish a connection between the board and the PC Windows OS through PTP protocol.
I know that the board already supports MTP/PTP functions. I however am not sure whether I have to
explicitly install the PTP package in local.conf or not(eg: IMAGE_INSTALL_append += "PTP packagename".
If I do, what is the package name. If PTP is supported or if not but packages is successfully installed to the image,
then how should I get started?
1. on freescale side(device), should I implement a driver code that uses the PTP functions?
2. on Windows side, should I install any driver that can establish the PTP connection to the board?
Does any one have similiar experience? I very appreciate if anyone reply me any helpful feedbacks.Thank
you and have a nice day.
BR
Sean Hsu
Hello Sean Hsu,
There Linux PTP (Precision Time Protocol) packages available in Yocto. You may use the following command to search for these packages.
bitbake -s | grep ptp
You may install any of these packages using the IMAGE_INSTALL_append function on the local.conf file.
I don’t have any detailed information on the functions of these packages but you would need to read the documentation for this project in order to use it.
You’re looking for a connection with Windows, you should look for documentation on how Windows manages the Precision Time Protocol.
Regards,
Hi gusarambula:
Thanks for replying, but the PTP I am talking about is (Picture Transfer Protocol). I know linux supports PTP and MTP as host side, and it can connect to digital camera as device side. Linux is on the initiator side, and device is on the responder side. However, what I need to for linux to act as the responder side and connect to PC as initiator side. I cannot find any references, and I don't know if anyone has done this. So far I know is only Android has this functionality ready that it can connect to PC. Now I need a user space daemon that implements the code on the PTP protocol layer and its connections with USB physical layer. If you have any idea on how to do this, please let me know. Thank your for replying.
BR@
Sean Hsu
Hello Sean Hsu,
Unfortunately I couldn’t find much information regarding the Picture Transfer Protocol. However, on the BSP there is a package called libmtp that it’s an initiator implementation of the Media Transfer Protocol, which I believe it’s also used by Android, maybe it can be of help.
Regards,