LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices



Reply
 
Search this Thread
Old 09-04-2012, 08:34 AM   #1
thehadar
LQ Newbie
 
Registered: Aug 2011
Posts: 18

Rep: Reputation: Disabled
How to support MTP-Responder (Media Transfer Protocol) on an embedded linux?


Hey guys,

I would like to set up my embedded-Linux to be MTP-Responder.

I found only one implementation at Meego (http://wiki.meego.com/Buteo/MTP).
It looks old and requires a lot of work.

Is there something better available?

Tnx!
Hadar
 
Old 09-05-2012, 07:28 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,172

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Does your embedded device have a slave or OTG USB port?
Is this what you are looking for?

http://www.linux-usb.org/gadget/
http://os1a.cs.columbia.edu/lxr/sour...gadget/f_mtp.c
 
Old 09-25-2012, 07:50 AM   #3
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,214

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
i would look into the source of mtpfs.
 
Old 09-27-2012, 07:22 AM   #4
thehadar
LQ Newbie
 
Registered: Aug 2011
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thanks!

I decided to work with ptp-gadget (http://git.denx.de/?p=ptp-gadget.git;a=summary).
It's quite good. I'm working on adding write capabilities to it (currently it can only copy from my device to the PC but not from PC to my device). If my code will be good enough, I will publish it.
Thanks for your help guys,
Hadar
 
Old 09-27-2012, 08:11 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,172

Rep: Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784Reputation: 784
Thanks for the update.
 
Old 03-15-2013, 01:20 AM   #6
seustar
LQ Newbie
 
Registered: Mar 2013
Posts: 1

Rep: Reputation: Disabled
hi,have you finished the mtp work
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MSC (UMS) instead MTP on linux embedded device. Linux-USB Gadget / GadgetFS rclemente Linux - Embedded & Single-board computer 2 08-28-2009 04:34 AM
MTP Support For Linux...? carlosinfl Linux - Hardware 3 06-26-2008 11:53 AM
Music transfer software for MP3 players using Media Transfer Protocol commandante Linux - Software 2 06-27-2007 12:09 AM
MTP - Media Transfer Protocol. Any word on it? TravisOSF Linux - Hardware 2 01-21-2007 01:51 PM


All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration