Access to Both SD-Cards via Mass-Storage-Mode ?


thatgui

Advanced Member
Joined
Apr 2, 2009
Messages
3,048
As there are a lot of devices out in the wild that support more than one drive in Mass-Storage- Mode via USB (like a mp3 player providing internal and external memory as two drives) I wonder if it would be possible on/with the Pandora too.
 
I don't know how android does it, but I have several devices that do this as well, would be neat if we can access internal storeage as well


Sent from my Nexus S 4G using Tapatalk 2
 
Hmmmm. I wonder if you can use:


modprobe g_file_storage file=/media stall=0


My Pandora is packed away atm, but if that works, I could modify the Mass Storage Config Button plugin to include that option


Edit: Hmmm, after reading this (http://www.linux-usb.org/gadget/file_storage.html), I don't think it'll work.


However, it should be doable updating the op_storage.sh, by comma seperating the paths.


http://comments.gmane.org/gmane.linux.usb.general/55382


If somebody wants to remind me at the weekend, I'll update the Mass Storage plugin for the Config Button to allow you to do this
 
Last edited by a moderator:
However, it should be doable updating the op_storage.sh, by comma seperating the paths.


http://comments.gman...b.general/55382
Hmm, doing it as described in the above link ("sudo modprobe g_file_storage file=/media/mmcblk0p1,/media/mmcblk1p1"


gives me


"FATAL: Error inserting g_file_storage (/lib/modules/3.2.26/kernel/drivers/usb/gadget/g_file_storage.ko): Is a directory"


Obviously I'm doing something wrong here (?)
 
Sorry, I don't think it's the /media paths you use, I think it's the /dev/mmcblk* ones. I can't remember now, and my Pandora's packed away ATM.


I might get some time later to have a look at this, however, you probably won't hear from me until Sunday, as I probably won't have internet access until then
 
Last edited by a moderator:
using the devices works .. at least there is no error message, but what to do afterwards ? (thanks for the help btw.)
 
Last edited by a moderator:
using the devices works .. at least there is no error message, but what to do afterwards ? (thanks for the help btw.)
You basically need to follow the op_storage.sh script, hence why I said it was probably worth changing a copy of that, because it does a few other things too.


If that's worked, I'll give it a try later, update the plugin, and post it when I'm able
 
Back
Top