maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   USB Mass Storage Mode not working anymore (no select popup) (https://talk.maemo.org/showthread.php?t=86606)

EnricoL 2012-10-16 16:49

Re: USB Mass Storage Mode not working anymore (no select popup)
 
Hello,

to conclude the issue here is what I have done:

-created two scripts containing
usr/sbin/osso-usb-mass-storage-enable.sh /dev/mmcblk1p1
AND usr/sbin/osso-usb-mass-storage-disable.sh
-created two desktop links with nice icons :)

upon connecting USB cable I press one icon, for removal the other.

So long,
Enrico

mrbee 2013-03-31 18:02

Re: USB Mass Storage Mode not working anymore (no select popup)
 
Hello I am having d same problem Enricol had but quite unlike him I am a newbie with N900, my N900 is no longer able to connect via USB in mass storage and PC Suite mode since yesterday. When connecting the USB cable I only noticed the charging action, no popup to choose the mass storage mode or PC suite. I have also tried different usb cable no solution. Please is there anything i should do to solve this crucial problem?

Copernicus 2013-03-31 20:30

Re: USB Mass Storage Mode not working anymore (no select popup)
 
Quote:

Originally Posted by mrbee (Post 1333244)
Hello I am having d same problem Enricol had but quite unlike him I am a newbie with N900, my N900 is no longer able to connect via USB in mass storage and PC Suite mode since yesterday. When connecting the USB cable I only noticed the charging action, no popup to choose the mass storage mode or PC suite. I have also tried different usb cable no solution.

It is possible that you are facing the dreaded USB port problem (although the fact that you can still charge is good).

Enricol's problem was due to the software he'd installed on his machine; would you happen to know the version of the OS you are using? In particular, have you replaced the kernel or performed any other upgrades that may mess with the operating system?

Alecsandru 2013-04-13 20:17

Re: USB Mass Storage Mode not working anymore (no select popup)
 
any fix on this ?,i'm facing this problem also ,the reflash can't be done now , usb it's working in backupmenu , it's a software related problem , not hardware , any hints?

Estel 2013-04-14 02:42

Re: USB Mass Storage Mode not working anymore (no select popup)
 
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

explit 2013-04-20 19:19

Re: USB Mass Storage Mode not working anymore (no select popup)
 
Quote:

Originally Posted by EnricoL (Post 1281332)
Hello,

to conclude the issue here is what I have done:

-created two scripts containing
usr/sbin/osso-usb-mass-storage-enable.sh /dev/mmcblk1p1
AND usr/sbin/osso-usb-mass-storage-disable.sh
-created two desktop links with nice icons :)

upon connecting USB cable I press one icon, for removal the other.

So long,
Enrico

Hello.

Could You please post your .desktop files, that you created ?

Thanks


All times are GMT. The time now is 11:51.

vBulletin® Version 3.8.8