LinuxQuestions.org
Help answer threads with 0 replies.
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 08-08-2014, 11:55 AM   #1
jminter
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Rep: Reputation: Disabled
Trying to support USB pass-through MTP connectivity on my embedded linux device


I have an embedded linux device I am developing. My device has both slave ports and a host port. I want to be able to pass-through devices(slaves) connected to my linux device via usb to the connected host(PC).My device will be presented to the host has an MTP device and will only present(mount?) to the host the filesystem on the device connected to my linux device and nothing else. I've been doing my researching on what has been done with MTP so far but haven't found anything that fits my needs. Can anybody point me to MTP software that does something like this or give me pointers on how to develop something with this behavior.
 
Old 08-09-2014, 06:06 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,746

Rep: Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136Reputation: 1136
I don't pretend to completely understand what you're trying to achieve here, but I'm not sure that MTP connectivity will allow the solution to your goal.

Instead, I wanted to share another possibility with you. You could try establishing 'Ethernet-over-USB' connectivity. Linux supports this via the 'usbnet' kernel module.
ihttp://www.linux-usb.org/usbnet/

Ethernet connectivity offers huge advantages over the more limited and primitive USB-based MTP protocol, and you can then leverage other network protocols as required.

There is the USBIP project which 'aims to develop a general USB device sharing system over IP network'.

Here's a good blog about that:

http://blog.bravi.org/?p=866

Putting those two strategies together might help you realise your goals as you've described them.

Good luck.
 
Old 08-11-2014, 12:58 PM   #3
jminter
LQ Newbie
 
Registered: Aug 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thank you so much!
 
  


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
[SOLVED] USB is not a MTP device the_bigbalu Linux - Desktop 1 05-28-2013 03:55 AM
How to support MTP-Responder (Media Transfer Protocol) on an embedded linux? thehadar Linux - Embedded & Single-board computer 5 03-15-2013 01:20 AM
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
Embedded usb software support linux wprs General 2 03-19-2007 03:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:32 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
Open Source Consulting | Domain Registration