ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
if you are talking about media transfer protocol then i have had success with libusb and libmtp
Yes, I mean Media Transfer Protocol. I know the two libs: libusb/libmtp but i thought they are only used to access USB/MTP devices?
But what I want to do is to create a MTP device, so I thought I have to use a Gadget driver for this. E.g. the usbfs gadget driver takes a Filesystem and provides it as an USB Mass storage device.
I want the same thing, but only with the Media Transfer Protocol.
so you want drag-and-drop functionality from mtp devices. i am not a device driver expert so i will suggest using libmtp to emulate that functionality.
I know the mtpfs, but for my understanding it is used to map the contents of a MTP device in the Userspace Filesystem (FUSE). But what I want to do is to take the contents of my Userspace Filesytem and provide it to e.g. a normal Windows PC.
i have a creative zen vision w that doesnt work with win2k. so instead of paying $400 for windows vista my solution was to download and run knoppix-live-cd.
are you taliking about a specific media player. i think the manufacturer (in my case creative) makes the device drivers so if your using a current version of windows it should work.
i dont have much experience with windows programming (is fuse available for windows ?) if more than one pc consider running samba.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.