• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

libMTP Port and Implementation

Started by kim, 2007.08.30, 11:14:46

Previous topic - Next topic

kim


Saijin_Naib

#1
I have been discussing this issue on the eComStation newsportal, and here is some further information from that discussion.

Its not an application I seek (although an application that communicates over MTP to devices is most certainly welcome as well), I simply seek the integration of MTP/PTP, two common and up-coming device communication protocols into the operating system and WPS so that people can use whatever hardware they wish freely. At the least, I would say that it should be an option upon system install to select whether you would like libMTP/PTP support. I would say this belongs on the page with the drivers for USB/ACPI/VGA/IDE/PCMCIA or under the extra features or experimental features menus on the software install page.

I seek to port the libPTP/MTP binaries into eCS in such a way as their functioning is transparent to the end user. Ideally, as a system driver (like USB or other filesystem support) so that when said MTP/PTP devices are attatched, they show up in the drives object, or possibly mounted as a device on the WPS desktop. Include a tabbed journal for the libMTP/PTP implementation (possibly in the eCS kernel object? or is that too crowded already?) that would have all relevant settings and options for this driver, such as mounting behavior, etc. This way the user has control over how the devices are handled. Perhaps, if the user attatches a PTP camera, you could set up the driver so upon PTP attatch, cameraderie is launched. Something along those lines?

Saijin_Naib

Okay, its small, but I want to get the ball rolling a little. So I have added a little cash to the pot. If anyone has any ideas/suggestions, Id love to hear them. Also, if possible, I would like to be as involved in the porting/creation process as possible, so yeah. :P

Saijin_Naib

Thoughts or suggestions? Anyone? I would like eCS to have MTP/PTP support on the system level, I think its a worthy cause. Admittedly, I know little about the OS/2 operating system and porting/programming, so I am really interested in what people have to say.

Saijin_Naib

Well, it would appear that I am alone in my "need" for proper syslevel MTP/PTP support in eCS. I will try and fund the project further, but Im probably just throwing cash down a well.

Saijin_Naib

Request to moderator to remove this bounty and place my funds somewhere they can be used, maybe for the eComStation codec bounty? Or for general os2world use?

This bounty seems to have no interest, and I do not have enough cash at present to provide more funding and the money is wasted for this bounty.

Thanks!

kim

Well, I've been following this thread with some interest; so before making any changes to the bounty I would like to ask if you know what the current status of the libMTP on other OS? Another thought would be if this bounty could be connected to other bounties or projects as well?

Saijin_Naib

#7
Well, libMTP is doing pretty well on other OS. It has a great range of compatible devices, most of all which function fully. The Zune (why I started this bounty, I am enamored with the Zune GUI and sound quality, its exceptional, please use one if you have yet to do so) is not fully supported yet, and they need more help to get that, but most Creative and Cowon and iRiver devices work, greatly expanding the range of devices one can own and operate with eCS and Linux or OSX. My problem is that I like the new range of devices coming out, but most, if not all, are MTP, because of any number of reasons, most probably because its more safe/secure than UMS, it allows for deeper device interactions, and it comes with a kit so the developers dont need to make their own drivers and stuff for the device, saving them great work and cost.
------------------------------------------------------------

Device list:
Archos   104
   
Archos   504
   
Archos   704 Movile Dvr
   
Archos   GminiXS100
   
Archos   XS202
   
Cowon   iAudio 7 (MTP mode)
   
Cowon   iAudio D2 (MTP mode)
   
Cowon   iAudio U3 (MTP mode)
   
Creative Technology   Dell DJ
   
Creative Technology   Dell Pocket DJ
   
Creative Technology   Portable Media Center
   
Creative Technology   Zen 8GB
   
Creative Technology   Zen Micro
   
Creative Technology   Zen MicroPhoto
   
Creative Technology   Zen Sleek
   
Creative Technology   Zen Sleek Photo
   
Creative Technology   Zen Touch
   
Creative Technology   Zen V
   
Creative Technology   Zen V 2GB
   
Creative Technology   Zen V Plus
   
Creative Technology   Zen Vision
   
Creative Technology   Zen Vision W
   
Creative Technology   Zen Vision:M
   
Creative Technology   Zen Vision:M (DVP-HD0004)
   
Creative Technology   Zen Xtra
   
Dell   DJ Itty
   
Dunlop   MP3 player 1GB
   
EGOMAN   MD223AFD
   
Insignia   NS-DV45
   
Insignia   Pilot 4GB
   
Insignia   Sport Player
   
Intel   Bandon Portable Media Center
   
iRiver   Clix
   
iRiver   Clix2
   
iRiver   H10
   
iRiver   H10 20GB
   
iRiver   iFP-880
   
iRiver   N12
   
iRiver   Portable Media Center
   
iRiver   Portable Media Center
   
iRiver   T10
   
iRiver   T10
   
iRiver   T10 2GB
   
iRiver   T20
   
iRiver   T20
   
iRiver   T20 FM
   
iRiver   T30
   
iRiver   T60
   
iRiver   U10
   
iRiver   X20
   
JVC   Alneo XA-HD500
   
Logik   LOG DAX MP3 and DAB Player
   
Microsoft   Zune
   
Nokia   3110c Mobile Phone
   
Nokia   5300 Mobile Phone
   
Nokia   N73 Mobile Phone
   
Nokia   N75 Mobile Phone
   
Nokia   N80 Internet Edition (Media Player)
   
Nokia   N95 Mobile Phone
   
NormSoft, Inc.   Pocket Tunes
   
NTT DoCoMo   FOMA F903iX HIGH-SPEED
   
