Hi All:
First of all, thanks to all for your work. I'm a newbie on Linux embedded and a basic user on linux. I have deep knowledge on windows because of my work, but i really love open source concept (when it's well applied, not only to reuse code and reduce project costs to create private code)
My case is the following, i got a set-top-box based on a linux kernel which almost use open source for several parts of the code (published) and other parts are propietary (not published). The full source code is not available, so i think that this can be a problem, but we have now telnet access to device (not provided by default).
My question is the following, this device when plugged to the laptop/pc through USB it present's itself as a MTP device... but i donīt like it at all, maybe because implementation, when listing a directory, for example, it drops other operations. For example, when i copy a file, i just canīt list a folder because current copy operation aborts... It's very annoying thing.
The case is that i was wondering if there's some way to change the behaviour of the device when plugged into the USB. I want to use it as a Mass Storage Class (UMS) device, just like a external disk not using MTP !
The concept is very simple, but i donīt know where to start doing my job. I've seen on logs that it's using (i'm just guessing, not pretty sure) gadgetfs-mtp. I've been doing some google search but i'm completely lost, maybe because i'm not a experienced linux user or maybe because is not day-to-day task for everybody.
I reached to
http://www.linux-usb.org/gadget/ but i canīt find how to change the behaviour from MTP to MSC/UMS.
The line found at log isnīt pretty much descriptive (for me):
gadgetfs-mtp: USB Gadget filesystem, MTP version, version 2007 July 23
[...]
gadgetfs-mtp: bound to net2272 driver
Can anybody help me? Have anybody experience publishing MTP or MSC/UMS Devices?
Thanks in advance to everybody for reply and help!!!