Skip to contentSkip to conversation

MTP - Media Transfer Protocol support

DISCUSSION Freaky 5 participants 7 messages Oct 6, 2005

lore
Share & tools
lore

Freaky

author
#0 lore raw

Hey there,

I don't know if this is the right place, but I would like to inquire on the status of MTP support in the kernel.

MTP is a new protocol by Microsoft if I'm not mistaken. It stands for Media Transfer Protocol. It's going to replace the mass storage support on a lot of new MP3 players and from what I've seen, also on other mobile devices like phones and camera's.

MTP, from what I've seen so far, has 2 folders at the moment (atleast on my MP3 device / iRiver T10). Music and Data. Music can only be written by software like Media Player 10, because it has to do with DRM. Data however can be written as a filesystem. The latter is what I would like support for (I don't care about DRM).

Microsoft appearantly publishes the specifications, unfortunately for most of us it's Microsoft word format, in an executable. Would convert this for you, but I don't know how legal that is.

http://www.microsoft.com/downloads/details.aspx?FamilyID=fed98ca6-ca7f-4e60-b88c-c5fce88f3eea&displaylang=en

Sorry if this is the wrong place to ask. But I figured it needs kernel support first, because the USB device isn't recognized at all. MTP has a general USB interface like mass storage from what I understand, so we'll need drivers for that first I think.

For those interested, PLX appearantly has written something to support MTP on (some?) of their chips for phones. Haven't been able to find the software so far.
http://www.plxtech.com/products/exp_apps/files/ExApps18_MobilePhone.pdf

As always, all you guys do is really appreciated. Keep up the good work.

TIA

Ferry

#1 lore raw
Quoted 2 lines · Freaky wrote/

Hey there,

:
:

Quoted 2 lines

MTP, from what I've seen so far, has 2 folders at the moment (atleast on my MP3 device / iRiver T10). Music and Data. Music can only be written by software like Media Player 10, because it has to do with DRM. Data however can be written as a filesystem. The latter is what I would like support for (I don't care about DRM).

So they've published the spec a week ago and you already have a device using it? Blasing fast!

Quoted 5 lines

Microsoft appearantly publishes the specifications, unfortunately for most of us it's Microsoft word format, in an executable. Would convert this for you, but I don't know how legal that is.

http://www.microsoft.com/downloads/details.aspx?FamilyID=fed98ca6-ca7f-4e60-b88c-c5fce88f3eea&displaylang=en

Did it, nothing to agree or to sign. FWIW, the document converted to PDF, only with opensource software, is available here (supprisingly, inside the document it's written that it's a draft):
http://pieleric.free.fr/MTP_Enhanced.pdf

Eric

#2 lore raw

On Thu, 2005-10-06 at 10:30 +0200, Eric Piel wrote:
[...]

Quoted 2 lines

So they've published the spec a week ago and you already have a device using it? Blasing fast!

If the spec documents just the already implemented behaviour, this is easy.

SCNR,
Bernd

Signature · 3 lines
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services
#4 lore raw
In reply to Freaky

Am Donnerstag, 6. Oktober 2005 10:08 schrieb Freaky:

Quoted 4 lines

Sorry if this is the wrong place to ask. But I figured it needs kernel support first, because the USB device isn't recognized at all. MTP has a general USB interface like mass storage from what I understand, so we'll need drivers for that first I think.

There is an USB list:
[email protected]

If you want to support this as a true filesystem with permissions, you will need a kernel driver. If not, you can access the device by libusb.

What do you mean by "not recognised at all"? Does lsusb show it?

Regards
Oliver

author
#5 lore raw

Can't check now, but what I mean is that syslog will only give one line, that an USB device is inserted. Nothing more. I can find the device in /sys/usb... so the system sees it, it just doesn't know what to do with it.

Will checkup on libusb, I'm not a programmer though. Know a little C++ syntax, but no API's and this hardware stuff is way beyond me for now.

Can get you the USB device ID's and such if you would like those.

Quoted 20 lines · Oliver Neukum

Am Donnerstag, 6. Oktober 2005 10:08 schrieb Freaky:

Quoted 4 lines

Sorry if this is the wrong place to ask. But I figured it needs kernel support first, because the USB device isn't recognized at all. MTP has a general USB interface like mass storage from what I understand, so we'll need drivers for that first I think.

There is an USB list:
[email protected]

If you want to support this as a true filesystem with permissions, you will need a kernel driver. If not, you can access the device by libusb.

What do you mean by "not recognised at all"? Does lsusb show it?

Regards
Oliver

Signature · 5 lines
Freaky
------------------------------------------------------
http://www.gnu.org/philosophy/no-word-attachments.html
http://www.gnu.org/philosophy/can-you-trust.html
------------------------------------------------------
#6 lore raw
Quoted 4 lines · Freaky

Can't check now, but what I mean is that syslog will only give one line, that an USB device is inserted. Nothing more. I can find the device in /sys/usb... so the system sees it, it just doesn't know what to do with it.

There is no such directory as "/sys/usb", sorry.

greg k-h