View Single Post
Estel's Avatar
Posts: 5,028 | Thanked: 8,613 times | Joined on Mar 2011
#15
Try calling (as root) osso-usb-mass-storage-disable.sh, and/or unloading all approriate modules (and loading them again - things like g_file etc).

As a temporary workaround you may try using this (while connected by usb, physically):

Code:
#!/bin/sh
modprobe -r g_nokia
modprobe -r g_file_storage
sleep 1
modprobe g_file_storage stall=0 luns=2 ro=0 removable
echo /dev/mmcblk0 > /sys/devices/platform/musb_hdrc/gadget/gadget-lun0/file
echo /dev/mmcblk1 > /sys/devices/platform/musb_hdrc/gadget/gadget-lun1/file
It does exactly same thing as backupmenu does, so if it work there, should work inside Maemo, too. Unless something else is occupying modules/luns, in which case either you know what $itte you've installed and remove it, or reflash is a must.

Also, warning about above script - written by hand at nearly 5 AM o'clock, so watch for typos, and if something won't work, you *may* actually need to use brain and read error messages + act accordingly to tweak something in above commands.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!

Last edited by Estel; 2013-04-14 at 02:48.
 

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