All of lore.kernel.org
 help / color / mirror / Atom feed
* MTP - Media Transfer Protocol support
@ 2005-10-06  8:08 Freaky
  2005-10-06  8:30 ` Eric Piel
  2005-10-06  9:28 ` Oliver Neukum
  0 siblings, 2 replies; 7+ messages in thread
From: Freaky @ 2005-10-06  8:08 UTC (permalink / raw)
  To: linux-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: MTP - Media Transfer Protocol support
  2005-10-06  8:08 MTP - Media Transfer Protocol support Freaky
@ 2005-10-06  8:30 ` Eric Piel
  2005-10-06  8:42   ` Bernd Petrovitsch
  2005-10-06  9:33   ` Oliver Neukum
  2005-10-06  9:28 ` Oliver Neukum
  1 sibling, 2 replies; 7+ messages in thread
From: Eric Piel @ 2005-10-06  8:30 UTC (permalink / raw)
  To: Freaky; +Cc: linux-kernel

10/06/2005 10:08 AM, Freaky wrote/a écrit:
> Hey there,
> 
:
:
> 
> 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!


> 
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: MTP - Media Transfer Protocol support
  2005-10-06  8:30 ` Eric Piel
@ 2005-10-06  8:42   ` Bernd Petrovitsch
  2005-10-06  9:33   ` Oliver Neukum
  1 sibling, 0 replies; 7+ messages in thread
From: Bernd Petrovitsch @ 2005-10-06  8:42 UTC (permalink / raw)
  To: Eric Piel; +Cc: Freaky, linux-kernel

On Thu, 2005-10-06 at 10:30 +0200, Eric Piel wrote:
[...]
> 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
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: MTP - Media Transfer Protocol support
  2005-10-06  8:08 MTP - Media Transfer Protocol support Freaky
  2005-10-06  8:30 ` Eric Piel
@ 2005-10-06  9:28 ` Oliver Neukum
  2005-10-06 11:02   ` Freaky
  1 sibling, 1 reply; 7+ messages in thread
From: Oliver Neukum @ 2005-10-06  9:28 UTC (permalink / raw)
  To: Freaky, linux-usb-devel; +Cc: linux-kernel

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

> 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:
linux-usb-devel@lists.sourceforge.net

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: MTP - Media Transfer Protocol support
  2005-10-06  8:30 ` Eric Piel
  2005-10-06  8:42   ` Bernd Petrovitsch
@ 2005-10-06  9:33   ` Oliver Neukum
  1 sibling, 0 replies; 7+ messages in thread
From: Oliver Neukum @ 2005-10-06  9:33 UTC (permalink / raw)
  To: Eric Piel, linux-usb-devel; +Cc: Freaky, linux-kernel

Am Donnerstag, 6. Oktober 2005 10:30 schrieb Eric Piel:

> 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

Judging by this document your best bet is to enhance gphoto2 which is using
libusb

http://www.gphoto.org

	Regards
		Oliver

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: MTP - Media Transfer Protocol support
  2005-10-06  9:28 ` Oliver Neukum
@ 2005-10-06 11:02   ` Freaky
  2005-10-06 18:31     ` [linux-usb-devel] " Greg KH
  0 siblings, 1 reply; 7+ messages in thread
From: Freaky @ 2005-10-06 11:02 UTC (permalink / raw)
  To: Oliver Neukum; +Cc: linux-usb-devel, linux-kernel

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.

On Thu, October 6, 2005 11:28, Oliver Neukum said:
> Am Donnerstag, 6. Oktober 2005 10:08 schrieb Freaky:
>
>> 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:
> linux-usb-devel@lists.sourceforge.net
>
> 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
>
>


-- 
Freaky
------------------------------------------------------
http://www.gnu.org/philosophy/no-word-attachments.html
http://www.gnu.org/philosophy/can-you-trust.html
------------------------------------------------------


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [linux-usb-devel] Re: MTP - Media Transfer Protocol support
  2005-10-06 11:02   ` Freaky
@ 2005-10-06 18:31     ` Greg KH
  0 siblings, 0 replies; 7+ messages in thread
From: Greg KH @ 2005-10-06 18:31 UTC (permalink / raw)
  To: Freaky; +Cc: Oliver Neukum, linux-usb-devel, linux-kernel

On Thu, Oct 06, 2005 at 01:02:19PM +0200, Freaky wrote:
> 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-10-06 18:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-06  8:08 MTP - Media Transfer Protocol support Freaky
2005-10-06  8:30 ` Eric Piel
2005-10-06  8:42   ` Bernd Petrovitsch
2005-10-06  9:33   ` Oliver Neukum
2005-10-06  9:28 ` Oliver Neukum
2005-10-06 11:02   ` Freaky
2005-10-06 18:31     ` [linux-usb-devel] " Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.