Reply
Thread Tools
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#81
Originally Posted by jackburton View Post
Making the changes to /etc/usb-moded/usb-moded.ini should work on the stock kernel as well. I did not enable anything special for this in my config.
OMG. Is my config right?
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#82
Originally Posted by Ancelad View Post
OMG. Is my config right?
I'll do some testing.
 

The Following User Says Thank You to jackburton For This Useful Post:
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#83
Originally Posted by jackburton View Post
I'll do some testing.
It should work:


N950-two-fats-one-usb by brander snaxe, on Flickr

I created two dd'd images and pointed to them in the usb-moded.ini file. Now, these weren't mounted before I connected, so not sure if that's causing you an issue. If *any* of the devices are in use before you try to export, it may fail.

I'm not exporting MyDocs directly in this test, only the dd images.

You may want to check /var/log/syslog for errors.
 
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#84
Hmm... Still doesn't work for me... syslog doesn't contain mount errors. Could you show me your usb-moded.ini?
 
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#85
Originally Posted by Ancelad View Post
My file looks like that. But Windows mounts only one partition.

Code:
[mountpoints]
mount = /dev/mmcblk0p1, /dev/mmcblk0p4

[sync]
nofua = 1

[altmount]
mount = /home/uset/MyDocs, /home/user/BackupMenu
#mount = /home/user/MyDocs

[cdrom]
path = /usr/share/aceso/aceso.iso
timeout = 1
First: you have a typo in config (see above)
Second: afaik Windoze only recognizes/mounts the first partition on a flash pen/sd ... (try with a Linux live CD or VM)
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature

Last edited by peterleinchen; 2013-08-29 at 07:04.
 

The Following User Says Thank You to peterleinchen For This Useful Post:
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#86
Hmm, it's bad... Windows is a total sh*t. Okay, I'll make icons to toggle partitions
 
Posts: 466 | Thanked: 661 times | Joined on Jan 2009
#87
Originally Posted by Ancelad View Post
Hmm... Still doesn't work for me... syslog doesn't contain mount errors. Could you show me your usb-moded.ini?
Remove the space in your mounts line between commas. Either usbmoded or the driver is treating the blank character as a file/device and then your second partition is treated as another argument to the driver's insmod/modprobe and ignoring it.

Do modinfo g_file_storage and you'll see the proper syntax for the driver itself. You'll see what I mean. I inserted a space in my usb-moded.ini and got two disks detected by Windows. The first disk had a partition while the second one was just empty (due to Linux exposing a device with name ' ' to Windows I assume.

Here is how it looks with the space between the arguments to the mounts directive in usb-moded.ini:


N950-space-in-mounts-usb by brander snaxe, on Flickr

Thus, it appears there is a second device and it is the ' ' empty device.

Last edited by jackburton; 2013-08-29 at 11:29. Reason: Adding screenshot
 

The Following User Says Thank You to jackburton For This Useful Post:
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#88
Originally Posted by Ancelad View Post
Hmm, it's bad... Windows is a total sh*t. Okay, I'll make icons to toggle partitions
I've made icon to switch between partitions. It changes it's name according mounted partition.

 
coderus's Avatar
Posts: 6,436 | Thanked: 12,701 times | Joined on Nov 2011 @ Ängelholm, Sweden
#89
@jackburton @juiceme

what about exFAT patches to your kernels?
https://gist.github.com/sourenaraya/6402692
__________________
Telegram | Openrepos | GitHub | Revolut donations
 
Community Council | Posts: 4,920 | Thanked: 12,867 times | Joined on May 2012 @ Southerrn Finland
#90
Originally Posted by coderus View Post
@jackburton @juiceme

what about exFAT patches to your kernels?
https://gist.github.com/sourenaraya/6402692
Seems to be marked unstable by the patch submitter
What are the main advantages? It looks like ExFAT can at least support larger filesize than vfat.
 

The Following User Says Thank You to juiceme For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:36.