Palm Handspring   Pocket Tunes
   
Palm Handspring   Pocket Tunes 4
   
Philips   GoGear Audio
   
Philips   GoGear SA9200
   
Philips   HDD085/00 & HDD082/17
   
Philips   HDD1630/17
   
Philips   HDD6320
   
Philips   HDD6320/00 & HDD6330/17
   
Philips   PSA235
   
Philips   PSA610
   
Philips   SA1115/55
   
Philips   SA6014/SA6015/SA6024/SA6025/SA6044/SA604
   
Philips   Shoqbox
   
Samsung   Juke (SCH-U470)
   
Samsung   Samsung U600 Mobile Phone
   
Samsung   X830 Mobile Phone
   
Samsung   YH-820
   
Samsung   YH-920
   
Samsung   YH-925(-GS)
   
Samsung   YH-925GS
   
Samsung   YH-999 Portable Media Center
   
Samsung   YH-J70J
   
Samsung   YP-9000
   
Samsung   YP-F2J
   
Samsung   YP-K3
   
Samsung   YP-K5
   
Samsung   YP-P2
   
Samsung   YP-T7J
   
Samsung   YP-T9
   
Samsung   YP-U2J (YP-U2JXB/XAA)
   
Samsung   YP-U3
   
Samsung   YP-Z5
   
Samsung   YP-Z5 2GB
   
SanDisk   Sansa c150
   
SanDisk   Sansa c250
   
SanDisk   Sansa Clip
   
SanDisk   Sansa Connect
   
SanDisk   Sansa e200
   
SanDisk   Sansa e250
   
SanDisk   Sansa e260
   
SanDisk   Sansa e280
   
SanDisk   Sansa Express
   
SanDisk   Sansa m240
   
SanDisk   Sansa m240
   
SanDisk   Sansa View
   
Sirius   Stiletto
   
Thomson   EM28 Series
   
Thomson / RCA   Opal / Lycra MC4002
   
Toshiba   Gigabeat
   
Toshiba   Gigabeat MEGF-40
   
Toshiba   Gigabeat P10
   
Toshiba   Gigabeat P20
   
Toshiba   Gigabeat S
   
Toshiba   Gigabeat U
   
Toshiba   Gigabeat V30
   
TrekStor   i.Beat Sweez GM
   
TrekStor   Vibez 8/12GB

------------------------------------------------------------
Without a proper MTP/PTP driver or program, ALL of those devices could not be used with eCS, and I see that as a great stumbling block in the progress and attractiveness of eCS. Also for me, a great limitation in usefullness.
------------------------------------------------------------

Programs based on libMTP:

XNJB
XNJB is a Cocoa graphical user interface for Mac OS X for the Creative Nomad range of portable MP3 players and newer MTP players. It uses libnjb and libmtp for low-level device communication.
Website http://www.wentnet.com/projects/xnjb/

Gnomad2
Gnomad2 is a GTK+ music manager and swiss army knife for the Creative Labs NOMAD and Zen range plus the Dell DJ devices using the Portable Digital Entertainment (PDE) protocol. It was created by Linus Walleij on a rainy day and has evolved a bit since.
Website http://gnomad2.sourceforge.net/

AmaroK
AmaroK is a full featured music player built for KDE. In addition to managing all manner of audio files, Amarok can transfer files to Apple ipods (libgpod), iRiver ifp devices (libifp), mtp devices (libmtp), njb devices (libnjb), and generic mass storage devices.
Website http://amarok.kde.org/

MTPSync
MTPSync is bais GTK app used to syncronize files/music with a MTP device.
Website http://www.adebenham.com/mtpsync/

MTPdude
Not compiling against recent libmtp releases as of 1.3
MTPDude is a minimalistic application for the use of the libmtp which allows to access new MTP-Based Multimedia devices.
Website http://sourceforge.net/projects/mtpdude

Pulp
Pulp is a Qt4-based media player that allows for seamless playback and conversion between various audio/video formats. Pulp is runnable on WindowsXP, OS X (PPC), and Linux (x86) platforms. Additionally, Pulp uses libnjb, libgpod and libmtp allowing for the syncing of playlists on external media devices.
Website http://pulp.sourceforge.net

Rhythmbox
Rhythmbox is an integrated music management application, originally inspired by Apple's iTunes. It is free software, designed to work well under the GNOME Desktop, and based on the powerful GStreamer media framework.
Website http://www.gnome.org/projects/rhythmbox/

MTPFS
MTPfs is a FUSE filesystem that supports reading and writing from any MTP device
Website http://www.adebenham.com/mtpfs/

Ruby Wrapper
A ruby wrapper for the libmtp library which implements the Media Transfer Protocol
Website http://rubyforge.org/projects/libmtp/

pylibmtp
A python wrapper for the libmtp library which implements the Media Transfer Protocol
Website http://launchpad.net/pylibmtp

(all info courtesey of libMTP project page)


nickk

Check the mtpsync tool on hobbes.

Saijin_Naib

Awesome :) Will do later tonight. The only MTP device I have (working) at the moment is my RCA lyra hc308. I have a Rio Karma and a Rio CE2100, but neither have functional drives to test them with.

How did you get it working? Did you fork from libMTP or something?

Saijin_Naib

Tested it out with my RCA Lyra HC308, and sent you an email.

Saijin_Naib

Excellent, already working pretty well :)

Saijin_Naib

Emailed the libMTP people, hopefully mtp-sync will now be added as an official downstream option for libMTP. I will be contacting nickk to see whats new with development either this night or tomorrow.

Saijin_Naib

Nickk has dropped the project, and this bounty is now dead.